joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472d70
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x30008
call fcn.0049b300
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x472d8a
cmp word [esi], 0
jne 0x472d8f
mov esi, str.ERROR
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov word [esp + 0x10014], ax
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x3001c]
push 0x8000
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp word [ebx], 0
je 0x472e0d
cmp word [edi], 0
jne 0x472dcd
lea edi, [esp + 8]
lea edx, [esp + 0x10]
push edx
push 0xffff
lea eax, [esp + 0x10018]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [0x4ca4b0]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1001c]
push eax
push ecx
call fcn.004797c0
pop edi
pop esi
add esp, 0x30008
ret 4
cmp word [edi], 0
je 0x472e2e
lea ecx, [esp + 0x10]
push ecx
push 0xffff
lea edx, [esp + 0x10018]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x472e46
lea eax, [esp + 0x10]
push eax
push 0xffff
lea ecx, [esp + 0x10018]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
test eax, eax
je 0x472de8
lea eax, [esp + 0x10010]
cmp word [eax], 0
jne 0x472e66
cmp word [eax + 2], 0
je 0x472de8
mov edx, 0xa
mov word [eax], dx
add eax, 2
jmp 0x472e51

Function at 0x472e70
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov esi, eax
mov ebp, 1
push edi
mov dword [esp + 0x10], ebp
test esi, esi
je 0x472eec
cmp word [esi], 0
je 0x472eec
push 4
push 0x4c0800
push esi
call fcn.00491e05
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x472ea8
lea eax, [esi + 8]
mov ebx, 0x4ade40
call fcn.00409ab0
test eax, eax
je 0x472edb
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x472eec
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
test al, al
jne 0x472ece
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x472ece
mov edx, dword [esp + 0x26c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472f15
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, esi
sar eax, 1
mov esi, eax
mov ecx, 0x5d
push 0
mov word [edx + esi*2], cx
lea edx, [esp + 0x18]
push edx
push 4
push 0x4c0670
push edi
lea ebx, [esi + esi + 2]
call ebp
test eax, eax
je 0x472f72
cmp dword [esp + 0x14], 4
jne 0x472f72
mov ecx, dword [esp + 0x26c]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push edi
call ebp
test eax, eax
je 0x472f72
cmp dword [esp + 0x14], ebx
je 0x472f7a
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x472f89
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x26c]
pop edi
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x258
ret
Function at 0x4740d0
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esi + 0x2c]
push ebx
push ebp
xor ebp, ebp
push edi
cmp eax, ebp
je 0x4740f6
sub eax, dword [esi + 0x30]
mov edi, dword [esi]
sub eax, dword [esi + 8]
push 1
cdq
push edx
push eax
mov eax, dword [edi + 0x14]
mov ecx, esi
call eax
mov dword [esi + 0x2c], ebp
mov dword [esi + 8], ebp
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x474113
cmp dword [esi + 0x2c], ebp
jne 0x474113
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call edx
mov dword [esi + 8], ebp
mov edx, dword [esi]
xor eax, eax
mov word [esi + 0x28], ax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebp
push eax
mov ecx, esi
call edx
test al, al
je 0x474180
mov eax, dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x474180
cmp ebp, ebx
jg 0x474160
jl 0x474158
cmp dword [esp + 0x10], edi
jae 0x474160
mov eax, dword [esp + 0x10]
mov ecx, ebp
jmp 0x474164
mov eax, edi
mov ecx, ebx
mov edx, dword [esi]
push 0
push ecx
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
pop edi
pop ebp
pop ebx
ret 8
pop edi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
ret 8

Function at 0x4774c0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x258
push ebx
test esi, esi
je 0x477541
cmp word [esi], 0
je 0x477541
push 4
push 0x4c0800
push esi
call fcn.00491e05
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x4774ea
lea eax, [esi + 8]
mov ebx, 0x4ade40
call fcn.00409ab0
test eax, eax
je 0x477524
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x477541
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x47751a
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov al, 1
pop ebx
add esp, 0x258
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test edi, edi
je 0x477531
mov dword [edi], eax
xor edx, edx
cmp eax, 0xffffffff
setne al
pop ebx
add esp, 0x258
ret
xor al, al
pop ebx
add esp, 0x258
ret

