joyce8/EMBER2024-capa huggingface dataset:
Function at 0x205f914
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
jne 0x205f94d
xor eax, eax
jmp 0x205fa29
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp + 0xc]
cdq
and eax, 0xffff0000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x2c]
jne 0x205f984
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x205f9fa
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], 0
jmp 0x205f9a9
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x205f9db
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
push eax
call fcn.0205f534
add esp, 8
test eax, eax
jne 0x205f9d9
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x205f9db
jmp 0x205f9a0
cmp dword [ebp - 0x10], 0
jl 0x205f9fa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x205fa0b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x14]
jb 0x205fa0f
xor eax, eax
jmp 0x205fa29
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x401f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5a61c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 0x205], 0
call fcn.00402300
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
push eax
push 0x100
lea ecx, [ebp - 0x204]
push ecx
call fcn.0052bd3e
add esp, 0xc
movzx edx, byte [0x5b1d74]
cmp edx, 1
jne 0x402031
push 0x586f24
push 0xf4
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x401f90
xor eax, eax
jmp 0x4020fb
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x401fba
xor eax, eax
jmp 0x4020fb
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x401fdd
xor eax, eax
jmp 0x4020fb
push 0x5b1d76
lea ecx, [ebp - 0x204]
push ecx
call fcn.00402200
add esp, 8
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.00402110
test eax, eax
je 0x402025
mov byte [ebp - 0x205], 1
jmp 0x40202c
mov byte [ebp - 0x205], 0
jmp 0x4020f4
push 0x586f2c
push 0xf5
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x40205e
xor eax, eax
jmp 0x4020fb
mov ecx, dword [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x402085
xor eax, eax
jmp 0x4020fb
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x4020a5
xor eax, eax
jmp 0x4020fb
push 0x5b1f76
lea ecx, [ebp - 0x204]
push ecx
call fcn.00402200
add esp, 8
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
lea edx, [ebp - 0x204]
push edx
mov ecx, dword [ebp - 0x21c]
call fcn.00402110
test eax, eax
je 0x4020ed
mov byte [ebp - 0x205], 1
jmp 0x4020f4
mov byte [ebp - 0x205], 0
movzx eax, byte [ebp - 0x205]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052bbef
mov esp, ebp
pop ebp
ret 4
Function at 0x4032f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403314
xor eax, eax
jmp 0x403394
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40332b
xor eax, eax
jmp 0x403394
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x403377
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x403377
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40334e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x403383
xor eax, eax
jmp 0x403394
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x403391
xor eax, eax
jmp 0x403394
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x410c9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004145fe
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x410cd2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00410cf3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x419df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x419e35
call fcn.004145fe
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419e35
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419e51
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048b932
mov ebx, eax
test edi, edi
je 0x419e4f
test esi, esi
je 0x419e4f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44aeca
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x44af05
Function at 0x44b565
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44b561
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x44b57f
movzx eax, ax
lea eax, [eax + eax*4]
add al, 0x80
add al, 0x80
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44b5dd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44b5c4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44b5cd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44b5d7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44b5b9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44b543
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44b62a
dec eax
je 0x44b621
sub eax, 3
je 0x44b618
mov dword [ebp - 4], 0x40
jmp 0x44b647
mov dword [ebp - 4], 4
jmp 0x44b62d
mov dword [ebp - 4], 0x20
jmp 0x44b62d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44b679
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44b5f9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0044ae8a
jle 0x44b6d8
std
or bh, bh
jne 0x44b684
push 1
push esi
call edi
mov eax, esi
jmp 0x44b685
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
cld
invalid
Function at 0x4bcd35
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x54cf43
call fcn.0052c936
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404271
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x556a14
call fcn.0040445f
cmp eax, 0xffffffff
jne 0x4bcde9
push 0
push 0x558600
lea ecx, [ebp - 0x4d0]
call fcn.0040445f
cmp eax, 0xffffffff
jne 0x4bcde9
push 0
push 0x555214
lea ecx, [ebp - 0x4d0]
call fcn.0040445f
cmp eax, 0xffffffff
jne 0x4bcde9
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00404271
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4bcdc5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.004024e0
jmp 0x4bce18
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00404b29
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.004024e0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4bce0f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4bce18
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.004024e0
mov eax, ebx
call fcn.0052c8e5
ret

Function at 0x4f5357
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041777c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4f5393
call fcn.004f5576
mov dword [esi + 0xc], 1
jmp 0x4f5398
call fcn.004f5576
cmp dword [esi], 0
je 0x4f53e1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4f53bb
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004174fa
jmp 0x4f53cc
push 0xff
mov ecx, esi
call fcn.00402740
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00414e4d
jmp 0x4f5405
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4f5405
push dword [esi]
push dword [ebp - 4]
call fcn.004202ad
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f54cb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004f5576
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4f5513
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004174fa
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00414e4d
jmp 0x4f551e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004202ad
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x53e8e0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a61c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0053317a
mov dword [ebp - 0x14], eax
cmp dword [0x5b1bd4], esi
jne 0x53e9d3
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x53e960
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x53eab3
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x53eab3
push 0x582a78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53eab3
push eax
call ebx
push 0x582a84
push edi
mov dword [0x5b1bd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x582a94
push edi
mov dword [0x5b1bd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5b1bdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b1be4], eax
test eax, eax
je 0x53e9d0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b1be0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x53e9f8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x53e9eb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x53ea0d
push 4
pop eax
jmp 0x53eab5
cmp dword [ebp - 0x14], esi
je 0x53ea0d
push dword [0x5b1bd4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x53e9f2
mov eax, dword [0x5b1be0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x53ea6b
cmp dword [0x5b1be4], edi
je 0x53ea6b
push eax
call ebx
push dword [0x5b1be4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x53ea6b
test eax, eax
je 0x53ea6b
call ecx
test eax, eax
je 0x53ea60
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x53ea60
test byte [ebp - 8], 1
jne 0x53ea6b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x53ea9b
mov eax, dword [0x5b1bd8]
cmp eax, edi
je 0x53ea98
push eax
call ebx
test eax, eax
je 0x53ea98
call eax
mov esi, eax
test esi, esi
je 0x53ea98
mov eax, dword [0x5b1bdc]
cmp eax, edi
je 0x53ea98
push eax
call ebx
test eax, eax
je 0x53ea98
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5b1bd4]
call ebx
test eax, eax
je 0x53eab3
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x53eab5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052bbef
mov esp, ebp
pop ebp
ret
Function at 0x4086d6
Capabilities:
Check for trap flag exception

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
pushfd
or dword [esp], 0x100
popfd
clc
call fcn.004086fb

Function at 0x40b6d3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40b6f1
mov eax, 0x53ec8c
push eax
push 1
mov ebx, 0x4abe30
call fcn.004ab81f
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40b71b
mov eax, 0
jmp 0x40b78f
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40b77c
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40b765
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40b754
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40b745
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x410dc3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jle 0x410df8
push dword [ebp + 8]
call fcn.0040c1e1
mov dword [ebp - 0x10], eax
cmp word [ebp - 0x10], 0x5a4d
jne 0x410df8
xor eax, eax
jmp 0x410dfd
mov eax, 1
test eax, eax
je 0x410e0f
mov eax, 0
jmp 0x410fd8
fild dword [ebp + 8]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x553835]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00406225
push eax
call fcn.0040c241
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00406225
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0040c241
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4550
jne 0x410ec8
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x55384d]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00406225
push eax
call fcn.0040c1e1
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x2000
mov eax, dword [ebp - 0x24]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x4abc90
call fcn.004ab81f
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x410ec8
xor eax, eax
jmp 0x410ecd
mov eax, 1
test eax, eax
je 0x410edf
mov eax, 0
jmp 0x410fd8
fild dword [ebp - 4]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x55385d]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.00406225
push eax
call fcn.0040c241
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x30]
call fcn.00406225
push eax
call fcn.0040cc90
lea eax, [ebp + 8]
push eax
call fcn.0040c4c0
jmp 0x410fd8
mov esp, ebp
pop ebp
ret 4
Function at 0x42f4cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x42f4e4
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x3b39a046
xor ecx, 0x15fba009
xor ecx, 0x28176547
xor ecx, 0x50998c43
xor ecx, 0x1f6135a1
xor ecx, 0x2d90e57d
xor ecx, 0x3218c508
xor ecx, 0x2cdfc249
xor ecx, 0x36b1a49f
xor ecx, 0xd13b765
xor ecx, 0x1bd63626
xor ecx, 0x392eade3
xor ecx, 0x384d3c4a
xor ecx, 0x1a6909a6
xor ecx, 0x50a4c85f
xor ecx, 0x786cb857
xor ecx, 0x6adc7392
xor ecx, 0x2f2dddb8
xor ecx, 0xd73b626
xor ecx, 0x591da2d7
xor ecx, 0x28b1c8ea
xor ecx, 0x21102ec8
xor ecx, 0x57736475
xor ecx, 0x52c2b582
xor ecx, 0x7475b04f
xor ecx, 0x4659a8a4
xor ecx, 0x4761cbfd
xor ecx, 0x3c880d0b
xor ecx, 0x5ec98a0f
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x42f54a
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x42f64d
mov esp, ebp
pop ebp
ret 8

