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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x40fc3b
cmp dword [ebp - 0xc], 0
je 0x40fc3b
cmp dword [ebp - 0x10], 0
je 0x40fc3b
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00410fa0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00410fd0
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x18]
call fcn.00408990
jmp 0x40fc42
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x40fe10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 0x42d01c
lea ecx, [ebp - 0x10]
call fcn.00408a20
cmp dword [ebp + 0xc], 0
je 0x40fe32
cmp dword [ebp + 0x10], 0
jne 0x40fe4e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ad30
lea ecx, [ebp - 0x10]
call fcn.00408990
mov eax, dword [ebp + 8]
jmp 0x40ff15
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, 0x435700
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40fe8e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, 0x435700
call fcn.00411270
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40fea7
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040ad30
lea ecx, [ebp - 0x10]
call fcn.00408990
mov eax, dword [ebp + 8]
jmp 0x40ff15
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 4]
call fcn.00408a20
mov ecx, dword [ebp - 8]
shr ecx, 1
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 4]
call fcn.00408be0
push eax
lea ecx, [ebp - 0x10]
call fcn.00408a60
lea ecx, [ebp - 0x18]
call fcn.00408990
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040ad30
lea ecx, [ebp - 4]
call fcn.00408990
lea ecx, [ebp - 0x10]
call fcn.00408990
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410070
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x644], ecx
lea ecx, [ebp - 0x42c]
call fcn.00408930
lea ecx, [ebp - 0x420]
call fcn.00408930
lea ecx, [ebp - 0x41c]
call fcn.00408930
mov ecx, dword [ebp - 0x644]
call fcn.00410630
test eax, eax
jne 0x4100df
lea ecx, [ebp - 0x41c]
call fcn.00408990
lea ecx, [ebp - 0x420]
call fcn.00408990
lea ecx, [ebp - 0x42c]
call fcn.00408990
jmp 0x41025e
mov ecx, dword [ebp - 0x644]
call fcn.00410270
lea ecx, [ebp - 0x424]
call fcn.00408930
lea eax, [ebp - 0x638]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x638]
test ecx, ecx
je 0x410127
lea edx, [ebp - 0x638]
push edx
call fcn.0041c0c5
add esp, 4
test eax, eax
ja 0x410158
lea ecx, [ebp - 0x424]
call fcn.00408990
lea ecx, [ebp - 0x41c]
call fcn.00408990
lea ecx, [ebp - 0x420]
call fcn.00408990
lea ecx, [ebp - 0x42c]
call fcn.00408990
jmp 0x41025e
push 0x42d05c
lea eax, [ebp - 0x638]
push eax
push 0x42d06c
lea ecx, [ebp - 0x424]
push ecx
call fcn.00403310
add esp, 0x10
push 1
push ecx
mov ecx, esp
lea edx, [ebp - 0x424]
push edx
call fcn.0040ad30
push ecx
mov ecx, esp
push 0x42d078
call fcn.00408a20
call fcn.00408510
add esp, 0xc
push str.11TabUpdate.exe
push 0x42d0b4
lea eax, [ebp - 0x638]
push eax
push 0x42d0c4
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00403310
add esp, 0x14
lea ecx, [ebp - 0x428]
call fcn.00408930
push 0x42d0d8
push 0x42d0f8
lea edx, [ebp - 0x638]
push edx
push 0x42d108
lea eax, [ebp - 0x428]
push eax
call fcn.00403310
add esp, 0x14
push 0x42d11c
push 0x42d120
lea ecx, [ebp - 0x428]
call fcn.00407570
push eax
push 0x42d124
lea ecx, [ebp - 0x428]
call fcn.00407570
push eax
push 0x42d14c
call fcn.0041a0c0
add esp, 0x18
lea ecx, [ebp - 0x428]
call fcn.00408990
lea ecx, [ebp - 0x424]
call fcn.00408990
lea ecx, [ebp - 0x41c]
call fcn.00408990
lea ecx, [ebp - 0x420]
call fcn.00408990
lea ecx, [ebp - 0x42c]
call fcn.00408990
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret
Function at 0x410270
Capabilities:
Copy file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
lea ecx, [ebp - 0x214]
call fcn.00408930
lea ecx, [ebp - 0x218]
call fcn.00408930
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x420]
test edx, edx
je 0x4102e6
lea eax, [ebp - 0x420]
push eax
call fcn.0041c0c5
add esp, 4
test eax, eax
ja 0x410301
lea ecx, [ebp - 0x218]
call fcn.00408990
lea ecx, [ebp - 0x214]
call fcn.00408990
jmp 0x4103a7
lea ecx, [ebp - 0x210]
test ecx, ecx
je 0x41031e
lea edx, [ebp - 0x210]
push edx
call fcn.0041c0c5
add esp, 4
test eax, eax
ja 0x410336
lea ecx, [ebp - 0x218]
call fcn.00408990
lea ecx, [ebp - 0x214]
call fcn.00408990
jmp 0x4103a7
push 0x42d15c
lea eax, [ebp - 0x420]
push eax
push str._s_s11tab.ico
lea ecx, [ebp - 0x214]
push ecx
call fcn.00403310
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
push str._s11tab.ico
lea eax, [ebp - 0x218]
push eax
call fcn.00403310
add esp, 0xc
push 0
lea ecx, [ebp - 0x218]
call fcn.00407570
push eax
lea ecx, [ebp - 0x214]
call fcn.00407570
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x218]
call fcn.00408990
lea ecx, [ebp - 0x214]
call fcn.00408990
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret
Function at 0x410630
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x454], ecx
lea ecx, [ebp - 0x438]
call fcn.00408930
lea ecx, [ebp - 0x440]
call fcn.00408930
lea ecx, [ebp - 4]
call fcn.00408930
lea ecx, [ebp - 0x228]
call fcn.00408930
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x430]
test edx, edx
je 0x4106b9
lea eax, [ebp - 0x430]
push eax
call fcn.0041c0c5
add esp, 4
test eax, eax
ja 0x4106f7
mov dword [ebp - 0x444], 0
lea ecx, [ebp - 0x228]
call fcn.00408990
lea ecx, [ebp - 4]
call fcn.00408990
lea ecx, [ebp - 0x440]
call fcn.00408990
lea ecx, [ebp - 0x438]
call fcn.00408990
mov eax, dword [ebp - 0x444]
jmp 0x410855
lea ecx, [ebp - 0x220]
test ecx, ecx
je 0x410714
lea edx, [ebp - 0x220]
push edx
call fcn.0041c0c5
add esp, 4
test eax, eax
ja 0x410752
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x228]
call fcn.00408990
lea ecx, [ebp - 4]
call fcn.00408990
lea ecx, [ebp - 0x440]
call fcn.00408990
lea ecx, [ebp - 0x438]
call fcn.00408990
mov eax, dword [ebp - 0x448]
jmp 0x410855
lea ecx, [ebp - 0x224]
call fcn.00408930
lea ecx, [ebp - 0x10]
call fcn.00408930
lea ecx, [ebp - 0x434]
call fcn.00408930
lea ecx, [ebp - 0xc]
call fcn.00408930
lea ecx, [ebp - 0x43c]
call fcn.00408930
lea ecx, [ebp - 8]
call fcn.00408930
push str.11stTab
lea eax, [ebp - 0x430]
push eax
push 0x42d264
lea ecx, [ebp - 0x224]
push ecx
call fcn.00403310
add esp, 0x10
push ecx
mov ecx, esp
lea edx, [ebp - 0x224]
push edx
call fcn.0040ad30
call fcn.0040bb50
add esp, 4
lea ecx, [ebp - 0x224]
call fcn.00407570
push eax
push 0x42d270
push 0xcb
mov ecx, dword [ebp - 0x454]
call fcn.00410c60
mov dword [ebp - 0x450], 1
lea ecx, [ebp - 8]
call fcn.00408990
lea ecx, [ebp - 0x43c]
call fcn.00408990
lea ecx, [ebp - 0xc]
call fcn.00408990
lea ecx, [ebp - 0x434]
call fcn.00408990
lea ecx, [ebp - 0x10]
call fcn.00408990
lea ecx, [ebp - 0x224]
call fcn.00408990
lea ecx, [ebp - 0x228]
call fcn.00408990
lea ecx, [ebp - 4]
call fcn.00408990
lea ecx, [ebp - 0x440]
call fcn.00408990
lea ecx, [ebp - 0x438]
call fcn.00408990
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret
Function at 0x410870
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
lea ecx, [ebp - 0x128]
call fcn.00408930
mov ecx, dword [ebp + 8]
call fcn.00407570
push eax
lea ecx, [ebp - 0x118]
call fcn.00408c50
lea ecx, [ebp - 0x118]
call fcn.00407570
push eax
lea ecx, [ebp - 0x128]
call fcn.004089b0
mov dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x128]
call fcn.00402730
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x128]
call fcn.0040b080
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x8c]
call fcn.00408930
mov dword [ebp - 0x120], 0
push 0xf0000020
push 1
push 0
push 0
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x410a56
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x410a44
push 0
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x410a32
push 0
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x88]
push edx
push 2
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x410a20
lea ecx, [ebp - 0x8c]
call fcn.00402e50
lea ecx, [ebp - 0x138]
call fcn.00408930
mov dword [ebp - 0x13c], 0
jmp 0x4109c9
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0x10
jge 0x410a09
mov edx, dword [ebp - 0x13c]
movzx eax, byte [ebp + edx - 0x88]
push eax
push str._02X
lea ecx, [ebp - 0x138]
push ecx
call fcn.00403310
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00408a80
jmp 0x4109ba
mov dword [ebp - 0x120], 1
lea ecx, [ebp - 0x138]
call fcn.00408990
jmp 0x410a30
push str.Error_getting_hash_param
lea ecx, [ebp - 0x8c]
call fcn.00402710
jmp 0x410a42
push str.Error_hashing_data
lea ecx, [ebp - 0x8c]
call fcn.00402710
jmp 0x410a54
push str.Error_creating_hash
lea ecx, [ebp - 0x8c]
call fcn.00402710
jmp 0x410a66
push str.Error_acquiring_context
lea ecx, [ebp - 0x8c]
call fcn.00402710
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xffffffffffffffff
lea ecx, [ebp - 0x128]
call fcn.004089d0
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408a60
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x8c]
call fcn.00408990
lea ecx, [ebp - 0x118]
call fcn.0040adf0
lea ecx, [ebp - 0x128]
call fcn.00408990
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret 4
Function at 0x410c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x46c], ecx
lea ecx, [ebp - 0x454]
call fcn.00408930
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x454]
call fcn.00402710
lea ecx, [ebp - 0x454]
call fcn.00402730
test eax, eax
jg 0x410cc2
mov dword [ebp - 0x464], 0
lea ecx, [ebp - 0x454]
call fcn.00408990
mov eax, dword [ebp - 0x464]
jmp 0x410dfa
mov ecx, dword [ebp + 0xc]
push ecx
movzx edx, word [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x214]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x450], eax
push 0
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.00419720
add esp, 0xc
mov dword [ebp - 0x218], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00419910
add esp, 8
lea ecx, [ebp - 0x448]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x218]
push edx
call fcn.00419740
add esp, 0xc
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x460], 0
jmp 0x410d86
mov ecx, dword [ebp - 0x460]
add ecx, 1
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x460]
cmp edx, dword [ebp - 0x45c]
jge 0x410dd0
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call fcn.00419740
add esp, 0xc
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call fcn.004198d0
add esp, 0xc
jmp 0x410d77
mov eax, dword [ebp - 0x218]
push eax
call fcn.00419970
add esp, 4
mov dword [ebp - 0x468], 1
lea ecx, [ebp - 0x454]
call fcn.00408990
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415290
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4152a0
xor eax, eax
jmp 0x41543d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4153fe
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 + 0x42eaf0]
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 0x4152a9
cmp dword [ebp + 0x10], 0
je 0x415437
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 + 0x42eaf0]
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 0x415404
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x415440
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 + 0x42eaf0]
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 + 0x42eaf0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x416430
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 0x41647f
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 0x416475
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4164d9
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 0x41649f
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.0041dab0
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 0x417f70
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 0x417f8a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x417f94
mov eax, 0x1000000
jmp 0x41806e
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
push eax
call fcn.0041c0c5
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x417ff2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x417ff2
push 0x42ef88
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
call fcn.0041df14
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x418026
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 0x418026
mov eax, 0x2000000
jmp 0x41806e
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.00416110
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41804c
mov eax, dword [ebp - 0xc]
jmp 0x41806e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004168c0
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x41806c
mov eax, 0x200
jmp 0x41806e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418b20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x434440]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x418b54
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x418b54
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x418b63
jmp 0x418c6e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
test ecx, ecx
je 0x418bb5
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x418b9b
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x418ba4
mov eax, dword [ebp - 0x218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x218], ecx
jmp 0x418b72
mov edx, dword [ebp - 4]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x418c18
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.0041dab0
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x420], dx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00418b20
add esp, 8
mov edx, dword [ebp - 0x214]
add edx, 2
mov dword [ebp - 0x214], edx
xor eax, eax
mov word [ebp - 0x210], ax
cmp dword [ebp + 8], 0
je 0x418c3a
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0041df42
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041df14
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x418c6e
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041c0df
mov esp, ebp
pop ebp
ret