joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x5ccb2fe2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x5a0f2271
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4010f4
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov esi, ecx
mov dword [ebp - 0x18], ebx
push dword [ebx + 0x45621c]
push dword [ebx + 0x456218]
push dword [ebx + 0x456214]
push 0x456244
push esi
call edi
test eax, eax
jne 0x40113f
inc dword [ebp - 0x18]
add ebx, 0xc
cmp ebx, 0x30
jb 0x401114
jmp 0x401145
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x5c], 0xffffffff
jne 0x40116f
xor ebx, ebx
push ebx
push 0x18
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x40116f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x40116f
push 8
push 0x18
push ebx
push ebx
push esi
call edi
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10
pop ecx
stosb byte es:[edi], al
mov eax, dword [esi + 0x34]
lea ebx, [esi + 8]
mov byte [ebx], 8
mov byte [esi + 9], 2
mov dword [esi + 0xc], 0x660e
mov dword [esi + 0x10], ecx
mov edx, eax
cmp eax, ecx
jb 0x4011a0
mov edx, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], ecx
jb 0x4011aa
mov eax, dword [eax]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004376a0
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.004376a0
add esp, 0x18
lea edi, [esi + 4]
push edi
push 0
push 0
push 0x1c
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push 0
lea eax, [ebp - 0x1c]
push eax
push 4
push dword [edi]
mov dword [ebp - 0x1c], 1
call ebx
cmp dword [esi + 0x50], 0
jbe 0x40120d
add esi, 0x40
cmp dword [esi + 0x14], 0x10
jb 0x401204
mov esi, dword [esi]
push 0
push esi
push 1
push dword [edi]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437608
leave
ret

Function at 0x40121c
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], eax
shr eax, 4
inc eax
shl eax, 4
push edi
push eax
call fcn.004375a9
cmp dword [esi + 0x14], 0x10
pop ecx
mov edi, eax
jb 0x401243
mov esi, dword [esi]
push dword [ebp - 4]
push esi
push edi
call fcn.004376a0
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x401279
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
mov ecx, edi
inc ebx
call fcn.004012c4
push edi
call fcn.00438031
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x4020b7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov ecx, dword [edi + 0x138]
test ecx, ecx
jne 0x402110
mov ecx, dword [edi + 0x130]
mov dword [edi + 0x138], 1
test ecx, ecx
je 0x4020e2
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov eax, dword [edi + 4]
sub eax, dword [edi]
xor esi, esi
sar eax, 2
test eax, eax
je 0x402110
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x402103
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov eax, dword [edi + 4]
sub eax, dword [edi]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4020f0
mov eax, dword [edi + 4]
sub eax, dword [edi]
push ebx
sar eax, 2
xor ebx, ebx
test eax, eax
je 0x40214c
mov eax, dword [edi]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x40213f
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x402138
mov eax, dword [ecx]
call dword [eax + 8]
and dword [esi + 0x20], 0
push esi
call fcn.004375fd
pop ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x40211f
call fcn.004039bc
lea esi, [edi + 0x98]
call fcn.0041d300
mov ecx, dword [edi + 0xb8]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
pop ebx
cmp eax, ecx
je 0x402199
push dword [eax + 0xc]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x402186
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
call fcn.00404131
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0xb8]
jne 0x40216c
call fcn.0041d300
lea esi, [edi + 0x30]
call fcn.0041d690
add edi, 0xb4
call fcn.00403ae5
pop edi
pop esi
leave
ret
Function at 0x4065e3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x406628
cmp dword [ebp - 0x108], 2
jne 0x406628
cmp dword [ebp - 0x114], 6
jb 0x406628
xor eax, eax
inc eax
jmp 0x40662a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437608
leave
ret

Function at 0x406636
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40667b
cmp dword [ebp - 0x108], 2
jne 0x40667b
cmp dword [ebp - 0x114], 0xa
jne 0x40667b
xor eax, eax
inc eax
jmp 0x40667d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437608
leave
ret

Function at 0x406ae6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 4
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne fcn.00406b1d
mov eax, dword [ebp + 0x10]
sub eax, 4
neg eax
jmp loc.004c9db0

