joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e281
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1007e1fd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1007e3f0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1007e3f0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1007e3a5
jg 0x1007e2dd
test eax, eax
je 0x1007e39b
push 1
push 0x1000
call fcn.100719aa
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1007e300
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1007e392
push 0x8000
push ebx
call fcn.1007e12e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1007e329
jg 0x1007e324
cmp ecx, 0x1000
jb 0x1007e329
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1007c53c
add esp, 0x10
cmp eax, 0xffffffff
je 0x1007e36e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1007e324
jl 0x1007e355
test ecx, ecx
jne 0x1007e316
push dword [ebp - 0xc]
push ebx
call fcn.1007e12e
push esi
call fcn.1006faba
add esp, 0xc
xor ebx, ebx
jmp 0x1007e3fe
cmp byte [edi + 0x24], 0
je 0x1007e385
cmp dword [edi + 0x20], 5
jne 0x1007e385
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1007e390
mov ebx, dword [edi + 0x18]
jmp 0x1007e392
xor ebx, ebx
push esi
call fcn.1006faba
pop ecx
jmp 0x1007e3fe
test ecx, ecx
jg 0x1007e367
jl 0x1007e3a5
test eax, eax
jae 0x1007e367
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10072a50
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1007e3c5
cmp byte [edi + 0x1c], 0
je 0x1007e367
jmp 0x1007e3f6
push ebx
call fcn.1007b44b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1007e367
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1007e3fe
cmp byte [edi + 0x1c], 0
je 0x1007e3fb
mov ebx, dword [edi + 0x18]
jmp 0x1007e3fe
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10072a50
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1007fb30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1007fb5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1007fb5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x413947
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 4
call fcn.004c34cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601d0
call fcn.004c34eb
add esp, 0x10
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x5f4e08
push dword [ebp - 0xc]
push str.cityId:
mov ecx, 3
call fcn.004027be
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4139d7
push ebx
call fcn.004c34d9
add esp, 4
push 1
lea eax, [ebp - 0x10]
push eax
mov eax, str.City.enterCity
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00403e24
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x413a04
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413a14
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413a28
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413a3f
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x560230
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x413aea
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x24]
add ebx, 0x28
mov dword [ebp - 0xc], ebx
push reloc.WS2_32.dll_connect
push 0
push str.buildings
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x5608e0
call fcn.004c34eb
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, 1
jmp 0x413af4
mov eax, 0
jmp 0x413af4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413b05
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x413b34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 4
call fcn.004c34cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601d0
call fcn.004c34eb
add esp, 0x10
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x5f4e08
push dword [ebp - 0xc]
push str.industryId:
mov ecx, 3
call fcn.004027be
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413bc4
push ebx
call fcn.004c34d9
add esp, 4
push 1
lea eax, [ebp - 0x10]
push eax
mov eax, str.City.getIndustryInfo
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00403e24
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x413bf1
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413c01
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413c15
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413c2c
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x560230
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x413cdc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x24]
add ebx, 0x2c
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
push eax
push 4
call fcn.004c34cd
add esp, 4
pop ebx
push eax
push 0x60001
push 0
push ebx
push 0x60001
push 0
push eax
push 2
mov eax, 5
mov ebx, 0x560210
call fcn.004c34eb
add esp, 0x1c
pop eax
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, 1
jmp 0x413ce6
mov eax, 0
jmp 0x413ce6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413cf7
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x413d26
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 4
call fcn.004c34cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601d0
call fcn.004c34eb
add esp, 0x10
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x4c5500
call fcn.004c34d3
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x5f4e08
push dword [ebp - 0x10]
push str._industryId:
push dword [ebp - 0xc]
push str.index:
mov ecx, 5
call fcn.004027be
add esp, 0x14
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413ddd
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x413ded
push ebx
call fcn.004c34d9
add esp, 4
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, str.City.buyProduct
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00403e24
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x413e1a
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x413e2a
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413e3e
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x413e55
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x560230
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x413e8e
mov eax, 1
jmp 0x413e98
mov eax, 0
jmp 0x413e98
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x413ea9
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448c5d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 4
call fcn.004c34cd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601d0
call fcn.004c34eb
add esp, 0x10
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, str.City.getPlayerCityInfo
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.00403e24
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x448cd5
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x448ce5
push ebx
call fcn.004c34d9
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x448cf9
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x448d10
mov eax, 0x5f4734
push eax
push 0x60001
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x560230
call fcn.004c34eb
add esp, 0x1c
test eax, eax
je 0x448d49
mov eax, 1
jmp 0x448d53
mov eax, 0
jmp 0x448d53
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x448d64
push ebx
call fcn.004c34d9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x60001
push 0
push ebx
push 1
mov eax, 5
mov ebx, 0x5601f0
call fcn.004c34eb
add esp, 0x10
call fcn.004c34d9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x45d753
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0045d903
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x45d851
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x45d7f4
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x45d837
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x45d80b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x45d826
test al, 0x40
je 0x45d81d
mov ecx, dword [edi + 0x20]
jmp 0x45d824
test al, 0x80
je 0x45d837
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x45d837
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x45d7c3
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x486a6d
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 0x5f4734
push dword [0x6e53b8]
call fcn.0040114e
add esp, 8
cmp eax, 0
jne 0x486ab1
mov eax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
push eax
mov ebx, dword [0x6e53b8]
test ebx, ebx
je 0x486aab
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov dword [0x6e53b8], eax
call fcn.00486ac4
mov eax, 0
jmp 0x486ac0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 4], ebx
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64_
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x498bcd
push ebx
call fcn.004c34d9
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x28
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x2c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 0x48
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x4d6210
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e3abb
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.005d2c92
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4d6292
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005cf861
mov eax, dword [eax]
push 0x6c7de0
push eax
call fcn.005ae674
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005d2f1d
test bl, bl
je 0x4d6292
push 0x6c7de0
lea ecx, [esp + 0xc]
call fcn.005d32f9
push 0x6c7dec
lea ecx, [esp + 0xc]
call fcn.005d32f9
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 0x4d62ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005d2f1d
jmp 0x4d6399
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 0x4d6352
lea edx, [esp + 0x7c]
push 0x6c7de8
push edx
call fcn.005ae674
add esp, 8
test eax, eax
je 0x4d6352
lea eax, [esp + 0x7c]
push 0x6c7de4
push eax
call fcn.005ae674
add esp, 8
test eax, eax
je 0x4d6352
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 0x4d62e2
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.005d2f1d
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 0x4d6bb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e3b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6dfc14]
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 0x4d6ce8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4d6c16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005d2f1d
xor eax, eax
jmp 0x4d6d5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005d30a6
push esi
lea ecx, [esp + 0xc]
call fcn.005d3335
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6c7e20
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4d6d3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6c7e18
push connect
call fcn.005877a0
test eax, eax
jne 0x4d6d3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6c7e04
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push connect
mov ecx, edi
call fcn.005877a0
test eax, eax
jne 0x4d6d3d
lea eax, [esp + 0x14]
push 0x6c7dfc
push eax
call fcn.005af8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d6d1c
lea ecx, [esp + 0x14]
push 0x6c7df8
push ecx
call fcn.005af820
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d6d1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4d6d1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005d3056
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4d6c2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005d2f1d
xor eax, eax
jmp 0x4d6d5f
mov byte [esi], 0
push 0x6c7df4
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.005d2f1d
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 0x4dceea
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e4388
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.005d45c3
xor ebp, ebp
mov dword [esi], 0x6a00c4
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.004c95d0
call fcn.004cc5b0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.005d1c32
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.004cc5b0
mov dword [ebx], 0x69fc94
mov dword [edi], 0x69ffdc
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x69f3f0
lea ecx, [esi + 0xb0]
call fcn.004cc5b0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x6a00b8
mov byte [esp + 0x38], 5
mov dword [esi], 0x69ffe4
mov dword [esi + 0xac], ebp
call fcn.005defba
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.005da0bf
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 0x4dd080
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e4415
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], 0x69ffe4
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.005da116
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x69f258
call fcn.004cc7b0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.005da116
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x69f258
call fcn.004cc7b0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.005d1c65
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x69f258
call fcn.004cc7b0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.005dcfd9
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4e4e06
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4e4e2e
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 + 0x3a0], eax
pop esi
add esp, 0x190
ret