Function at 0x42f653
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x42f668
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push ebx
mov ebx, 1
mov ebx, 2
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 4
mov ebx, 2
mov ebx, 5
mov ebx, 5
pop ebx
push edx
push ecx
push esi
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, ds:[esi*4]
mov ecx, dword [eax + ecx]
xor ecx, 0x70f8b0
xor ecx, 0x51c54968
xor ecx, 0x4fa9e847
xor ecx, 0x3ef952ce
xor ecx, 0x78db54b0
xor ecx, 0x4f31a9c1
xor ecx, 0x75f6d03f
xor ecx, 0x3c6b734b
xor ecx, 0x71450574
xor ecx, 0x1a45ecb9
xor ecx, 0x1d90516
xor ecx, 0x6108d218
xor ecx, 0x4c8ebd2d
xor ecx, 0x421a42c8
xor ecx, 0x209b7681
xor ecx, 0x6f1033ea
xor ecx, 0x1c6e86f8
xor ecx, 0x285aab7f
xor ecx, 0x1f0d1baf
xor ecx, 0x35211628
xor ecx, 0x26a7b4c1
xor ecx, 0x75a41f12
xor ecx, 0x109f2823
xor ecx, 0x20e197b2
xor ecx, 0x25dc9a0
xor ecx, 0x5ec98a0f
xor ecx, 0x3c880d0b
xor ecx, 0x4761cbfd
xor ecx, 0x4659a8a4
nop
nop
nop
nop
nop
nop
lea edx, ds:[esi*4]
mov dword [eax + edx], ecx
add esi, 1
cmp esi, dword [ebp + 0xc]
jne 0x42f6ce
pop esi
pop ecx
pop edx
nop
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x42f7d1
mov esp, ebp
pop ebp
ret 8