joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7abc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c7aea
mov eax, ebx
call fcn.004c8570
cmp dword [ebx + 0x40], 0
je 0x4c7ae3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c7b5b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c7b4d
cmp dword [ebx + 8], 0
je 0x4c7b0c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c7b1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c7b4d
cmp dword [ebx + 8], 0
je 0x4c7aff
cmp eax, 3
je 0x4c7b31
dec eax
jne 0x4c7aff
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c7aff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c7aff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c7b79
cmp dword [ebx + 0x14], 0xcc
je 0x4c7b79
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c7b84
pop ebx
ret
Function at 0x4db534
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406244
lea esi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x4db765
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.0040625c
push 0
push 0
push 0
push 0
push 0x4db774
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4db728
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x4db784
call fcn.004062b0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4db5cb
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4db5cb
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004058c8
mov edi, eax
test edi, edi
je 0x4db5d6
sub edi, 4
mov edi, dword [edi]
push 0
push 0x84000000
push edi
mov eax, dword [ebp - 8]
call fcn.004062e8
push eax
mov eax, dword [ebp - 4]
call fcn.004062e8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4db70a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00414e44
push eax
push 1
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4216c0]
call fcn.00427154
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4db6ec
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0x401
lea eax, [ebp - 0x419]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x4db65f
call fcn.00404f88
call fcn.00404f88
call fcn.00404f88
jmp 0x4db72f
cmp dword [esi], 0
je 0x4db676
lea edx, [ebp - 0x419]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x18]
call fcn.00426a44
jmp 0x4db631
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00427238
lea edx, [ebp - 0x420]
mov eax, dword [ebx]
call fcn.0040c8cc
cmp dword [ebp - 0x420], 0
jne 0x4db6d6
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
push eax
lea edx, [ebp - 0x428]
mov eax, esi
call fcn.0040dd90
mov eax, dword [ebp - 0x428]
mov edx, 1
pop ecx
call fcn.00405ce4
mov edx, dword [ebp - 0x424]
mov eax, ebx
call fcn.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db6f3
mov eax, dword [ebp - 0x18]
call fcn.004044a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db76c
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.0040573c
lea eax, [ebp - 0x420]
call fcn.0040624c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406254
ret
Function at 0x4dba54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dbb37
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4dbb0a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20e]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040645c
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004db9f4
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0040625c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4dbae3
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4dbb00
mov eax, dword [ebp - 4]
mov edx, 0x4dbb54
call fcn.00406670
mov eax, dword [ebp - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dbb1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb3e
lea eax, [ebp - 0x214]
call fcn.0040624c
ret

Function at 0x4e3f18
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4e3f69
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4e3f50
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4e3f40
jmp 0x4e3f69
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4e3f51
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fa324
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc0
push ebx
xor ecx, ecx
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x440], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4fa47a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x440]
mov ecx, 0x4fa494
mov edx, dword [ebx + 0x14]
call fcn.00406730
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x43c]
call fcn.004c2db8
mov edx, dword [ebp - 0x43c]
lea eax, [ebx + 0x1c]
call fcn.0040625c
cmp dword [ebx + 0x1c], 0
je 0x4fa450
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.004062e8
push eax
mov eax, dword [0x538e2c]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4fa3ce
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x3c], eax
lea eax, [ebp - 0x22e]
xor ecx, ecx
mov edx, 0x20a
call fcn.00403a70
lea eax, [ebp - 0x438]
xor ecx, ecx
mov edx, 0x20a
call fcn.00403a70
push 0x104
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x104
lea eax, [ebp - 0x22e]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.004062e8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4fa45c
lea eax, [ebx + 0x20]
lea edx, [ebp - 0x22e]
mov ecx, 0x105
call fcn.0040645c
lea eax, [ebx + 0x24]
lea edx, [ebp - 0x438]
mov ecx, 0x105
call fcn.0040645c
jmp 0x4fa45c
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa481
lea eax, [ebp - 0x440]
mov edx, 2
call fcn.00406254
ret
Function at 0x4fc9b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.00407cd4
mov edi, eax
test edi, edi
jl 0x4fcaf1
inc edi
xor esi, esi
movzx eax, word [ebx + 0xe]
sub ax, 0x507
jne 0x4fcaa2
movzx edx, byte [0x5389b8]
mov eax, ebx
call fcn.004fc864
and al, 3
movzx eax, al
mov dword [esp], eax
mov eax, esi
mov edx, eax
add edx, edx
add dl, byte [0x5389bc]
mov eax, ebx
call fcn.004fc864
movzx ebp, al
mov eax, esi
mov edx, eax
add edx, edx
add dl, byte [0x5389bc]
inc edx
mov eax, ebx
call fcn.004fc864
movzx edx, al
cmp ebp, 0xbb
je 0x4fca8f
cmp ebp, 0xcc
je 0x4fca8f
xor eax, eax
mov ecx, dword [esp]
sub ecx, 1
jb 0x4fca43
je 0x4fca47
dec ecx
je 0x4fca4b
dec ecx
je 0x4fca57
jmp 0x4fca5f
xor eax, eax
jmp 0x4fca5f
xor eax, eax
jmp 0x4fca5f
mov eax, ebp
and eax, 0x80
shl eax, 8
jmp 0x4fca5f
mov eax, edx
and eax, 1
shl eax, 0xf
shl ebp, 7
or eax, ebp
and edx, 0xe0
shr edx, 1
or eax, edx
and eax, 0xfff0
mov dword [esp + 4], eax
fild dword [esp + 4]
fdiv dword [0x4fcaf8]
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x14]
fstp qword [edx + eax*8 + 8]
wait
jmp 0x4fcae9
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x14]
xor ecx, ecx
mov dword [edx + eax*8 + 8], ecx
mov dword [edx + eax*8 + 0xc], ecx
jmp 0x4fcae9
mov eax, esi
inc eax
mov edx, eax
add edx, edx
add dl, byte [0x5389bc]
mov eax, ebx
call fcn.004fc864
movzx eax, al
cmp eax, 0x7f
jge 0x4fcad8
test eax, eax
jle 0x4fcad8
mov dword [esp + 4], eax
fild dword [esp + 4]
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x14]
fstp qword [edx + eax*8 + 8]
wait
jmp 0x4fcae9
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x14]
xor ecx, ecx
mov dword [edx + eax*8 + 8], ecx
mov dword [edx + eax*8 + 0xc], ecx
inc esi
dec edi
jne 0x4fc9ce
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x529440
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov ebx, eax
cmp byte [ebx + 0x3c4], 0
je 0x52945c
mov byte [ebx + 0x3c4], 0
jmp 0x529550
push esp
call sub.user32.dll_GetCursorPos
lea edx, [esp + 0x10]
mov eax, dword [ebx + 0x398]
call fcn.004566dc
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
mov eax, ebx
call fcn.0045684c
mov ecx, dword [esp + 8]
mov eax, dword [esp]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jl 0x529550
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x529550
mov eax, dword [ebx + 0x394]
cmp byte [eax + 0x40], 0
jne 0x529550
mov eax, ebx
call fcn.0046e998
cmp eax, 3
jg 0x529510
mov eax, dword [ebx + 0x394]
mov dword [eax + 0xc], 1
mov dl, 1
call fcn.004475f0
mov eax, ebx
call fcn.0046e978
mov esi, eax
add esi, dword [ebx + 0x48]
mov eax, dword [0x5391c0]
mov eax, dword [eax]
call fcn.00474f04
sub eax, 3
cmp esi, eax
jl 0x529550
mov eax, dword [0x5391c0]
mov eax, dword [eax]
call fcn.00474f04
mov edx, eax
sub edx, dword [ebx + 0x48]
mov eax, ebx
call fcn.00474314
jmp 0x529550
mov eax, ebx
call fcn.0046e978
mov esi, eax
add esi, dword [ebx + 0x48]
mov eax, dword [0x5391c0]
mov eax, dword [eax]
call fcn.00474f04
sub eax, 3
cmp esi, eax
jl 0x529545
mov eax, dword [ebx + 0x394]
mov dword [eax + 0xc], 2
mov dl, 1
call fcn.004475f0
jmp 0x529550
mov eax, dword [ebx + 0x394]
xor edx, edx
mov dword [eax + 0xc], edx
add esp, 0x20
pop esi
pop ebx
ret

Function at 0x52b258
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x52b2d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x52b2dc
push 0x52b2f8
call sub.user32.dll_FindWindowW
test eax, eax
jne 0x52b2ab
push 1
push 0
push 0
lea eax, [ebp - 4]
mov ecx, 0x52b31c
mov edx, dword [0x56fb20]
call fcn.00406730
mov eax, dword [ebp - 4]
call fcn.004062e8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x52b2ba
push 0
push 0
push 0x7ea
push eax
call sub.user32.dll_SendMessageW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b2d7
lea eax, [ebp - 4]
call fcn.0040624c
ret
Function at 0x52b33c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406244
xor eax, eax
push ebp
push 0x52b4c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x538fc8]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
xor edx, edx
call fcn.0046ede4
push 0x52b4d4
push 0x52b4f0
call sub.user32.dll_FindWindowW
mov ebx, eax
test ebx, ebx
jne 0x52b3c8
mov byte [esi + 0x39d], 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004062e8
push eax
lea eax, [ebp - 8]
mov ecx, 0x52b514
mov edx, dword [0x56fb20]
call fcn.00406730
mov eax, dword [ebp - 8]
call fcn.004062e8
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b540
call fcn.00406a00
jne 0x52b3eb
push 0
push 0
push 0x7ed
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b568
call fcn.00406a00
jne 0x52b40e
push 0
push 0
push 0x7ee
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b588
call fcn.00406a00
jne 0x52b42e
push 0
push 0
push 0x7ef
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b5ac
call fcn.00406a00
jne 0x52b44e
push 0
push 0
push 0x7f0
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b5d4
call fcn.00406a00
jne 0x52b46e
push 0
push 0
push 0x7f1
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b5f8
call fcn.00406a00
jne 0x52b48e
push 0
push 0
push 0x7f5
push ebx
call sub.user32.dll_PostMessageW
jmp 0x52b4ac
mov eax, dword [ebp - 4]
mov edx, 0x52b61c
call fcn.00406a00
jne 0x52b4ac
push 0
push 0
push 0x7f9
push ebx
call sub.user32.dll_PostMessageW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b4ce
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406254
ret
Function at 0x52ce28
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406244
lea ebx, [ebp - 0x18]
xor eax, eax
push ebp
push 0x52cfdf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebx], eax
push 0
push 0
push 0
push 0
push 0x52cff0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x52cfbd
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x52d000
call fcn.004062b0
mov eax, dword [ebp - 8]
test eax, eax
je 0x52ceaa
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x52ceaa
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004058c8
mov esi, eax
test esi, esi
je 0x52ceb5
sub esi, 4
mov esi, dword [esi]
push 0
push 0
push esi
mov eax, dword [ebp - 8]
call fcn.004062e8
push eax
mov eax, dword [ebp - 4]
call fcn.004062e8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x52cf9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4215a0]
call fcn.00404470
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x52cf81
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x401
lea eax, [ebp - 0x41d]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebx], 0
je 0x52cf30
lea edx, [ebp - 0x41d]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x1c]
call fcn.00426a44
jmp 0x52cf03
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x52cf43
cmp eax, 0
jbe 0x52cf6b
jmp 0x52cf45
jle 0x52cf6b
mov dl, 1
mov eax, dword [0x49fe88]
call fcn.004a5130
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004267d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cf88
mov eax, dword [ebp - 0x1c]
call fcn.004044a0
ret
Function at 0x40e9d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f1eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00463342
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ea52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461012
mov eax, dword [eax]
push 0x48a200
push eax
call fcn.00453464
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004635cd
test bl, bl
je 0x40ea52
push 0x48a200
lea ecx, [esp + 0xc]
call fcn.0046395d
push 0x48dd94
lea ecx, [esp + 0xc]
call fcn.0046395d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40ea8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004635cd
jmp 0x40eb59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40eb12
lea edx, [esp + 0x7c]
push 0x48dd90
push edx
call fcn.00453464
add esp, 8
test eax, eax
je 0x40eb12
lea eax, [esp + 0x7c]
push 0x48dd8c
push eax
call fcn.00453464
add esp, 8
test eax, eax
je 0x40eb12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40eaa2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004635cd
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f370
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f3d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40f3e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f26b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4943c8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40f518
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f446
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004635cd
xor eax, eax
jmp 0x40f58f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046370a
push esi
lea ecx, [esp + 0xc]
call fcn.00463999
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40f56d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040f370
test eax, eax
jne 0x40f56d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040f370
test eax, eax
jne 0x40f56d
lea eax, [esp + 0x14]
push 0x48dda8
push eax
call fcn.004544a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f54c
lea ecx, [esp + 0x14]
push 0x48dda4
push ecx
call fcn.00454420
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f54c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f54f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004636ba
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f45e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004635cd
xor eax, eax
jmp 0x40f58f
mov byte [esi], 0
push 0x48dda0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004635cd
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4113da
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46f468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00464b7b
xor ebp, ebp
mov dword [esi], 0x47aba8
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x47a568
call fcn.00405930
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004626af
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00405930
mov dword [ebx], 0x478d2c
mov dword [edi], 0x47aacc
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x47a6e8
lea ecx, [esi + 0xb0]
call fcn.00405930
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x47aad4
mov dword [esi + 0xac], ebp
call fcn.0046d1df
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0046a214
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x411590
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x46f4f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x47aad4
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0046a26b
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x478d28
call fcn.00405b30
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0046a26b
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x478d28
call fcn.00405b30
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004626e2
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x478d28
call fcn.00405b30
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0046b667
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret