joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4615d0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x46175f
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
push ebx
movzx eax, dl
xor eax, 0x811c9dc5
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push edi
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
and eax, dword [ebp + 0x18]
mov ecx, dword [ebx + eax*8]
lea eax, [ebx + eax*8]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea edx, [edi + 8]
call fcn.00467350
push 0x18
push edi
call fcn.004accfd
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x20]
je 0x4616a5
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x461654
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
jne 0x461753
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jne 0x4616bd
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [edx], eax
jmp 0x4616c1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x461753
mov edx, dword [esi + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul ecx, eax, 0x1000193
mov eax, dword [ebp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea edx, [edi + 8]
call fcn.00467350
push 0x18
push edi
call fcn.004accfd
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x20]
je 0x461766
cmp esi, eax
jne 0x461723
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x4616d0
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
Function at 0x4643f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddee5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x40
call fcn.004acccd
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x46449b
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x3c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp + 0xc], edi
push 0x10
mov dword [ebp - 4], 0
call fcn.004acccd
mov dword [ebp + 0xc], eax
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_boost::regex_iterator_implementation_char_const___char__struct_boost::regex_traits_char__class_boost::w32_regex_traits_char____.0
mov dword [eax + 0xc], edi
mov dword [esi], edi
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x34]
push ecx
mov dword [ebp - 4], 1
push dword [edi + 0x3c]
mov edx, dword [edi + 0x30]
push eax
push edi
mov dword [edi + 0x2c], ecx
call fcn.004676f0
add esp, 0x14
test al, al
jne 0x464543
mov edi, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
test edi, edi
je 0x464543
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x464543
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x464543
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x464d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da38c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 8
mov dword [ebp - 4], 0
call fcn.004acccd
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
mov ecx, dword [0x50856c]
cmp ecx, dword [edx + 4]
jle 0x464e04
push 0x50856c
call fcn.004acdaf
add esp, 4
cmp dword [0x50856c], 0xffffffff
jne 0x464e04
xor eax, eax
mov dword [0x508570], 0
push 2
push 0x508570
mov dword [0x508574], 0
mov dword [0x508578], 0
mov dword [0x50857c], eax
mov dword [0x508580], eax
mov dword [0x508584], eax
mov dword [0x508588], eax
mov dword [0x50858c], eax
mov dword [0x508590], eax
mov dword [0x508594], eax
mov dword [0x508598], eax
mov dword [0x50859c], eax
call fcn.00495b7b
push 0x4e1d40
call fcn.004ad050
push 0x50856c
call fcn.004acd5e
add esp, 0x10
push 0x508570
mov dword [ebp - 0x1c], 0x508570
call fcn.00495b97
add esp, 4
test eax, eax
jne 0x464f1a
mov eax, dword [0x50859c]
cmp eax, 0x7fffffff
je 0x464f21
push ecx
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0046f2d0
push 0x508570
call fcn.00495bbc
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 0x1c], edi
push 0x10
mov byte [ebp - 4], 3
call fcn.004acccd
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push 0x100
push ecx
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_boost::regex_traits_wrapper_struct_boost::regex_traits_char__class_boost::w32_regex_traits_char____.0
mov dword [eax + 0xc], edi
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
mov dword [esi + 0xc], edi
push eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
call fcn.004affe0
mov dword [esi + 0x130], 0
add esp, 0x18
mov dword [esi + 0x13c], 0
mov eax, esi
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov word [esi + 0x150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.00495b16
dec eax
push 6
mov dword [0x50859c], eax
call fcn.00495b16
int3
Function at 0x464f30
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x10], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x465083
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00461d10
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x46505d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebp]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
cmp edi, esi
jne 0x464fe3
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x465050
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x46501d
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp edx, eax
je 0x465018
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x14]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x46504c
cmp edi, edx
je 0x46502d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x465067
cmp edi, edx
jne 0x465021
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x10]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x464f91
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x46504c
push str.invalid_hash_bucket_count
call fcn.00494e11
int3
Function at 0x4687e0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebp
mov ebp, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0xc], ebp
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x46893f
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebp + 4]
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebp + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00461d10
lea eax, [edi - 1]
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x46891a
push ebx
nop
mov ebx, dword [eax + 8]
movzx edx, bl
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
mov edx, ebx
shr edx, 8
movzx edx, dl
xor edi, edx
mov edx, ebx
imul edi, edi, 0x1000193
shr edx, 0x10
movzx edx, dl
xor edi, edx
mov edx, ebx
imul edi, edi, 0x1000193
shr edx, 0x18
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebp + 0x18]
and edi, edx
mov edx, dword [ebp + 0xc]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
cmp edi, esi
jne 0x46889f
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x46890b
mov edx, dword [ebp + 4]
cmp ebx, dword [edx + 8]
jne 0x4688d6
mov edx, dword [edx]
mov dword [esp + 0x10], edx
cmp edx, eax
je 0x4688d1
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x46890b
cmp edi, edx
je 0x4688ec
lea ebx, [ebx]
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x468923
cmp edi, edx
jne 0x4688e0
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebp, dword [esp + 0x14]
mov eax, ecx
cmp ecx, esi
jne 0x468840
pop ebx
pop esi
pop edi
pop ebp
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x46890b
push str.invalid_hash_bucket_count
call fcn.00494e11
int3

Function at 0x46abc0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp ecx, edx
je 0x46abe6
push edi
mov edi, esi
mov eax, esi
shr eax, 2
shl edi, 6
add edi, eax
movsx eax, byte [ecx]
add eax, 0x9e3779b9
inc ecx
add eax, edi
xor esi, eax
cmp ecx, edx
jne 0x46abc8
pop edi
mov eax, 3
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub esi, eax
or esi, 0x40000000
mov eax, esi
pop esi
ret
Function at 0x4881f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x48821a
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x488204
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x491cb0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
push ebp
push esi
xor edx, eax
mov eax, ebx
push edi
mov edi, ecx
sar eax, 0x10
imul ecx, edx, 0x1000193
movzx eax, al
sar ebx, 0x18
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 8]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00494c70
mov esi, dword [eax + 4]
test esi, esi
jne 0x491d16
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0xc]
cmp esi, edx
je 0x491dc7
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x20]
and ecx, eax
mov eax, dword [edi + 0x14]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x491d79
cmp eax, esi
jne 0x491d71
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x491d81
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
jmp 0x491d81
cmp eax, esi
jne 0x491d81
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 0x10]
lea edi, [esi + 0x10]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x491db0
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push 0x38
push esi
call fcn.004accfd
add esp, 8
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
Function at 0x494b10
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x10], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x494c65
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00461d10
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x494c3f
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
cmp edi, esi
jne 0x494bc5
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x494c32
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x494bff
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp edx, eax
je 0x494bfa
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x14]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x1c]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x494c2e
cmp edi, edx
je 0x494c0f
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x494c49
cmp edi, edx
jne 0x494c03
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x10]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x494b71
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x494c2e
push str.invalid_hash_bucket_count
call fcn.00494e11
int3

Function at 0x4ac778
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004c2d4e
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4ac7b7
sub eax, 1
je 0x4ac7b2
sub eax, 1
je 0x4ac7ae
xor eax, eax
leave
ret
push 3
jmp 0x4ac7b9
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x4adb8c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4adbcb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4adbcb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4adbcb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4adbcb
cmp dword [ecx + 0x74], 0xe
jbe 0x4adbcb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4aea70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e17ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 2
mov edi, 0xc0000000
mov eax, dword [ebp + 0x20]
mov ecx, 0x80000000
setne bl
mov dword [ebp - 4], 0
cmovne edi, ecx
or eax, dword [ebp + 0x24]
je 0x4aeac6
mov edx, 2
test bl, bl
je 0x4aeacb
mov edx, 3
test bl, bl
mov eax, 1
push 0
mov ecx, 0x100
cmovne ecx, eax
cmp byte [ebp + 0x60], 0
push ecx
push edx
push 0
push eax
push edi
je 0x4aeafc
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
cmovae eax, dword [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4aeb0e
cmp dword [ebp + 0x44], 0x10
lea eax, [ebp + 0x30]
cmovae eax, dword [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [esi + 0x70], ecx
cmp ecx, 0xffffffff
je 0x4aebe6
mov edx, dword [ebp + 0x20]
mov eax, edx
mov edi, dword [ebp + 0x24]
or eax, edi
je 0x4aeb61
test bl, bl
jne 0x4aeb61
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4aeb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4aebf2
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4aebf2
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4e45c8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x70]
test eax, eax
je 0x4aeb95
lea edx, [ebp - 0x14]
push edx
push ecx
call eax
test eax, eax
je 0x4aebfe
mov eax, dword [ebp - 0x10]
xor ecx, ecx
or ecx, dword [ebp - 0x14]
cdq
jmp 0x4aebac
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4aebfe
xor ecx, ecx
or ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
cmp edx, 0xffffffff
je 0x4aebc0
test eax, eax
jg 0x4aebbe
jl 0x4aebc0
cmp ecx, edx
jb 0x4aebc0
mov ecx, edx
mov dword [esi + 0x68], ecx
lea ecx, [ebp + 0x30]
mov dword [esi + 0x6c], 0
call fcn.00467ba0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x60
push str.failed_opening_file
mov ecx, esi
call fcn.004ae500
push str.failed_setting_file_size
mov ecx, esi
call fcn.004ae500
push str.failed_querying_file_size
mov ecx, esi
call fcn.004ae500
int3
Function at 0x4caeb0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004adde0
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004c9104
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4caef2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4cb04e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004d7a30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x507290]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004caa39
mov ecx, dword [esi*4 + 0x507290]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4cb047
cmp eax, dword [ecx + edi + 0x24]
jne 0x4cb047
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4cb047
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004caa39
add esp, 0x14
test edx, edx
jl 0x4cb047
jg 0x4cafbd
test eax, eax
jb 0x4cb047
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4cb047
jl 0x4cafd7
cmp dword [ebp - 0x1008], eax
ja 0x4cb047
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4caff5
test ebx, ebx
je 0x4cb02e
cmp ecx, edi
jae 0x4cb02e
mov al, byte [ecx]
cmp al, 0xd
jne 0x4cb00f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4cb01b
cmp byte [ecx + 1], 0xa
jne 0x4cb01b
inc ecx
jmp 0x4cb01b
movzx eax, al
movsx eax, byte [eax + 0x5024b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4caff5
cmp edx, ebx
jne 0x4caff5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4cb04c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004accbf
leave
ret