joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f431
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x49f478
call fcn.00497c4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x49f478
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x49f494
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049efab
mov esi, eax
test edi, edi
je 0x49f492
test ebx, ebx
je 0x49f492
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x49ffed
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5315f4
call fcn.004fc24b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4a0012
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4a0058
lea ecx, [ebp - 0x10]
call fcn.004023c0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049f4a6
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401450
mov eax, esi
call fcn.004fc323
ret 8

Function at 0x4a9c38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00497c4f
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a9c71
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004a9889
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4a9ccf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4a9cf3
cmp dword [edi + 0x54], 0
jne 0x4a9cf3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00497c4f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004a9c90
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4acf83
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00497c4f
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4acf9d
xor eax, eax
jmp 0x4acfe6
push ebx
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4acfe5
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004acf21
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4b4477
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00497c4f
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4b44a4
xor eax, eax
jmp 0x4b454a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4b449d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4b449d
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00496d83
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x4b44fb
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x4b44ea
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004b3084
push edi
mov ebx, eax
call fcn.00496db2
pop ecx
test ebx, ebx
je 0x4b453d
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.004b3777
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004b389a
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x4c14c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4c1510
call fcn.00497c4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4c1510
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c1553
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4c153c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4c153c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4c1550
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4c22ad
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x4c22d1
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x4c22df
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x4c22cb
xor eax, eax
inc eax
pop esi
ret

Function at 0x4ca0ba
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x533dd7
call fcn.004fc24b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402f70
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4ca11c
call fcn.00497022
cmp eax, 1
jne 0x4ca11c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004c00b5
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402d50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401450
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401450
mov eax, esi
call fcn.004fc323
ret 0x10
Function at 0x4ca145
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x533e02
call fcn.004fc24b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402f70
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4ca1a7
call fcn.00497022
cmp eax, 1
jne 0x4ca1a7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004c00b5
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402d50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401450
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401450
mov eax, esi
call fcn.004fc323
ret 0x14

Function at 0x4ca1d3
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x533e2d
call fcn.004fc24b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402f70
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4ca235
call fcn.00497022
cmp eax, 1
jne 0x4ca235
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004c00b5
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402d50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401450
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401450
mov eax, esi
call fcn.004fc323
ret 8
Function at 0x4ead20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x28
mov eax, 0x5361c6
call fcn.004fc2b4
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov ebx, dword [esi + 0x20]
cmp dword [eax + 4], edi
je 0x4eab43
push eax
call fcn.004e9f7e
lea edi, [esi + 0x38]
push edi
call fcn.004c8a53
lea eax, [esi + 0x3c]
push eax
call fcn.004c8a53
mov ecx, esi
call fcn.004e9795
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.004eaa39
push 0x55fe38
push dword [esi + 0x24]
call fcn.004c8a2d
push 0
push dword [edi]
mov ebx, eax
push ebx
call dword [sym.imp.ole32.dll_OleSave]
mov dword [ebp - 0x2c], eax
test eax, eax
jge 0x4eab30
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
push dword [edi]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
jmp 0x4eabe0
push 0x15
lea eax, [ebp - 0x28]
push eax
call fcn.004e9030
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004a2109
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push edi
push 0x10012
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
call dword [ecx + 0x18]
cmp eax, edi
je 0x4eab7f
push eax
call fcn.004a0f4e
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x30], edi
call dword [eax + 0xc0]
push eax
push 0x55fc88
push dword [esi + 0x38]
call dword [sym.imp.ole32.dll_OleLoad]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
push 0x55fb88
push dword [ebp - 0x30]
call fcn.004c8a2d
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x24], edi
jne 0x4eabd5
push 0x8007000e
jmp 0x4eab7a
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401450
call fcn.004fc337
ret 4
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0x78], 0
je 0x4ead34
pop ebp
jmp 0x4eaab8
pop ebp
jmp fcn.004e9f7e
Function at 0x4ead3a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x2c
mov eax, 0x5361f3
call fcn.004fc2b4
mov eax, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi + 0x20]
xor ecx, ecx
mov dword [ebp - 0x30], eax
cmp dword [eax + 4], ecx
je 0x4eac46
lea edi, [esi + 0x38]
mov eax, dword [edi]
lea ebx, [esi + 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
mov dword [edi], ecx
mov dword [ebx], ecx
mov ecx, esi
mov dword [ebp - 0x38], eax
call fcn.004e9117
push dword [ebp - 0x30]
mov ecx, esi
call fcn.004ea082
push edi
call fcn.004c8a53
push ebx
call fcn.004c8a53
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx], eax
jmp 0x4ead05
push 0x15
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004e9030
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x80], ebx
jne 0x4eacac
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a2109
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push ebx
push ebx
push 0x11012
push dword [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
call dword [ecx + 0x14]
cmp eax, ebx
je 0x4eac93
push eax
call fcn.004a0f4e
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov dword [esi + 0x4c], eax
mov byte [esi + 0x47], 1
call fcn.00401450
push 0x55fe38
push dword [esi + 0x24]
call fcn.004c8a2d
and dword [ebp - 0x2c], 0
cmp dword [edi + 0x80], 0
mov ebx, eax
je 0x4eacd2
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x4eace5
push dword [edi + 0x80]
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.ole32.dll_OleSave]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
cmp dword [ebp - 0x2c], 0
jge 0x4eacf6
push dword [ebp - 0x2c]
jmp 0x4eac8e
mov eax, dword [ebp - 0x34]
push 2
mov byte [esi + 0x47], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
call fcn.004fc337
ret 4
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0x78], 0
je 0x4ead4e
pop ebp
jmp 0x4eabe8
pop ebp
jmp fcn.004ea082

Function at 0x4f6592
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x589758]
jne 0x4f659c
repz ret
jmp fcn.00503f14
Function at 0x51b5c3
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.00503373
and dword [ebp - 4], 0
cmp dword [0x81384c], 0
mov ebx, eax
jne 0x51b674
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51b725
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x55ca98
push edi
call esi
test eax, eax
je 0x51b725
push eax
call fcn.00503301
mov dword [esp], 0x55ca88
push edi
mov dword [0x81384c], eax
call esi
push eax
call fcn.00503301
mov dword [esp], 0x55ca74
push edi
mov dword [0x813850], eax
call esi
push eax
call fcn.00503301
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x813854], eax
call esi
push eax
call fcn.00503301
pop ecx
mov dword [0x81385c], eax
test eax, eax
je 0x51b674
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00503301
pop ecx
mov dword [0x813858], eax
mov eax, dword [0x813858]
cmp eax, ebx
je 0x51b6cc
cmp dword [0x81385c], ebx
je 0x51b6cc
push eax
call fcn.0050337c
push dword [0x81385c]
mov esi, eax
call fcn.0050337c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x51b6cc
test edi, edi
je 0x51b6cc
call esi
test eax, eax
je 0x51b6c3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x51b6c3
test byte [ebp - 0xc], 1
jne 0x51b6cc
or dword [ebp + 0x10], 0x200000
jmp 0x51b705
mov eax, dword [0x813850]
cmp eax, ebx
je 0x51b705
push eax
call fcn.0050337c
pop ecx
test eax, eax
je 0x51b705
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51b705
mov eax, dword [0x813854]
cmp eax, ebx
je 0x51b705
push eax
call fcn.0050337c
pop ecx
test eax, eax
je 0x51b705
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x81384c]
call fcn.0050337c
pop ecx
test eax, eax
je 0x51b725
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51b727
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x483c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7e000]
push edi
jmp 0x483caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x483cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x483ca0
mov eax, 1
add ebx, ebx
jne 0x483cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x483cb8
jne 0x483cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x483cb8
xor ecx, ecx
sub eax, 3
jb 0x483ce8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x483d5a
mov ebp, eax
add ebx, ebx
jne 0x483cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x483d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x483d24
inc ecx
add ebx, ebx
jne 0x483d10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x483d05
jne 0x483d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x483d05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x483d44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x483d35
jmp 0x483ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x483d44
add edi, ecx
jmp 0x483ca6
pop esi
mov edi, esi
mov ecx, 0x26f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x483d62
cmp byte [edi], 0
jne 0x483d62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x483d67
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x483ddf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa7a1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa7ad4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x483d94
mov ecx, edi
jns 0x483dc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa7adc]
or eax, eax
je 0x483dd9
mov dword [ebx], eax
add ebx, 4
jmp 0x483db1
call dword [esi + 0xa7ad8]
mov ebp, dword [esi + 0xa7ae0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x483e13
sub esp, 0xffffff80
jmp 0x403359
Function at 0x40aed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fd0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00455015
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40af5b
push eax
push esi
call fcn.0045555c
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00455260
int3

Function at 0x40b7e0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
call ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
test esi, esi
jle 0x40b828
nop
mov eax, dword [ebp - 4]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40b833
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp + 8]
cmp eax, 0x7530
ja 0x40b833
test esi, esi
jg 0x40b800
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40b840
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
call ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
test esi, esi
jle 0x40b889
nop
mov eax, dword [ebp - 4]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40b894
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp + 8]
cmp eax, 0x7530
ja 0x40b894
test esi, esi
jg 0x40b860
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b8a0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, 1
lea edi, [ebp - 1]
call ebx
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 8]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40b937
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7530
ja 0x40b937
test esi, esi
jg 0x40b8c0
cmp byte [ebp - 1], 0x3a
jne 0x40b8b2
mov esi, 1
lea edi, [ebp - 1]
call ebx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov eax, dword [ebp - 8]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40b937
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7530
ja 0x40b937
test esi, esi
jg 0x40b900
cmp byte [ebp - 1], 0x20
jne 0x40b8b2
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b940
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
push esi
push edi
cmp byte [eax + 0x68], 0
mov dword [ebp - 8], eax
je 0x40b9e7
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
mov esi, 1
lea edi, [ebp - 1]
call ebx
mov dword [ebp - 0xc], eax
nop dword [eax]
mov eax, dword [ebp - 8]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40b9e7
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7530
ja 0x40b9e7
test esi, esi
jg 0x40b970
cmp byte [ebp - 1], 0x3e
jne 0x40b960
mov esi, 1
lea edi, [ebp - 1]
call ebx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
mov eax, dword [ebp - 8]
push 0
push esi
push edi
push dword [eax + 0x60]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x40b9e7
sub esi, eax
add edi, eax
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7530
ja 0x40b9e7
test esi, esi
jg 0x40b9b0
cmp byte [ebp - 1], 0x20
jne 0x40b960
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret