joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013770
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x100137de
cmp si, 0x69
ja 0x100137de
add esi, 0xffd0
cmp si, 0x11
je 0x100137ae
push 0x11
call edi
test ax, ax
jge 0x100137ae
or esi, 0x2000
cmp si, 0x10
je 0x100137c3
push 0x10
call edi
test ax, ax
jge 0x100137c3
or esi, 0x4000
cmp si, 0x12
je 0x100137d8
push 0x12
call edi
test ax, ax
jge 0x100137d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100137eb
mov esi, 0xbd
jmp 0x1001379f
cmp si, 0x6e
jne 0x100137f8
mov esi, 0xbe
jmp 0x1001379f
cmp si, 0x6f
jne 0x10013799
mov esi, 0xbf
jmp 0x1001379f

Function at 0x10015bb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100ba1b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.100ac634
mov esi, dword [esp + 0x16c]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100ac3d0
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0xc]
push eax
call fcn.100b090b
lea ecx, [esp + 0xc]
push str..
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x16c], 0
call fcn.100b0ae6
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.100b089d
test edi, edi
je 0x10015cfe
mov edx, dword [0x100e7b18]
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0x160], 1
je 0x10015ced
cmp byte [esp + 0x44], 0x2e
je 0x10015cd2
lea eax, [esp + 0xc]
push 0x100dc340
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100b0ae6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call fcn.100b098a
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.100b089d
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call fcn.100b0c2d
test byte [esp + 0x18], 0x10
mov eax, dword [esi + 8]
je 0x10015cb8
push 1
jmp 0x10015cba
push 0
push eax
mov ecx, esi
call fcn.100ac8fa
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.100ac7a9
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10015c5e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0
call fcn.100b089d
lea ecx, [esp + 0xc]
mov dword [esp + 0x160], 0xffffffff
call fcn.100b089d
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x10015d30
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100ba1d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
lea ecx, [esp + 8]
call fcn.100ac5a1
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.100ac370
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x44], 1
call fcn.10015bb0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, esi
mov ebx, eax
jle 0x10015dcd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x28]
cmp dword [eax + esi*4], 0
je 0x10015dbc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
push eax
call fcn.10015d30
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [edx + esi*4]
push eax
call edi
jmp 0x10015dc6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
push eax
call ebp
inc esi
cmp esi, ebx
jl 0x10015d96
pop edi
pop ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.100ac3a3
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.100ac5d4
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x10015e00
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0x20
jne 0x10015e12
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x10015e0a
cmp byte [esi], 0
je 0x10015e41
cmp byte [esi + 1], 0x3a
jne 0x10015e2f
mov al, byte [esi + 2]
test al, al
je 0x10015e41
cmp al, 0x5c
jne 0x10015e2f
mov al, byte [esi + 3]
test al, al
je 0x10015e41
push esi
call fcn.10015d30
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100169b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10016a10
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10016a10
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10016a10
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10016a10
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10016a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x100186c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100ba303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100ad29f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.100b42fa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100b59b8
test eax, eax
je 0x100187dc
mov ecx, dword [esp + 0x3c]
call fcn.100b4327
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100187a0
push edi
mov ecx, esi
call fcn.100affa0
mov ecx, esi
call fcn.10018940
cmp dword [esp + 0x38], 1
jne 0x100187d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100b00db
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1001a0f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100ba458
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x1001a129
inc eax
mov dword [esi + 0x10], eax
jmp 0x1001a23c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1001a13d
mov eax, 0xffffffc7
jmp 0x1001a23e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1001a14e
cmp dword [esi + 8], eax
jne 0x1001a13d
cmp dword [esi + 8], eax
jne 0x1001a167
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x1001a167
mov eax, 0xffffffc7
jmp 0x1001a23e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1001a17b
push eax
mov ecx, ebx
call fcn.10019920
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.10029850
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1001a1ac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.10029870
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10019090
test eax, eax
mov dword [esp + 0x38], eax
je 0x1001a1df
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100c1c18
call fcn.10029a50
mov eax, dword [esp + 0x38]
jmp 0x1001a23e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10019f50
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x1001a223
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10019f70
mov esi, eax
test esi, esi
jne 0x1001a253
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10019f50
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x1001a1f5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100c1c18
call fcn.10029a50
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100c1c18
call fcn.10029a50
mov eax, esi
jmp 0x1001a23e
Function at 0x1001d970
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1001d9a3
push esi
call fcn.100224d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1001d99c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1001da29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1001da12
mov eax, dword [esi + 8]
test eax, eax
je 0x1001d9c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1001da0e
cmp eax, 2
je 0x1001da12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001d9ba
cmp eax, 3
je 0x1001d9ed
cmp eax, 1
jne 0x1001d9ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1001d9ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1001d9ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1001da50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1001da38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1001da50
add esp, 4
pop esi
ret
Function at 0x100399d0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bb54d
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x10039a3e
push 8
call fcn.100ad15d
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x154], edi
je 0x10039a1a
mov ecx, eax
call fcn.100ac24c
jmp 0x10039a1c
xor eax, eax
push 0xff00ff
push edi
push 0x10
push 0x407
mov ecx, eax
mov dword [esp + 0x164], 0xffffffff
mov dword [ebx + 0x78], eax
call fcn.100ac311
mov eax, dword [ebx + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffff0000
push edi
push 0x1101
push eax
mov dword [esp + 0x20], edi
call ebp
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10039a8c
lea ecx, [esp + 0x48]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x10039b9e
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.100b09da
jmp 0x10039ab3
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x10039abd
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push 0
push 0x1109
push ecx
call ebp
push eax
call fcn.100ac2de
lea edx, [esp + 0x48]
push 0x100dc340
push edx
mov esi, 0xffff0000
call fcn.1009cfdc
add esp, 8
test eax, eax
je 0x10039b40
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push 0
push 0x1100
push ecx
mov dword [esp + 0x28], 0xffff0002
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 3
mov dword [esp + 0x2c], 0x23
call ebp
push 0x100dc340
push 0
mov esi, eax
inc edi
call fcn.1009cfdc
add esp, 8
test eax, eax
jne 0x10039aec
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0x1c]
xor edi, edi
push edi
push edi
push 0x110a
push edx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10039b88
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
push esi
push 2
push 0x1102
push eax
mov edi, esi
call ebp
mov ecx, dword [ebx + 0x1c]
push esi
push 4
push 0x110a
push ecx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x10039b5d
mov edx, dword [ebx + 0x1c]
push edi
push 9
push 0x110b
push edx
call ebp
push edi
mov ecx, ebx
call fcn.10039bc0
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
Function at 0x10039bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100bb56b
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.100b0612
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10039c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100aa828
mov eax, dword [eax]
push 0x100dc340
push eax
call fcn.1009c32e
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100b089d
test bl, bl
je 0x10039c42
push 0x100dc340
lea ecx, [esp + 0xc]
call fcn.100b0c2d
push 0x100e0bcc
lea ecx, [esp + 0xc]
call fcn.100b0c2d
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 0x10039c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100b089d
jmp 0x10039d49
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 0x10039d02
lea edx, [esp + 0x7c]
push 0x100dc25c
push edx
call fcn.1009c32e
add esp, 8
test eax, eax
je 0x10039d02
lea eax, [esp + 0x7c]
push 0x100e0bc8
push eax
call fcn.1009c32e
add esp, 8
test eax, eax
je 0x10039d02
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 0x10039c92
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.100b089d
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 0x1003c650
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 0x1003c6b2
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 0x1003c6c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100bb83b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100e7b18]
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 0x1003c7f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1003c726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100b089d
xor eax, eax
jmp 0x1003c86f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100b09da
push esi
lea ecx, [esp + 0xc]
call fcn.100b0c69
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 0x1003c84d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.1003c650
test eax, eax
jne 0x1003c84d
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 SysReAllocString
mov ecx, edi
call fcn.1003c650
test eax, eax
jne 0x1003c84d
lea eax, [esp + 0x14]
push 0x100e0bdc
push eax
call fcn.1009d110
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003c82c
lea ecx, [esp + 0x14]
push 0x100e0bd8
push ecx
call fcn.1009d090
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003c82c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1003c82f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100b098a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1003c73e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100b089d
xor eax, eax
jmp 0x1003c86f
mov byte [esi], 0
push 0x100e0bd4
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.100b089d
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 0x10044f30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100bc358
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.100ad29f
xor ebp, ebp
mov dword [esi], 0x100c5e10
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], fcn.100778e0
call fcn.10029850
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.100ac5a1
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.10029850
mov dword [ebx], 0x100c1c34
mov dword [edi], 0x100c5d34
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x100c1bb4
lea ecx, [esi + 0xb0]
call fcn.10029850
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x100c5d3c
mov dword [esi + 0xac], ebp
call fcn.100b7bb6
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.100b42fa
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 0x100450a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100bc3c5
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], 0x100c5d3c
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.100b4351
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x100c1c18
call fcn.10029a50
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.100b4351
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x100c1c18
call fcn.10029a50
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.100ac5d4
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x100c1c18
call fcn.10029a50
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.100b5791
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10053e80
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x424]
test eax, eax
jne 0x10053eae
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x424], eax
pop esi
add esp, 0x190
ret
Function at 0x1005f070
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x100e21a4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1005f030
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005f11a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x1005f17b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1005f0fc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x1005f104
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.1009d9f0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1005f16f
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x1005f14d
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret