joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406c50
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x406e20
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00475ec0
jmp fcn.00406c50
Function at 0x40d1d0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d2cd
sub esp, 0x20
mov eax, dword [0x1652dc4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x40d2b6
mov eax, dword [0x1614ce0]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, edx
shr edx, 2
lea edx, [edx + edx*2]
cmp ecx, edx
jb 0x40d28c
mov dword [esp + 0x10], eax
shl ebx, 1
lea eax, [ebx + 2]
shl eax, 2
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [esp + 8], 1
call fcn.0046ab80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [eax], edx
lea edx, [0x47aec0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x18]
mov dword [esp], edx
call fcn.0040dcd0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], ecx
jne 0x40d2a0
lea ecx, [0x1614ce0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004082e0
mov eax, dword [0x1614ce0]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040d2e0
add esp, 0x20
ret
lea eax, [0xda5833]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00470130
lea eax, [0xd791dd]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.0040d1d0
Function at 0x40f8e0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40faab
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40f909
mov eax, 0x7000000
jmp 0x40f911
test eax, eax
je 0x40fa86
mov dword [esp + 0x34], eax
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.00477270
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x154dd60]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40fa9e
cmp edx, 0x21
jae 0x40fa92
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00466c90
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00466d60
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x1023030]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x1023080]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40fa61
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x10230b0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.00477350
mov eax, edx
mov ecx, 0x21
call fcn.00477430
nop
call fcn.00475ec0
jmp fcn.0040f8e0
Function at 0x413d70
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x34]
test eax, eax
je 0x413fb1
mov ecx, dword [esp + 0x40]
cmp dword [eax], ecx
jne 0x413eec
movzx ecx, byte [eax + 0xf]
test cl, 0x40
jne 0x413e74
movzx ecx, byte [0x1653268]
test cl, cl
je 0x413dcb
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x2c], ecx
test byte [ecx], al
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
xor esi, esi
xor edi, edi
jmp 0x413dd2
add esp, 0x30
ret
add esi, 4
cmp dword [eax + 4], esi
jbe 0x413e70
test esi, 0x1f
jne 0x413de9
movzx edi, byte [edx]
inc edx
jmp 0x413deb
shr edi, 1
test edi, 1
je 0x413dcf
mov dword [esp + 0x1c], edx
add ebp, esi
add ebx, esi
mov eax, dword [ecx + 0x988]
add eax, 8
nop
cmp dword [ecx + 0x98c], eax
jae 0x413e3a
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
call fcn.00434ca0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 0x988]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
add edx, 8
mov dword [ecx + 0x988], edx
mov edx, dword [ebp]
mov dword [eax], edx
mov edx, dword [ebx]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x413dcf
add esp, 0x30
ret
mov dword [esp], eax
call fcn.00464f90
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], ecx
call fcn.0043c260
lea eax, [0xda8529]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0043cac0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0043cac0
lea eax, [0xd7920a]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043cac0
call fcn.0043c2c0
lea eax, [0xd9d5f5]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00470130
mov dword [esp], eax
call fcn.00464f90
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x34]
mov edx, dword [edx]
mov dword [esp + 0x18], edx
call fcn.0043c260
lea eax, [0xda8529]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0043cac0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0043cac0
lea eax, [0xd744b2]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043cac0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
lea eax, [0xd7cd23]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0043cac0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
call fcn.0043c460
call fcn.0043c2c0
lea eax, [0xd9d5f5]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00470130
lea eax, [0xdaaab4]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.00470130
nop
int3
Function at 0x417b50
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417d4e
sub esp, 0x18
mov eax, dword [0x1652bf4]
test eax, eax
jne 0x417d37
nop
nop
lea eax, [0x1652be4]
mov dword [esp], eax
call fcn.0040df30
mov eax, dword [0x1652be8]
test eax, eax
je 0x417b98
cmp dword [eax + 8], 0xcc
jne 0x417c0e
mov edx, dword [0x1652bec]
test edx, edx
jne 0x417bf0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x1658f70]
mov dword [esp + 8], eax
call fcn.0040fac0
mov eax, dword [esp + 0xc]
mov dword [0x1652bec], eax
mov ecx, dword [0x1652bf0]
mov dword [eax], ecx
mov eax, dword [0x1652bec]
mov dword [0x1652bf0], eax
movzx eax, byte [0x1653840]
test al, al
jne 0x417bf0
xor eax, eax
jmp 0x417d08
mov edx, dword [0x1652bec]
mov ebx, dword [edx + 4]
mov dword [0x1652bec], ebx
mov ebx, dword [0x1652be8]
mov dword [edx + 4], ebx
mov dword [0x1652be8], edx
mov edx, dword [0x1652be8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417ce7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d7f0
mov eax, dword [0x1653268]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x417c60
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x417ca0
call fcn.00477330
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x1652be4]
mov dword [esp], eax
call fcn.0040e150
nop
lea eax, [0x1652be0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0047d980
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00477350
lea edx, [0x1545e38]
movzx ebx, byte [edx + eax]
lea ebp, [0x1653840]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x417bf0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x417cf1
mov ecx, 5
call fcn.00477340
lea eax, [0xd858f8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.00417b50
Function at 0x41cdc0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ce49
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.0047d6a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x41ce2e
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x41ce32
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.0041ce60
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0041d410
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0xd85910]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.0041cdc0
Function at 0x426800
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4268e0
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
add edx, ebx
cmp edx, 0x200
ja 0x42685d
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x42683f
mov word [eax + 2], cx
mov dword [eax + 4], edx
movzx ecx, word [eax]
add ecx, ebx
mov word [eax], cx
cmp cx, 0x200
jne 0x426859
movzx ecx, byte [eax + 8]
and ecx, 0xfffffffe
nop
mov byte [eax + 8], cl
add esp, 0xc
ret
mov word [esp + 0xa], cx
call fcn.0043c260
lea eax, [0xd79246]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043cac0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
lea eax, [0xd71836]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043cac0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
call fcn.0043c460
call fcn.0043c2c0
lea eax, [0xd982e7]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.00426800

Function at 0x4268f0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4269c3
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
movzx edx, cx
mov ebx, dword [esp + 0x14]
cmp ebx, edx
ja 0x426940
mov edx, dword [esp + 0x18]
cmp dword [eax + 4], edx
je 0x426929
mov word [eax + 2], cx
mov dword [eax + 4], edx
movzx ecx, word [eax]
sub ecx, ebx
mov word [eax], cx
movzx ecx, byte [eax + 8]
or ecx, 1
nop
mov byte [eax + 8], cl
add esp, 0xc
ret
mov word [esp + 0xa], cx
call fcn.0043c260
lea eax, [0xd79246]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043cac0
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
lea eax, [0xd71836]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.0043cac0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
call fcn.0043c460
call fcn.0043c2c0
lea eax, [0xd8a373]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.004268f0
Function at 0x42c300
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c444
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00429f90
mov eax, dword [esp + 4]
test eax, eax
je 0x42c42d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x1652dc4]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.004279f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.0040df30
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x42c397
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42c3c2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42c3ac
cmp byte [ebp + 6], bl
je 0x42c3b7
cmp esi, edx
ja 0x42c3be
jne 0x42c395
cmp byte [ebp + 6], bl
jbe 0x42c395
jmp 0x42c3be
mov ebx, 1
jmp 0x42c3c4
xor ebx, ebx
jmp 0x42c3c4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42c3e2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.0042c200
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040e150
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x1652dc4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42c41d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42c41d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0xd8da0b]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.0042c300
Function at 0x42cbd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42cdaa
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42ccd5
cmp cl, 1
je 0x42cc64
cmp cl, 2
jne 0x42cd93
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0047d740
nop
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040df30
mov eax, dword [0x163f25c]
sub eax, dword [0x163f240]
nop
mov dword [0x163f25c], eax
mov eax, dword [0x163f24c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x163f24c], ecx
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040e150
jmp 0x42cd8f
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00417b50
nop
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040df30
mov eax, dword [0x163f1bc]
sub eax, dword [0x163f1a0]
nop
mov dword [0x163f1bc], eax
mov eax, dword [0x163f1ac]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x163f1ac], ecx
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040e150
jmp 0x42cd8f
cmp cl, 3
je 0x42cd37
cmp cl, 4
jne 0x42cce8
mov byte [eax + 8], 1
jmp 0x42cd8f
cmp cl, 5
jne 0x42cd93
nop
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040df30
mov eax, dword [0x163f234]
sub eax, dword [0x163f218]
nop
mov dword [0x163f234], eax
mov eax, dword [0x163f224]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x163f224], ecx
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040e150
jmp 0x42cd8f
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004321d0
nop
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040df30
mov eax, dword [0x163f1e4]
sub eax, dword [0x163f1c8]
nop
mov dword [0x163f1e4], eax
mov eax, dword [0x163f1d4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x163f1d4], ecx
nop
nop
lea eax, [0x163f268]
mov dword [esp], eax
call fcn.0040e150
add esp, 0x14
ret
lea eax, [0xd7a4d9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.0042cbd0
Function at 0x42eab0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x42ed0a
sub esp, 0x24
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x34]
mov ebx, eax
shr ebx, 0x16
cmp dword [edx + 0x3c], ebx
jbe 0x42ebfb
and eax, 0x3fffff
shr eax, 0xd
lea ebp, [eax - 0x200]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, dword [esp + 0x2c]
cmp esi, ebp
ja 0x42eb75
mov ecx, dword [edx + 0x28]
cmp ecx, ebx
jbe 0x42ed02
mov ecx, dword [edx + 0x24]
lea ecx, [ecx + ebx*8]
mov ebp, dword [ecx + 4]
test ebp, 0x80000000
je 0x42eb1b
mov ecx, 0x40000
jmp 0x42eb2b
mov ecx, dword [ecx]
shl ebp, 0xe
shr ecx, 0x12
or ecx, ebp
and ecx, 0x3ffff
cmp esi, ecx
ja 0x42eb75
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0x30]
test byte [ecx], al
shl ebx, 7
add ecx, ebx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00430f90
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x42ec0f
mov ecx, dword [esp + 0x10]
shl eax, 0xd
shl ecx, 0xd
mov edx, dword [esp + 0x20]
shl edx, 0x16
add eax, edx
add ecx, edx
jmp 0x42ebb7
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0042ddb0
mov eax, dword [esp + 8]
test eax, eax
jne 0x42ebb3
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x42eb9f
mov eax, dword [0x1545d24]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x34], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
add esp, 0x24
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
call fcn.0042d9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x34], ecx
jae 0x42ebeb
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
add esp, 0x24
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
add esp, 0x24
ret
call fcn.0043c260
lea eax, [0xd79255]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043cac0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
lea eax, [0xd74541]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043cac0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
call fcn.0043c460
call fcn.0043c2c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x20], eax
and eax, 0x3fffff
shr eax, 0xd
mov dword [esp + 0x1c], eax
call fcn.0043c260
lea eax, [0xd81058]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.0043cac0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
lea eax, [0xd7b928]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0043cac0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c950
call fcn.0043c460
call fcn.0043c2c0
lea eax, [0xd7a4e9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00470130
mov eax, ebx
call fcn.00477350
nop
call fcn.00472930
jmp fcn.0042eab0