Function at 0x477840
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp], eax
cmp eax, 0xffffffff
jne 0x477877
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x477874
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 0xc
ret
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
ret
Function at 0x479600
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov ecx, 0x4cc048
call fcn.004049b0
test eax, eax
jne 0x47962d
push 0x4a3920
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4cb508
call fcn.00430950
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x1c]
add eax, esi
mov ebp, esi
add esi, 4
mov dword [esp + 0x10], eax
cmp esi, eax
jbe 0x479694
xor esi, esi
cmp dword [0x4cc060], esi
je 0x479680
cmp dword [0x4cc050], esi
je 0x47966e
mov edx, dword [0x4cc048]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cc050], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cc060], esi
mov dword [0x4cc048], esi
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x479649
mov ecx, esi
add esi, 4
cmp esi, eax
ja 0x479649
mov ebx, dword [ecx]
mov ebp, esi
add esi, ebx
cmp esi, eax
ja 0x479649
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, ebx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x47970b
test ebx, ebx
je 0x4796f1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x479761
push ebx
push ebp
push eax
call fcn.00497ff0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebp, esi
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp + 4]
cmp esi, dword [esp + 0x10]
jbe 0x479690
jmp 0x479649
cmp dword [0x4cc060], 0
je 0x479745
cmp dword [0x4cc050], 0
je 0x479733
mov eax, dword [0x4cc048]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cc050], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4cc060], eax
mov dword [0x4cc048], eax
push 0x4a3920
push str.Out_of_memory.
mov ecx, 0x4cb508
call fcn.00430950
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4cc060], esi
je 0x47979f
cmp dword [0x4cc050], esi
je 0x47978d
mov ecx, dword [0x4cc048]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4cc050], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4cc060], esi
mov dword [0x4cc048], esi
push 0x4a3920
push 0x4a3c7c
mov ecx, 0x4cb508
call fcn.00430950
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x47ab00
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.0049b300
mov eax, dword [esp + 0x11c70]
push ebx
push ebp
mov ebp, dword [esp + 0x11c74]
push esi
mov esi, ecx
movzx ecx, word [edx]
xor ebx, ebx
cmp ecx, 0x41
je 0x47ab2c
cmp ecx, 0x61
jne 0x47ab8e
cmp word [edx + 2], bx
jne 0x47ab8e
cmp word [edi], bx
jne 0x47ab8e
cmp word [eax], bx
jne 0x47ab8e
cmp word [esi], bx
jne 0x47ab8e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x47ab6f
cmp byte [ebp + 0xea], bl
jne 0x47ab6f
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47ab6d
push esi
call fcn.0047b760
add esp, 4
test al, al
je 0x47ab6f
xor esi, esi
cmp byte [esp + 0x11c84], bl
je 0x47ab82
cmp esi, ebx
je 0x47ab82
mov dword [ebp + 0xc4], esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
cmp cx, bx
jne 0x47abb3
cmp word [edi], bx
jne 0x47abb3
cmp word [eax], bx
jne 0x47abb3
cmp word [esi], bx
jne 0x47abb3
mov eax, ebp
call fcn.0047ad10
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
push esi
push edi
push edx
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x102c], 0x4a3920
mov byte [esp + 0x1849], bl
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1850], ebx
mov dword [esp + 0x1854], ebx
mov dword [esp + 0x1858], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov dword [esp + 0x186c], ebx
mov dword [esp + 0x1870], ebx
call fcn.0047b8c0
test eax, eax
je 0x47acc2
test byte [esp + 0x10], 2
mov al, byte [esp + 0x11c80]
mov ecx, dword [esp + 0x11c88]
mov edx, dword [esp + 0x11c8c]
mov byte [esp + 0x1839], al
mov dword [esp + 0x1848], ecx
mov dword [esp + 0x184c], edx
je 0x47acce
mov eax, dword [esp + 0x102c]
cmp eax, 0xffff
je 0x47ac9a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47acc2
cmp byte [ebp + 0xea], bl
jne 0x47ac93
mov esi, dword [esp + 0x102c]
call fcn.0047b7d0
cmp al, bl
jne 0x47ac93
mov eax, dword [esp + 0x102c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x47acc2
mov eax, dword [esp + 0x102c]
cmp dword [esp + 0x1860], eax
je 0x47acb3
lea esi, [esp + 0x10]
mov dword [esp + 0x1860], eax
call fcn.0047bd20
push ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.0047bde0
test eax, eax
jne 0x47acde
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
lea edx, [esp + 0x10]
push edx
push 0x47ad90
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x1840]
cmp byte [esp + 0x11c84], bl
je 0x47acf8
cmp eax, ebx
je 0x47acf8
mov dword [ebp + 0xc4], eax
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret
Function at 0x47bd20
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov ecx, dword [esi + 0x1850]
test ecx, ecx
je 0x47bdde
mov eax, dword [esi]
test eax, eax
je 0x47bdde
push edi
test al, 1
jne 0x47bd4a
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x47bd66
push 0x7fff
lea edi, [esi + 0x1858]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x47bd66
xor ecx, ecx
mov word [edi], cx
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x47bd81
mov eax, dword [esi + 0x1850]
lea edx, [esi + 0x1854]
push edx
push eax
call edi
test byte [esi], 0x20
je 0x47bdbf
mov edx, dword [esi + 0x1850]
lea ecx, [esp + 4]
push ecx
push edx
call edi
test eax, eax
je 0x47bdbf
movzx eax, byte [esi + 0x1828]
mov ecx, dword [esp + 4]
push eax
lea eax, [esi + 0x11a58]
call fcn.004520b0
add esp, 4
test eax, eax
jne 0x47bdbf
xor ecx, ecx
mov word [esi + 0x11a58], cx
test byte [esi], 8
pop edi
je 0x47bdde
mov eax, dword [esi + 0x1850]
push 0x101
lea edx, [esi + 0x11856]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
pop ecx
ret

