joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bb00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x43cd70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f66e0]
mov dword [ebp - 0x18], eax
push esi
push edi
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x228]
mov word [eax + 0x3e], 0x4e4
cmp dword [ebp - 0x228], 0
je 0x43cdaf
mov ecx, dword [ebp - 0x228]
add ecx, 4
mov dword [ebp - 0x22c], ecx
jmp 0x43cdb9
mov dword [ebp - 0x22c], 0
push 0x34
push 0
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00499140
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43cdec
cmp dword [ebp + 8], 0
je 0x43cdec
xor eax, eax
jmp 0x43cf1a
push 0x104
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x43ce12
xor eax, eax
jmp 0x43cf1a
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
ja 0x43ce32
xor eax, eax
jmp 0x43cf1a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b5d20
add esp, 4
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x220]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43ce7a
xor eax, eax
jmp 0x43cf1a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4cd7a8
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x38]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43ce9e
xor eax, eax
jmp 0x43cf1a
cmp dword [ebp - 0x228], 0
je 0x43ceb8
mov ecx, dword [ebp - 0x228]
add ecx, 4
mov dword [ebp - 0x230], ecx
jmp 0x43cec2
mov dword [ebp - 0x230], 0
mov esi, dword [ebp - 4]
mov ecx, 0xd
mov edi, dword [ebp - 0x230]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
push 0x4cfdd4
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx + 0x38]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43cf06
cmp dword [ebp - 0x10], 4
jb 0x43cf06
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x228]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x228]
xor ecx, ecx
cmp dword [eax + 4], 0xfeef04bd
sete cl
mov eax, ecx
mov ecx, dword [ebp - 0x18]
call fcn.00498784
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43f090
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
push 0
push 1
push 2
call fcn.004ae820
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x60]
cmp dword [edx + 4], 0xffffffff
jne 0x43f0fb
push 0x4c89d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 7
push 0
call fcn.0043ec20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x43f460
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call fcn.004ae83e
cmp eax, 0xffffffff
jne 0x43f4ca
push 0x4c89d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 7
push 0
call fcn.0043ec20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f4e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call fcn.004ae844
cmp eax, 0xffffffff
jne 0x43f54c
push 0x4c89d4
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 7
push 0
call fcn.0043ec20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f560
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c34d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x64], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
push eax
call fcn.004ae84a
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x43f5d0
push 0x4c89d4
lea ecx, [ebp - 0x14]
call fcn.00401e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
push 7
push 0
call fcn.0043ec20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044e670
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f620
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c356b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov dword [ebp - 0x178], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0x40
jae 0x43f6a6
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
mov dword [ebp + edx*4 - 0x118], ecx
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
xor eax, eax
jne 0x43f678
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
lea edx, [ebp - 0x11c]
push edx
push 0
call fcn.004ae856
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x43f708
push 0x4c89d4
lea ecx, [ebp - 0x128]
call fcn.00401e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
push eax
push 7
push 0
call fcn.0043ec20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0044e670
xor eax, eax
cmp dword [ebp - 0x10], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x447cd0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4f66e0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x160], ecx
cmp dword [ebp + 0x14], 0x40
jle 0x447d39
lea eax, [ebp - 0x158]
push eax
call fcn.0043bb00
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0043bb40
add esp, 0xc
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.0043bc40
add esp, 8
lea eax, [ebp - 0xa8]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], 0x10
push 0x40
push 0
lea ecx, [ebp - 0x98]
push ecx
call fcn.00499140
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.00499140
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00498400
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00498400
add esp, 0xc
mov dword [ebp - 0x15c], 0
jmp 0x447da2
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0x40
jge 0x447de3
mov ecx, dword [ebp - 0x15c]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x36
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x98], dl
mov ecx, dword [ebp - 0x15c]
movzx edx, byte [ebp + ecx - 0x50]
xor edx, 0x5c
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x50], dl
jmp 0x447d93
lea ecx, [ebp - 0x100]
push ecx
call fcn.0043bb00
add esp, 4
push 0x40
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0043bb40
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.0043bb40
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0043bc40
add esp, 8
lea eax, [ebp - 0x100]
push eax
call fcn.0043bb00
add esp, 4
push 0x40
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0043bb40
add esp, 0xc
push 0x10
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.0043bb40
add esp, 0xc
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.0043bc40
add esp, 8
mov ecx, dword [ebp - 4]
call fcn.00498784
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44e270
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
add eax, 0x130
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
sub eax, 0x104
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 8]
jge 0x44e2c0
push 0x104
mov ecx, dword [ebp - 0x14]
call fcn.004024d0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x64]
add ecx, 0x130
call fcn.0041bbd0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x44e33b
mov edx, dword [ebp - 0x64]
add edx, 0x130
mov dword [ebp - 0x38], edx
mov eax, 0x4d17b8
test eax, eax
jne 0x44e31a
mov dword [ebp - 0x20], 0
jmp 0x44e32a
push 0x4d17b8
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x4d17b8
mov ecx, dword [ebp - 0x38]
call fcn.004023c0
mov edx, dword [ebp - 0x64]
add edx, 0x130
mov dword [ebp - 0x58], edx
mov eax, 0x4d179c
test eax, eax
jne 0x44e359
mov dword [ebp - 0x3c], 0
jmp 0x44e369
push 0x4d179c
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
push 0x4d179c
mov ecx, dword [ebp - 0x58]
call fcn.00401ba0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [0x4c8504]
test eax, eax
jne 0x44e3ac
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x130]
mov dword [ebp - 0x60], eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x44e3c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x130]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x44e3e5
xor eax, eax
jmp 0x44e4e4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
push 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x130
call fcn.00430710
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
push 0x4cd7a8
mov eax, dword [ebp - 0x34]
push eax
call fcn.0049981b
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x2c]
call fcn.0044e670
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x44e47b
mov edx, dword [ebp - 0x78]
add edx, 0x130
mov dword [ebp - 0x5c], edx
mov eax, 0x4cd7a8
test eax, eax
jne 0x44e45a
mov dword [ebp - 0x40], 0
jmp 0x44e46a
push 0x4cd7a8
call fcn.0049873d
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
push 0x4cd7a8
mov ecx, dword [ebp - 0x5c]
call fcn.00401ba0
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x130]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x60], ecx
push 0
mov edx, dword [ebp - 0x60]
sub edx, 1
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 0x130
call fcn.00430850
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x130]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
mov word [ebp - 0x10], 0x14
mov dword [ebp - 0xa], 0
mov dword [ebp - 6], 0
lea eax, [ebp - 0x20]
push eax
call dword [0x4c84e4]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp dword [ebp - 0x24], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x459ae0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.TreePropSheet::CThemeLibEx.0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0
push 0x4d3424
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x459b19
jmp 0x459bc1
push 0x4d33d8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x4d33e4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push 0x4d3378
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x4d3388
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0x4d3404
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x4d3398
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
push 0x4d33f4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x45be10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0
push 0
push 0x476
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45be47
mov eax, 1
jmp 0x45beab
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45be5c
mov eax, 1
jmp 0x45beab
mov dword [ebp - 8], 0xffffff37
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x18]
call fcn.004b5143
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45be9a
xor eax, eax
jmp 0x45beab
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x466510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x466520
xor eax, eax
jmp 0x4666bd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x46667e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d51a0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d51a0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d51a0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d51a0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d51a0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d51a0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d51a0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d51a0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x466529
cmp dword [ebp + 0x10], 0
je 0x4666b7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d51a0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x466684
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4666c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d51a0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d51a0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x467670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x4676bf
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4676b5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x467719
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x4676df
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00498400
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x468d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x468d7a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x468d84
mov eax, 0x1000000
jmp 0x468e5e
mov edx, dword [ebp - 0x18]
add edx, 0x240
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x240
push eax
call fcn.0049873d
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + eax*2 + 0x23e]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x468de2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x468de2
push 0x4cd7a8
mov edx, dword [ebp - 0x18]
add edx, 0x240
push edx
call fcn.00498b7a
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x468e16
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x468e16
mov eax, 0x2000000
jmp 0x468e5e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00467350
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x468e3c
mov eax, dword [ebp - 0xc]
jmp 0x468e5e
mov ecx, dword [ebp - 4]
push ecx
call fcn.00467a20
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x468e5c
mov eax, 0x200
jmp 0x468e5e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc