joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415540
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ebx, ecx
push ebp
call fcn.0041956e
add esp, 4
mov dword [ebx + 0xcc], eax
test eax, eax
jne 0x415567
push str.CSoundBuffer:CreateStreamSoundBuffer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [esp + 0x10]
mov ecx, ebp
mov eax, ecx
push edi
mov edi, dword [ebx + 0xcc]
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xcc]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx]
xor esi, esi
pop edi
cmp eax, esi
jne 0x4155f4
mov ecx, ebx
call fcn.00401700
mov ecx, dword [ebx + 0xd4]
shl eax, 5
cmp ecx, eax
mov dword [ebx + 0xe0], eax
jae 0x4155c3
mov ecx, ebx
call fcn.004148a0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
push eax
call fcn.0041956e
add esp, 4
mov ecx, ebx
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xc8], esi
push esi
mov dword [ebx + 0xd8], esi
mov dword [ebx + 0xc0], esi
call fcn.004151a0
mov dword [ebx + 0xa0], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret 8

Function at 0x416740
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4361c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor esi, esi
lea ecx, [ebx + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], ecx
call fcn.00412310
mov eax, dword [esp + 0x30]
cmp eax, esi
jne 0x41677d
mov eax, 0x437768
push esi
push 0x80
push 3
push esi
push 1
push DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
push edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
push ebp
call fcn.0041956e
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.00416ad0
test eax, eax
push esi
je 0x41681a
call fcn.00418e78
mov ecx, dword [esp + 0x14]
add esp, 4
call fcn.00412320
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x416813
mov al, byte [ecx - 1]
test al, al
je 0x416809
cmp al, 0xff
je 0x416809
dec al
mov byte [ecx - 1], al
mov eax, 1
jmp 0x416887
dec ecx
push ecx
call fcn.004188ac
add esp, 4
mov eax, 1
jmp 0x416887
call fcn.00418e78
mov dl, byte [esp + 0x30]
sub esp, 0xc
mov ecx, esp
xor esi, esi
mov dword [esp + 0x38], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x43776c]
lea edx, [esp + 0x3c]
push eax
push esi
push edx
call fcn.00412830
mov ecx, ebx
call fcn.004165f0
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x4c], 1
call fcn.00412320
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x416885
mov al, byte [ecx - 1]
test al, al
je 0x41687b
cmp al, 0xff
je 0x41687b
dec al
mov byte [ecx - 1], al
jmp 0x416885
dec ecx
push ecx
call fcn.004188ac
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x420341
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43d490
cmp edx, dword [eax]
je 0x420363
add eax, 8
inc ecx
cmp eax, 0x43d520
jl 0x420354
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43d490]
jne 0x420491
mov eax, dword [0x937420]
cmp eax, 1
je 0x42046b
test eax, eax
jne 0x420394
cmp dword [0x43ad14], 1
je 0x42046b
cmp edx, 0xfc
je 0x420491
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4203cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004204a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041a7c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42040e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041a7c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x437d08
push edi
call fcn.00419470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004204a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004204b0
lea eax, [ebp - 0xa0]
push 0x437ce8
push eax
call fcn.004204b0
push dword [esi + 0x43d494]
lea eax, [ebp - 0xa0]
push eax
call fcn.004204b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00422b3c
add esp, 0x2c
pop edi
jmp 0x420491
lea eax, [ebp + 8]
lea esi, [esi + 0x43d494]
push 0
push eax
push dword [esi]
call fcn.0041a7c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4250e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x425180
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x425132
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x43df6c]
xor eax, edx
inc esi
cmp esi, edi
jl 0x425113
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x42515b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x43df6c]
xor eax, edx
inc esi
cmp esi, edi
jl 0x42513e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x3228bc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x383030], 0x8088405
inc edx
mov dword [0x383030], edx
mul edx
mov eax, edx
ret

Function at 0x328428
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x32a0a4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x32a0c7
jne 0x32a0ce
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x32a0dd
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x32a0e5
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret

Function at 0x333188
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x333319
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00323590
push 0x333328
call fcn.00326a2c
mov esi, eax
test esi, esi
je 0x3331ca
push 0x333334
push esi
call fcn.003269cc
mov edi, eax
test edi, edi
je 0x3332eb
mov dword [ebp - 4], 0x400
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00323ae4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00323974
push eax
push 0
call edi
test eax, eax
jne 0x3332eb
mov edx, dword [ebp - 4]
dec edx
lea eax, [ebp - 8]
call fcn.00323ae4
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.003235e4
mov eax, dword [ebx]
call fcn.003237b0
cmp eax, 0xf5
jle 0x3332eb
mov edx, dword [ebx]
mov eax, 0x333354
call fcn.00323a9c
test eax, eax
je 0x333246
mov eax, ebx
mov edx, 0x333364
call fcn.003235e4
jmp 0x3332eb
mov edx, dword [ebx]
mov eax, 0x3333b4
call fcn.00323a9c
test eax, eax
je 0x333267
mov eax, ebx
mov edx, 0x3333c8
call fcn.003235e4
jmp 0x3332eb
mov edx, dword [ebx]
mov eax, 0x333418
call fcn.00323a9c
test eax, eax
je 0x333285
mov eax, ebx
mov edx, 0x33342c
call fcn.003235e4
jmp 0x3332eb
mov edx, dword [ebx]
mov eax, 0x33347c
call fcn.00323a9c
test eax, eax
je 0x3332a3
mov eax, ebx
mov edx, 0x333490
call fcn.003235e4
jmp 0x3332eb
mov edx, dword [ebx]
mov eax, 0x333528
call fcn.00323a9c
test eax, eax
je 0x3332c1
mov eax, ebx
mov edx, 0x33353c
call fcn.003235e4
jmp 0x3332eb
mov edx, dword [ebx]
mov eax, 0x3335bc
call fcn.00323a9c
test eax, eax
je 0x3332df
mov eax, ebx
mov edx, 0x3335d0
call fcn.003235e4
jmp 0x3332eb
mov eax, ebx
mov edx, 0x333364
call fcn.003235e4
mov eax, dword [ebx]
call fcn.003237b0
cmp eax, 0xa
jge 0x333303
mov eax, ebx
mov edx, 0x333364
call fcn.003235e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x333320
lea eax, [ebp - 8]
call fcn.00323590
ret
Function at 0x333874
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x3339a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0036c894
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x33396d
mov ecx, eax
mov ebx, ecx
add ebx, dword [edx + 0x3c]
mov edx, ebx
cmp dword [edx], 0x4550
jne 0x33396d
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 4]
call fcn.00323ae4
lea eax, [ebp - 4]
call fcn.00323980
mov ecx, dword [ebx]
mov edx, esi
call fcn.00326ca0
lea eax, [ebp - 0x10]
call fcn.003337e0
mov eax, dword [ebp - 4]
call fcn.003237b0
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 1
lea ecx, [ebp - 0x1c]
mov edx, 0x3339c0
mov eax, 0x3339cc
call fcn.0036d430
lea eax, [ebp - 0x1c]
mov edx, dword [0x382c4c]
mov edx, dword [edx]
call fcn.003237b8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.003280d4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00323ce0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00323980
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.0036389c
push 0x7530
push eax
call fcn.00326b2c
lea eax, [ebp - 0x20]
call fcn.003336f0
mov edx, dword [ebp - 0x20]
mov eax, dword [0x382d68]
call fcn.003235e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3339af
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.003235b4
lea eax, [ebp - 0x14]
call fcn.00323b60
lea eax, [ebp - 0x10]
call fcn.00323590
lea eax, [ebp - 8]
call fcn.00323b60
lea eax, [ebp - 4]
call fcn.00323590
ret
Function at 0x333dd4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x333ddc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x333f52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00323590
lea eax, [ebp - 0xc]
call fcn.0036c894
call fcn.0036d734
mov ebx, eax
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x333f12
mov edi, ebx
mov esi, edi
add esi, dword [eax + 0x3c]
cmp dword [esi], 0x4550
jne 0x333f12
lea eax, [ebp - 0x18]
call fcn.00333cd8
mov eax, dword [esi + 0x50]
add eax, edi
mov edx, eax
add edx, 4
mov edi, edx
mov ebx, eax
mov edx, dword [ebx]
lea eax, [ebp - 8]
call fcn.00323ae4
lea eax, [ebp - 8]
call fcn.00323980
mov ecx, dword [ebx]
mov edx, edi
call fcn.00326ca0
mov eax, dword [ebp - 8]
call fcn.003237b0
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea ecx, [ebp - 0x24]
mov edx, 0x333f68
mov eax, 0x333f74
call fcn.0036d430
lea eax, [ebp - 0x24]
mov edx, dword [0x382c4c]
mov edx, dword [edx]
call fcn.003237b8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.003280d4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00323ce0
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
call fcn.00323980
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0036389c
mov ebx, eax
push 0xea60
push ebx
call fcn.00326b2c
push 0
push ebx
call fcn.00326afc
lea eax, [ebp - 0x14]
call fcn.00333b0c
mov edx, dword [ebp - 0x14]
mov eax, 0x333f84
call fcn.00323a9c
dec eax
jne 0x333f12
mov eax, dword [ebp - 0x14]
call fcn.003237b0
cmp eax, 0x100
jge 0x333f12
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 0x14]
call fcn.003239b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x333f59
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.003235b4
lea eax, [ebp - 0x1c]
call fcn.00323b60
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.003235b4
lea eax, [ebp - 0xc]
call fcn.00323b60
lea eax, [ebp - 8]
call fcn.00323590
ret
Function at 0x34e40c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x34e414
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x34e5a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
call fcn.0034e36c
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x34e54c
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0x34e54c
mov edi, dword [edx + 0x50]
add edi, ecx
add edi, 4
mov esi, dword [edx + 0x50]
add esi, eax
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00323ae4
lea eax, [ebp - 4]
call fcn.00323980
mov ecx, dword [esi]
mov edx, edi
call fcn.00326ca0
lea ecx, [ebp - 0x1c]
mov edx, 0x34e5bc
mov eax, 0x34e5c8
call fcn.0036d430
lea eax, [ebp - 0x1c]
mov edx, dword [0x382c4c]
mov edx, dword [edx]
call fcn.003237b8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.003280d4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00323ce0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0036c358
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0032379c
mov eax, dword [esi]
push eax
mov eax, dword [0x382d3c]
push eax
push 0
push 0
lea eax, [ebp - 4]
call fcn.00323980
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00323ce0
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.0036c894
mov eax, dword [ebp - 0x24]
pop edx
pop ecx
call fcn.0036389c
mov esi, eax
test esi, esi
je 0x34e543
push 0x6ddd00
push esi
call fcn.00326b2c
mov eax, dword [0x382d3c]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00326984
neg eax
sbb eax, eax
neg eax
cmp al, 1
jne 0x34e543
cmp dword [ebp - 0xc], 0xa
je 0x34e55d
cmp dword [ebp - 0xc], 0x14
mov eax, dword [0x382d3c]
xor edx, edx
mov dword [eax], edx
push 0x493e0
call fcn.00326af4
dec ebx
jne 0x34e432
call fcn.0034d800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x34e5ab
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00323b78
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.003235b4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00323b78
lea eax, [ebp - 8]
mov edx, 2
call fcn.003235b4
ret
Function at 0x351140
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x351149
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00323964
mov eax, dword [ebp - 8]
call fcn.00323964
mov eax, dword [ebp - 0xc]
call fcn.00323964
xor eax, eax
push ebp
push 0x3512a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00323590
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00350914
lea eax, [ebp - 0x24]
call fcn.00350a1c
push dword [ebp - 0x24]
push 0x3512c0
push dword [ebp - 0x14]
push 0x3512f0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00323870
mov eax, 5
call fcn.003228bc
add eax, 4
lea edx, [ebp - 0x20]
call fcn.0036b6c0
push dword [ebp - 0x10]
push 0x351320
push dword [ebp - 0x14]
push 0x35132c
push dword [ebp - 0x20]
push 0x351350
push dword [ebp - 4]
push 0x351360
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00323870
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.00350914
lea eax, [ebp - 0x28]
call fcn.0034db7c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.00350adc
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x35136c
push dword [ebp - 0x14]
push 0x351378
push dword [ebp - 0x18]
push 0x351388
push dword [ebp - 0x20]
push 0x35139c
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00323870
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0035106c
cmp byte [ebp + 0xc], 0
je 0x351279
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.003678b4
jmp 0x35128e
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.003678b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3512b0
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.003235b4
ret
Function at 0x3513b8
Capabilities:
Run powershell expression

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x3513c1
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00323964
mov eax, dword [ebp - 8]
call fcn.00323964
mov eax, dword [ebp - 0xc]
call fcn.00323964
xor eax, eax
push ebp
push 0x351519
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00323590
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00350914
lea eax, [ebp - 0x24]
call fcn.00350a1c
push dword [ebp - 0x24]
push 0x351530
push dword [ebp - 0x14]
push 0x351560
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00323870
mov eax, 5
call fcn.003228bc
add eax, 4
lea edx, [ebp - 0x20]
call fcn.0036b6c0
push dword [ebp - 0x10]
push 0x351590
push dword [ebp - 0x14]
push 0x35159c
push dword [ebp - 0x20]
push 0x3515c0
push dword [ebp - 4]
push 0x3515d0
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.00323870
lea edx, [ebp - 0x1c]
mov eax, 4
call fcn.00350914
lea eax, [ebp - 0x28]
call fcn.0034db7c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.00350adc
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x3515dc
push dword [ebp - 0x14]
push 0x3515e8
push dword [ebp - 0x18]
push 0x3515f8
push dword [ebp - 0x20]
push 0x35160c
lea eax, [ebp - 0x10]
mov edx, 9
call fcn.00323870
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0035106c
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000001
call fcn.003678b4
mov eax, dword [ebx]
push eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, 0x80000002
call fcn.003678b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x351520
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.003235b4
ret
Function at 0x36b8bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x36b948
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00323590
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x36b932
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0x36b932
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00323ae4
lea eax, [ebp - 4]
call fcn.00323980
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
call fcn.00326ca0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.003235e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x36b94f
lea eax, [ebp - 4]
call fcn.00323590
ret