Function at 0x406b21
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406b85
cmp dword [ebp + 0xc], 1
je 0x406b5d
cmp dword [ebp + 0xc], 2
je 0x406b5d
push 0xd
pop eax
jmp 0x406b85
mov eax, dword [ebp - 4]
test edi, edi
je 0x406b7f
test eax, eax
je 0x406b7a
test al, 1
jne 0x406b58
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x406b7f
jmp 0x406b58
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x406dc3
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, eax
and dword [esi + 0x90], 0
and dword [esi + 0x94], 0
push 0x40
push 0
push esi
mov dword [esi + 0x80], 0x67452301
mov dword [esi + 0x84], 0xefcdab89
mov dword [esi + 0x88], 0x98badcfe
mov dword [esi + 0x8c], 0x10325476
call fcn.00437620
push 0x40
add esi, 0x40
push 0
push esi
call fcn.00437620
add esp, 0x18
mov byte [esi], 0x80
pop esi
ret
Function at 0x407f53
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp dword [esi + 0x454], 0
je 0x407f9f
mov eax, dword [esi + 0x132c]
mov dword [esi + 0x12cc], 1
test eax, eax
jne 0x407f89
push 0x40c911
lea eax, [esi + 0x1328]
mov edx, esi
call fcn.0041d520
cmp dword [esi + 0x464], 0
je 0x407fe4
add esi, 0x1328
call fcn.0041d6c0
jmp 0x407fe4
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push eax
mov ecx, 0x456c24
mov dword [esi + 0x12cc], 2
call fcn.00404da4
push esi
call fcn.0040a5cd
test eax, eax
jne 0x407fe4
push 0x10
push eax
push 0x456ed4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
leave
ret
Function at 0x40b34f
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x44f1ed
call fcn.0044b85f
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov eax, dword [section..data]
mov esi, section..data
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.SOFTWAREApple_Computer__Inc.iPodRegisteredApps4
push closesocket
mov eax, 0x20019
lea ebx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00406be8
test eax, eax
jne 0x40b446
mov eax, 0x208
jmp loc.004cc7e0
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b479
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040507e
lea eax, [ebx - 0x10]
call fcn.0040507e
lea esi, [ebp - 0x28]
call fcn.00406c3a
xor eax, eax
call fcn.0044b8fe
ret 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 4
mov eax, dword [section..data]
mov ecx, esi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push str.SOFTWAREApple_Inc.Apple_Mobile_Device_SupportShared
push closesocket
mov eax, 0x20019
lea ebx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00406be8
test eax, eax
jne 0x40b4ec
mov eax, 0x208
push eax
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.0040503f
push str.AirTrafficHostDLL
mov ecx, ebx
push ecx
lea esi, [ebp - 0x1c]
mov edi, eax
call fcn.00406b21
lea esi, [ebp - 0x14]
call fcn.00406c56
mov esi, ebx
call fcn.00406c3a
mov esi, dword [ebp - 0x14]
xor edi, edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b52c
lea eax, [esi - 0x10]
call fcn.0040507e
lea esi, [ebp - 0x34]
call fcn.00406c3a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040507e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040507e
lea esi, [ebp - 0x28]
call fcn.00406c3a
mov eax, edi
jmp 0x40b471
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x40b53e
mov ecx, dword [ebp - 0x10]
call fcn.0041fef0
mov word [ebx], ax
xor edi, edi
inc edi
jmp 0x40b4f7
Function at 0x40b543
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x44faed
call fcn.0044b85f
mov esi, ecx
cmp dword [ebp + 8], 0x8401
jne 0x40b5c9
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp + 0x10]
push 0x457754
push eax
call fcn.00404457
mov edi, dword [ebp + 0x10]
pop ecx
lea eax, [edi - 0x10]
mov dword [ebp + 8], esp
mov ebx, esp
call fcn.00404e00
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0040c9f1
push 0x64
mov eax, esi
call fcn.0040c8f7
cmp dword [esi + 0x454], 0
je 0x40b5b3
push esi
call fcn.0040c3e8
mov eax, esi
call fcn.00407dfb
lea eax, [edi - 0x10]
call fcn.0040507e
xor eax, eax
jmp 0x40b6c5
cmp dword [ebp + 8], 0x8403
jne 0x40b637
cmp dword [ebp + 0xc], 1
jne 0x40b6b5
mov ebx, dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
mov dword [ebp + 0x10], ebx
call edi
push 0
mov eax, esi
call fcn.0040c8f7
lea eax, [esi + 0x1310]
push eax
lea ecx, [ebp + 0x10]
call fcn.0040cf42
mov eax, dword [eax]
push ecx
mov dword [ebp + 0x10], esp
sub eax, 0x10
mov dword [ebp + 0x10], esp
call fcn.00404e00
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push ebx
lea ecx, [esi + 0xe78]
call fcn.004143a7
push 5
push dword [esi + 0xe7c]
call edi
jmp 0x40b5c2
cmp dword [ebp + 8], 0x8402
jne 0x40b6b5
xor edi, edi
inc edi
cmp dword [ebp + 0xc], edi
jne 0x40b6b5
mov ecx, dword [esi + 0x44c]
test ecx, ecx
je 0x40b666
mov eax, dword [ebp + 0x10]
push edi
mov dword [ecx + 0xa4], eax
mov eax, dword [ecx]
push 0
call dword [eax + 0xf8]
cmp dword [esi + 0x444], 0
je 0x40b6b5
mov eax, dword [section..data]
jmp 0x4cd6b8
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00429530
call fcn.0044b8fe
ret 0xc
Function at 0x40b6cd
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x23c
mov eax, 0x44f195
call fcn.0044b8c8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.00404da4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], ebx
je 0x40b7ea
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x248], esi
cmp esi, 0xffffffff
je 0x40b7e4
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.00437620
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40b75f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b7e4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x218]
call fcn.00404da4
mov byte [ebp - 4], 1
push dword [ebp - 0x240]
lea eax, [ebp - 0x244]
push eax
call fcn.00406d30
test eax, eax
jne 0x40b7b4
push dword [ebp - 0x234]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x40b7b4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call esi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.0040507e
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40b765
push dword [ebp - 0x248]
call esi
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.0040507e
call fcn.0044b912
ret 4
Function at 0x40c358
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x44cb96
call fcn.0044b85f
push 0x44
pop edi
xor esi, esi
push edi
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00437620
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
mov dword [ebp - 0x68], edi
call fcn.00437620
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40c3ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0043a646
pop ecx
pop ecx
jmp 0x40c3d5
push dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
call fcn.0040c575
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040507e
call fcn.0044b8fe
ret 8