Function at 0x47c620
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c64
call fcn.0049b300
mov eax, dword [esp + 0x11c68]
mov eax, dword [eax + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x47c6cd
mov dword [esp + 0x1848], eax
lea eax, [esp + 8]
push eax
push 0x47cda0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x101c], 0x4a3920
mov byte [esp + 0x1839], bl
mov dword [esp + 0x183c], ebx
mov dword [esp + 0x1840], ebx
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x185c], ebx
mov dword [esp + 0x1860], ebx
mov byte [esp + 0x1854], cl
mov dword [esp + 0x1858], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1838], ebx
je 0x47c6cd
mov ecx, dword [0x4c6a44]
mov eax, dword [ecx + 0x54]
cmp eax, 0xffffffff
jle 0x47c6cd
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop ebx
add esp, 0x11c64
ret 4
Function at 0x47c970
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11c68
call fcn.0049b300
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x47caf0
xor cl, cl
mov eax, edi
call fcn.0047cb10
test eax, eax
jne 0x47c9a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
mov eax, dword [0x4c6a44]
push eax
push ebp
mov ecx, edi
call fcn.0047cba0
test eax, eax
je 0x47c9c8
xor eax, eax
mov dword [0x4cb4e8], eax
jmp 0x47c9cd
mov eax, dword [0x4cb4e8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1024], 0x4a3920
mov dword [esp + 0x1844], ebx
mov dword [esp + 0x1848], ebx
mov dword [esp + 0x184c], ebx
mov dword [esp + 0x1864], ebx
mov dword [esp + 0x1868], ebx
cmp byte [esp + 0x11c7c], bl
je 0x47ca13
mov byte [esp + 0x1841], bl
cmp eax, ebx
je 0x47ca1b
mov byte [esp + 0x1841], 1
mov ecx, dword [0x4cb4e4]
mov edx, dword [edi + 8]
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
lea eax, [esp + 0x18]
push eax
push 0x47cc70
mov dword [esp + 0x1858], ecx
mov dword [esp + 0x1860], edx
call esi
mov eax, dword [esp + 0x1848]
cmp eax, ebx
je 0x47cac8
lea ecx, [esp + 0x10]
push ecx
push 0x47b630
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call esi
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x47ca85
mov edx, dword [esp + 0x1848]
call fcn.0047c2b0
mov dword [esp + 0x1848], esi
mov eax, dword [esp + 0x1848]
call fcn.0047a5b0
mov edx, dword [esp + 0x1848]
call fcn.0047c2b0
mov edx, dword [0x4c6a44]
mov eax, dword [edx + 0x54]
cmp eax, 0xffffffff
jle 0x47caf0
push 1
push eax
call fcn.004013d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c68
ret 4
mov eax, dword [0x4cb4e8]
cmp eax, ebx
je 0x47caf0
cmp eax, 1
setg al
mov dword [0x4cb4e8], ebx
cmp al, bl
je 0x47caf0
mov edx, ebp
call fcn.0047c2b0
push ebx
mov ecx, edi
call fcn.0047c970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x11c68
ret 4
Function at 0x496a86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c5dd0]
jne 0x496a90
repz ret
jmp fcn.0049b016

Function at 0x499220
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c5dd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00493962
and dword [ebp - 0x14], 0
cmp dword [0x4c8cd4], 0
mov dword [ebp - 0x18], eax
jne 0x4992d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49937b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a3030
push ebx
call edi
test eax, eax
je 0x49937b
mov esi, dword [fcn.0048fd10]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c8cd4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c8cd8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c8cdc], eax
call edi
push eax
call esi
mov dword [0x4c8ce4], eax
test eax, eax
je 0x4992d3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c8ce0], eax
mov eax, dword [0x4c8ce0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048fd14]
cmp eax, ecx
je 0x49932c
cmp dword [0x4c8ce4], ecx
je 0x49932c
push eax
call esi
push dword [0x4c8ce4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49932c
test ebx, ebx
je 0x49932c
call edi
test eax, eax
je 0x499323
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x499323
test byte [ebp - 8], 1
jne 0x49932c
or dword [ebp + 0x10], 0x200000
jmp 0x49935f
mov eax, dword [0x4c8cd8]
cmp eax, dword [ebp - 0x18]
je 0x49935f
push eax
call esi
test eax, eax
je 0x49935f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49935f
mov eax, dword [0x4c8cdc]
cmp eax, dword [ebp - 0x18]
je 0x49935f
push eax
call esi
test eax, eax
je 0x49935f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c8cd4]
call esi
test eax, eax
je 0x49937b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49937d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496a86
leave
ret
Function at 0x4032f6
Capabilities:
Encode data using xor

Disassembly:
inc eax
pop esi
xor dword [esi + 0xe], 0x93bf43a9
sub esi, 0xfffffffc
loop 0x4032f9
ret

Function at 0x4063a0
Capabilities:
Get socket status

Disassembly:
push ebp
cmpsd dword [esi], dword es:[edi]
in al, dx
mov eax, 0x3020
call 0x410f40
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 4]
test esp, edx
or dl, byte [esp + eax*8]
inc ebp
adc al, 0x5f
pop esi
xchg ebp, eax
mov byte [0x600000], al
add byte [ebx], dh
ror byte [ebx - 0x153da21b], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
test esi, esi
jo 0x4063e2
jl 0x4063de
test edi, edi
jae 0x40640d
xor eax, eax
shl dword [0x4068006a], 1
inc edx
lldt word [esi + 0x13]
call 0xe4b5aa
scasb al, byte es:[edi]
push 0
push 0xf4240
push esi
adc ebp, eax
mov edx, 0xae00a451
fsubr qword [ecx + 0xf4240]
inc ebp
push edi
dec esp
inc ebp
in al, dx
call 0x40cc50
mov dword [eax + esi*8 - 0x73], eax
inc ebp
in al, dx
mov ecx, 0x960401
lea esi, [ebx + 0xc]
jae 0x40641b
lea eax, [esi - 0x1c]
fbld tbyte [edx]
call dword [eax - 0x35]
fistp qword [ecx - 0x40fffbff]
invalid
add byte [edi + 0x1010fb8d], bh
add al, 0x5d
lea edi, [ebp - 0x1018]
lea esi, [ebp - 0xf818]
rep movsd dword es:[edi], dword [esi]
jo 0x406434
add al, 0
add byte [ebp + 0x2014b3], cl
add byte [ebp - 0x301f43], cl
add byte [eax], al
lea esi, [ebx + 0x2014]
lea edi, [ebp - 0x3020]
dec dword [ebp - 0x201b7b]
push ebx
movsd dword es:[edi], dword [esi]
Function at 0x67cd10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b4000]
push edi
or ebp, 0xffffffff
jmp 0x67cd32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x67cd39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67cd28
mov eax, 1
add ebx, ebx
jne 0x67cd4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67cd5c
jne 0x67cd7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67cd7b
dec eax
add ebx, ebx
jne 0x67cd68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x67cd40
add ebx, ebx
jne 0x67cd77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67cdcd
xor ecx, ecx
sub eax, 3
jb 0x67cd93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x67ce02
sar eax, 1
mov ebp, eax
jmp 0x67cd9e
add ebx, ebx
jne 0x67cd9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67cd6c
inc ecx
add ebx, ebx
jne 0x67cdac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67cd6c
add ebx, ebx
jne 0x67cdb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67cdae
jne 0x67cdca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67cdae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x67cdec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x67cdde
jmp 0x67cd2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x67cdec
add edi, ecx
jmp 0x67cd2e
pop esi
mov edi, esi
mov ecx, 0x6a6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x67ce0a
cmp byte [edi], 1
jne 0x67ce0a
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 0x67ce0f
lea edi, [esi + 0x27a000]
mov eax, dword [edi]
or eax, eax
je 0x67ce87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27c3b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27c460]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67ce3c
mov ecx, edi
jns 0x67ce6b
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 + 0x27c468]
or eax, eax
je 0x67ce81
mov dword [ebx], eax
add ebx, 4
jmp 0x67ce59
call dword [esi + 0x27c464]
mov ebp, dword [esi + 0x27c46c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x67cebb
sub esp, 0xffffff80
jmp 0x40ca80