Function at 0x36b958
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.003240c0
xor eax, eax
push ebp
push 0x36ba2b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x36b9fe
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x36b9fe
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00323ae4
lea eax, [ebp - 0x10]
call fcn.00323980
mov ecx, dword [ebx]
mov edx, esi
call fcn.00326ca0
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00323980
push eax
lea eax, [ebp - 0x14]
call fcn.0036c894
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
pop ecx
call fcn.0036389c
mov ebx, eax
test ebx, ebx
je 0x36ba05
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x36ba32
lea eax, [ebp - 0x14]
call fcn.00323b60
lea eax, [ebp - 0x10]
call fcn.00323590
lea eax, [ebp - 4]
call fcn.00323b60
ret
Function at 0x36ba3c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.003240c0
xor eax, eax
push ebp
push 0x36baf8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x36bad3
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x36bad3
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00323ae4
lea eax, [ebp - 0x10]
call fcn.00323980
mov ecx, dword [ebx]
mov edx, esi
call fcn.00326ca0
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea eax, [ebp - 0x10]
call fcn.00323980
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00360f8c
mov ebx, eax
test ebx, ebx
je 0x36bada
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x36baff
lea eax, [ebp - 0x10]
call fcn.00323590
lea eax, [ebp - 4]
call fcn.00323b60
ret

Function at 0x36bb08
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.003240c0
xor eax, eax
push ebp
push 0x36bbc4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.0036d734
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x36bb9f
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x36bb9f
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00323ae4
lea eax, [ebp - 0x10]
call fcn.00323980
mov ecx, dword [ebx]
mov edx, esi
call fcn.00326ca0
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea eax, [ebp - 0x10]
call fcn.00323980
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00360f8c
mov ebx, eax
test ebx, ebx
je 0x36bba6
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x36bbcb
lea eax, [ebp - 0x10]
call fcn.00323590
lea eax, [ebp - 4]
call fcn.00323b60
ret