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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcf25
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6a3000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 7
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x1c], edx
jbe 0x417747
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x417777
mov edi, dword [ebp - 0x1c]
mov edx, eax
nop word [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x417760
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0041b2f0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4177a7
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x4178e8
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.00482e20
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x18]
lea ecx, [edi + 8]
call fcn.0040e520
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6763d0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x6763d0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x41788a
divss xmm0, xmm3
call fcn.0040c790
call fcn.005caf30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x417868
cmp eax, 0x200
jae 0x417866
shl eax, 3
cmp eax, ecx
jae 0x417868
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0041aa00
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041b2f0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x41788d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4178b5
mov dword [ecx + eax*8], edi
jmp 0x4178c7
cmp esi, edx
jne 0x4178be
mov dword [ecx + eax*8], edi
jmp 0x4178cb
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4178cb
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x24]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.005cc5d9
int3
Function at 0x4214a0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fde20
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x14]
mov ax, word [eax]
mov dword [ebp - 0x14], 0
cmp ax, word [ecx]
jne 0x421515
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005d0030
add esp, 0xc
jmp 0x421524
mov ecx, 0x82
lea edi, [ebp - 0x220]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x220]
push eax
push 0
push 0x66d330
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0
call fcn.00483151
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4215ef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x4215ab
movzx eax, ax
mov ecx, esi
push eax
call fcn.004100f0
jmp 0x4215d2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4215b4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00412520
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca888
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c5c0
int3
Function at 0x4253c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x425535
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00411e80
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x425510
mov ecx, dword [esi + 8]
mov ebx, 0x811c9dc5
mov edi, dword [edi]
mov edx, 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [ecx - 0xc]
add ecx, ecx
mov dword [ebp - 4], ecx
je 0x425467
mov edi, dword [ebp - 0xc]
mov eax, ecx
nop dword [eax]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, eax
jb 0x425450
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
and ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
lea ecx, [ecx + ebx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x425484
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x425506
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.00422be0
add esp, 8
test al, al
je 0x4254c1
mov ebx, dword [ebx]
cmp ebx, esi
je 0x4254b9
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x425503
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x4254e6
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.00422be0
add esp, 8
test al, al
jne 0x425519
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x4254c8
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x425425
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x425503
push str.invalid_hash_bucket_count
call fcn.005cc5d9
int3
Function at 0x426160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe4ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6a3000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
add eax, eax
je 0x4261bc
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x4261a8
mov edi, dword [ebp - 0x18]
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00425bb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4261ee
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0xfffffff
je 0x42634e
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.00482e20
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
lea eax, [edi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
sub ecx, 0x10
push ecx
call fcn.004123f0
add eax, 0x10
add esp, 4
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.004123f0
add eax, 0x10
add esp, 4
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 2
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6763d0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x6763d0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4262f0
divss xmm0, xmm3
call fcn.0040c790
call fcn.005caf30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4262d4
cmp eax, 0x200
jae 0x4262d2
shl eax, 3
cmp eax, ecx
jae 0x4262d4
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004253c0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00425bb0
mov edx, dword [eax]
jmp 0x4262f3
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x42631b
mov dword [ecx + eax*8], edi
jmp 0x42632d
cmp esi, edx
jne 0x426324
mov dword [ecx + eax*8], edi
jmp 0x426331
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x426331
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x18]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.005cc5d9
int3
Function at 0x426b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0048e298
Function at 0x42a370
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5febad
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a518
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x42a518
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.004a1047
push 0x66df1c
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0042ce50
add esp, 0xc
push 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push dword [eax]
call fcn.004a12ca
mov byte [ebp - 4], 0
mov esi, eax
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42a424
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test esi, esi
je 0x42a4f2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
call fcn.004a1477
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], eax
call fcn.004a182f
test eax, eax
jne 0x42a4e8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
call fcn.004a1573
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x42a481
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0042a370
jmp 0x42a4a5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42a4a5
call esi
cmp eax, 5
je 0x42a49c
call esi
cmp eax, 0x20
jne 0x42a4a5
push 4
push 0
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42a4c9
call esi
cmp eax, 5
je 0x42a4c9
call esi
cmp eax, 0x20
je 0x42a4c9
push 4
push 0
push dword [ebp - 0x14]
call edi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a4e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x38], 0
jne 0x42a438
lea ecx, [ebp - 0x30]
call fcn.004a1270
mov esi, dword [ebp - 0x3c]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42a510
push 4
push eax
push dword [esi]
call edi
lea ecx, [ebp - 0x30]
call fcn.004a11f2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca888
mov esp, ebp
pop ebp
ret 4
Function at 0x432180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffb7f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x54], ecx
push eax
call fcn.004123f0
mov ecx, dword [esi + 0x24]
add eax, 0x10
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x4321e7
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax]
mov dword [ebp - 0x28], eax
push 0x30
mov dword [ebp - 4], 1
call fcn.00482e20
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x432244
mov ecx, dword [ebp - 0x54]
mov dword [esi], ecx
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esi
push eax
call fcn.004123f0
add eax, 0x10
add esp, 4
mov dword [esi + 4], eax
lea edi, [esi + 8]
mov dword [edi + 0x24], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x432246
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
jmp 0x432246
xor esi, esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
push 0
push esi
push 0x4395d0
push 0
push 0
call fcn.005debd0
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4322d5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004306b0
cmp dword [ebp - 0x18], 0
jne 0x4322e3
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43229d
mov edx, dword [ecx]
lea eax, [ebp - 0x4c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x50]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4322b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca888
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [ebp - 0x18], 0
call fcn.005cceae
call fcn.005dedbe
int3
Function at 0x435d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x435d82
jl 0x435d75
test ecx, ecx
jne 0x435d82
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x435e5f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x435db2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x435db4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x435e08
jg 0x435dc5
test esi, esi
je 0x435e08
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x435dd9
jl 0x435dd3
cmp ecx, esi
jae 0x435dd9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.005cfab0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x435e2c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x435e48
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x435d97
jl 0x435e48
test ecx, ecx
jne 0x435d97
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x435e9d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x435e9d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.005cfab0
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x435f07
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x435ec3
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x435ef2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.005df85f
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x435f07
cmp edi, eax
ja 0x435ed0
test edi, edi
je 0x435f07
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.005df85f
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4419e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6014b1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a3000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___unsigned_int__unsigned_int__.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x11
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xa
mov dword [ebp - 4], 0
mov dword [edi + 0x20], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const__.0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x11
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xa
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 3
push 0x40
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00482e20
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x442fc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601793
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc0]
mov ebx, dword [ebp + 0xc]
push 0xaa
push 0
push eax
mov dword [ebp - 0xc4], edi
call fcn.005d0030
add esp, 0xc
lea eax, [ebp - 0xc0]
push 0x55
push eax
push 4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x4430a3
mov dword [ebp - 4], 0
call fcn.00483151
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4431ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x443072
movzx eax, ax
mov ecx, edi
push eax
call fcn.004100f0
jmp 0x44319a
lea ecx, [ebp - 0xc0]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443080
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00412520
jmp 0x44319a
mov eax, dword [ebx]
cmp dword [eax - 0xc], 2
jle 0x443187
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov ecx, ebx
call fcn.00410240
push 0x55
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x14]
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x443168
mov byte [ebp - 4], 3
call fcn.00483151
mov ecx, eax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4431c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x443126
movzx eax, ax
mov ecx, edi
push eax
call fcn.004100f0
jmp 0x44314e
lea ecx, [ebp - 0xc0]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443130
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00412520
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44319a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x44319a
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443187
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.004123f0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca888
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040c5c0
push 0x80004005
call fcn.0040c5c0
int3