Function at 0x40c3e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e783
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1300], 4
jne 0x40c55d
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
lea eax, [esi + 0x12f8]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x18], edi
call fcn.00418500
test eax, eax
je 0x40c554
jmp 0x40c469
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push dword [esp + 0x18]
lea eax, [esi + 0x12f8]
push eax
mov byte [esp + 0xa8], 1
call fcn.00418550
call fcn.004184e0
push edi
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
call fcn.0041ebc0
push eax
push dword [esi + 0x470]
lea eax, [esp + 0x1c]
push str._s_s
push eax
call fcn.00404457
push 0x44
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.00437620
push 0x10
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00437620
mov edi, dword [esp + 0x3c]
add esp, 0x28
cmp dword [edi - 4], 1
jle 0x40c4f7
push dword [edi - 0xc]
lea eax, [esp + 0x18]
push eax
call fcn.00404f5f
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea esi, [esp + 0x14]
call fcn.00406c56
push dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x20]
call esi
lea eax, [edi - 0x10]
mov byte [esp + 0xa0], bl
call fcn.0040507e
mov eax, dword [ebp + 8]
inc dword [esp + 0x18]
add eax, 0x12f8
call fcn.00418500
cmp dword [esp + 0x18], eax
jb 0x40c464
lea esi, [esp + 0x2c]
call fcn.0041ead0
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40dcdc
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4504f8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x463140]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, dword [sym.imp.USER32.dll_GetParent]
push str.CHWindow
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_GetPropW]
push eax
call edi
push str.CHWindow
push dword [eax + 4]
call esi
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
push esi
push dword [eax + 4]
call edi
push esi
push dword [ebx + 4]
call edi
push 0x80
mov eax, 0x40000
mov edi, ebx
call fcn.00421830
mov eax, dword [ebx + 0x514]
mov edi, dword [eax]
mov dword [esp + 0xc], edi
cmp edi, eax
je 0x40ded0
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x2ac], esi
je 0x40deb7
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], esi
jne 0x40ddda
mov eax, dword [ebx + 0x53c]
cmp eax, esi
je 0x40deb7
mov eax, dword [eax + 4]
cmp eax, esi
je 0x40deb7
push esi
push 0x11829
push 2
call eax
cmp eax, esi
je 0x40deb7
mov edi, dword [ebx + 0x53c]
mov eax, dword [edi + 0xc]
cmp eax, esi
je 0x40ddce
push 0xffffffffffffffff
push esi
call eax
mov esi, edi
call fcn.0040d776
jmp 0x40deb5
lea esi, [esp + 0x44]
call fcn.0041d340
and dword [esp + 0xc0], 0
mov eax, dword [edi + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.00404e00
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0040ef21
sub esp, 0xc
mov dword [esp + 0x28], esp
mov edi, esp
lea eax, [esp + 0x3c]
lea esi, [esp + 0x4c]
mov byte [esp + 0xd8], 1
call fcn.0040f1ac
mov eax, esi
lea esi, [esp + 0x2c]
mov byte [esp + 0xd8], 2
call fcn.0040f1ac
mov dword [esp + 0x28], edi
test edi, edi
je 0x40de66
mov dword [edi], vtable.std::tr1::_Impl_base1_void__class_CHThread__.0
mov byte [esp + 0xd8], 5
lea esi, [edi + 4]
lea eax, [esp + 0x2c]
mov dword [edi], 0x4580b0
call fcn.0040f1ac
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [edi + 0x10], edi
call fcn.0040507e
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.0040507e
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.0040507e
lea edi, [esp + 0x5c]
call fcn.0041d570
mov eax, edi
call fcn.0041d700
or dword [esp + 0xc0], 0xffffffff
mov eax, edi
push eax
call fcn.0041d3c0
xor esi, esi
lea eax, [esp + 0xc]
call fcn.00404131
mov edi, dword [esp + 0xc]
cmp edi, dword [ebx + 0x514]
jne 0x40dd7a
lea edi, [ebx + 0x510]
call fcn.0040e968
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00437608
mov esp, ebp
pop ebp
ret