joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ccd0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x410c84], 0
push esi
push edi
mov edi, ecx
jne 0x40cd19
xor eax, eax
push eax
push eax
push eax
push 0x40cb10
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x40cd10
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x410c84], 0
je 0x40cd62
lea ecx, [ebp - 0xc]
call fcn.004067af
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0xc]
call fcn.0040dc64
test eax, eax
js 0x40cd5a
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x40cd3e
mov ecx, esi
call fcn.00406d40
push esi
mov ecx, 0x4109a0
push ecx
call fcn.0040dd62
test al, al
je 0x40cd5a
lea ecx, [ebp - 0xc]
call fcn.00406a9c
mov al, 1
jmp 0x40cd64
lea ecx, [ebp - 0xc]
call fcn.00406a9c
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40cec7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [esi]
add eax, eax
mov dword [esi], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edx
lea eax, [ebp - 4]
push eax
push edx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40cf10
cmp dword [ebp - 4], 1
je 0x40cf07
cmp dword [ebp - 4], 2
je 0x40cf07
push 0xd
pop eax
jmp 0x40cf10
mov eax, dword [ebp - 8]
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40f340
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40f37e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40f376
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40f380
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40f366
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40f450
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x40f466
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x40f481
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x414d40
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x414d78
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x414d6e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x414d7a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x414d60
xor eax, eax
pop ebx
pop esi
ret
Function at 0x5e4d0f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e4d2a
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a9f4f]
pop edx
test eax, eax
je 0x5e4dfc
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e4deb
test dword [ebp - 0x2a8], 1
jne 0x5e4deb
and dword [ebp - 0x2a8], 0x100
jne 0x5e4deb
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3a8d]
pop edx
pop esi
test eax, eax
je 0x5e4d8e
jmp 0x5e4deb
cmp word [esi], 0x5a4d
jne 0x5e4deb
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e4deb
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d38c5]
pop edx
test eax, eax
je 0x5e4deb
lea eax, [ebp - 0x28c]
push eax
call fcn.005e4c6b
test eax, eax
jne 0x5e4de4
jmp 0x5e4deb
mov eax, esi
jmp 0x5e4dfc
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e4d2a
pop esi
leave
ret 4

Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edi
add eax, eax
call fcn.00438cd9
add eax, 0x787db0f1
add eax, 0x4c1dedd5
sub eax, 1
xor dword [ecx], edi
sub eax, esi
sub esi, esi
inc ecx
inc esi
mov esi, 0xa85b3853
cmp ecx, ebx
jne fcn.00438c98
or eax, eax
add esi, 0xddbb80c5
and eax, esi
ret
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esi], 0
mov al, byte [0x66104a]
mov cl, byte [0x66104d]
mov edx, dword [0x661030]
and cl, al
mov eax, dword [0x661034]
mov byte [0x66104d], cl
mov ecx, eax
invalid

Function at 0x4897b2
Capabilities:
Check for software breakpoints

Disassembly:
cli
jg 0x489828
mov al, byte [0x490fdd07]
lahf
inc ecx
mov al, byte [0x3d8ff50f]
add edi, dword [ebp - 0x13]
ret
mov ecx, 0x87b66d8e
jmp 0x1389912f

Function at 0x48982c
Capabilities:
Check for software breakpoints

Disassembly:
xchg ecx, ebp
std
clc
inc eax
adc ecx, esp
and cl, bl
mov dh, 0xac
dec esp
pop ebp
invalid

Function at 0x4a9429
Capabilities:
Encode data using xor

Disassembly:
fld dword [esp + ebx + 0x43e0c28f]
dec ebp
cmp eax, 0x57cbe0ba
push edi
insd dword es:[edi], dx
dec edi
std
pop edx
xchg edx, eax
call dword [ebx - 0xc9f0b96]
lodsd eax, dword [esi]
mov al, 0x5c
sub eax, 0x746d427e
xor dword [eax], 0x47
loope 0x4a9435
and bh, byte [edi - 0x387b6d1e]
rol byte [ecx - 0x578ba0a0], 0x9b
xchg edi, eax
invalid

Function at 0x65994d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6613a8
cmp edx, dword [eax]
je 0x65996f
add eax, 8
inc ecx
cmp eax, 0x661438
jl 0x659960
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6613a8]
jne 0x659a9d
mov eax, dword [0xa5e104]
cmp eax, 1
je 0x659a77
test eax, eax
jne 0x6599a0
cmp dword [0x6612d4], 1
je 0x659a77
cmp edx, 0xfc
je 0x659a9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6599d7
lea eax, [ebp - 0x1a4]
push 0x65e9c8
push eax
call fcn.0065a330
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a7c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659a1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a7c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e9c4
push edi
call fcn.0065c690
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e9a8
push eax
call fcn.0065a330
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a340
lea eax, [ebp - 0xa0]
push 0x65e9a4
push eax
call fcn.0065a340
push dword [esi + 0x6613ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a340
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e97c
push eax
call fcn.0065c604
add esp, 0x2c
pop edi
jmp 0x659a9d
lea eax, [ebp + 8]
lea esi, [esi + 0x6613ac]
push 0
push eax
push dword [esi]
call fcn.0065a7c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x67215a8e
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x23412d10
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1e5ff30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a00000]
push edi
jmp 0x1e5ff4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1e5ff51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e5ff40
mov eax, 1
add ebx, ebx
jne 0x1e5ff63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1e5ff74
jne 0x1e5ff93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e5ff93
dec eax
add ebx, ebx
jne 0x1e5ff80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1e5ff58
add ebx, ebx
jne 0x1e5ff8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1e5ffe5
xor ecx, ecx
sub eax, 3
jb 0x1e5ffab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1e6001a
sar eax, 1
mov ebp, eax
jmp 0x1e5ffb6
add ebx, ebx
jne 0x1e5ffb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e5ff84
inc ecx
add ebx, ebx
jne 0x1e5ffc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1e5ff84
add ebx, ebx
jne 0x1e5ffd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1e5ffc6
jne 0x1e5ffe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1e5ffc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1e60004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1e5fff6
jmp 0x1e5ff46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1e60004
add edi, ecx
jmp 0x1e5ff46
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1e60022
cmp byte [edi], 0x11
jne 0x1e60022
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1e60027
lea edi, [esi + 0x1a58000]
mov eax, dword [edi]
or eax, eax
je 0x1e6009f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x33da5f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x33da76c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1e60054
mov ecx, edi
jns 0x1e60083
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x33da770]
or eax, eax
je 0x1e60099
mov dword [ebx], eax
add ebx, 4
jmp 0x1e60071
call dword [esi + 0x33da780]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1e600d0
cmp al, 0xef
ja 0x1e600c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1e600a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1e600b2
mov ebp, dword [esi + 0x33da774]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1e60104
sub esp, 0xffffff80
jmp 0x420577
Function at 0x434fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x434fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434fb8
mov eax, 1
add ebx, ebx
jne 0x434fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434fd0
jne 0x434fec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434fd0
xor ecx, ecx
sub eax, 3
jb 0x435000
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x435072
mov ebp, eax
add ebx, ebx
jne 0x43500b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435018
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43503c
inc ecx
add ebx, ebx
jne 0x435028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43501d
jne 0x435039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43501d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43505c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43504d
jmp 0x434fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43505c
add edi, ecx
jmp 0x434fbe
pop esi
mov edi, esi
mov ecx, 0xc91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43507a
cmp byte [edi], 9
jne 0x43507a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43507f
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x4350ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x44b4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44b88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4350ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44b90]
or eax, eax
je 0x4350e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4350c9
call dword [esi + 0x44b8c]
mov ebp, dword [esi + 0x44b94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x435122
sub esp, 0xffffff80
jmp 0x419fa6
Function at 0x40bd70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x42b230]
cmp ax, 0xcb
je 0x40be6f
cmp ax, 0xcc
je 0x40be6f
mov edx, dword [0x437710]
test edx, edx
je 0x40bda2
mov eax, dword [0x4375c0]
call edx
mov ebx, eax
jmp 0x40bda7
mov ebx, 0x4375c4
cmp word [0x4375b0], 0
jle 0x40bdca
mov eax, 0x437590
call fcn.0040bfe0
mov eax, ebx
call fcn.0040b930
mov eax, ebx
call fcn.0040b9b0
mov esi, dword [ebx]
jmp 0x40bded
mov edi, dword [esi + 4]
test byte [esi], 1
jne 0x40bde8
mov edx, esi
mov eax, ebx
call fcn.0040ade0
jmp 0x40bdeb
and dword [esi], 0xfffffffe
mov esi, edi
test esi, esi
jne 0x40bdd0
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x4375b0], 0
jle 0x40be6f
mov edx, 0x4374d0
mov eax, ebx
call fcn.0040af30
mov esi, eax
test eax, eax
je 0x40be42
mov eax, dword [0x437564]
mov dword [esi + 0xc], eax
cmp dword [0x437564], 0
je 0x40be37
mov eax, dword [0x437564]
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x94]
mov dword [0x437564], eax
sub word [0x4375b0], 1
cmp word [0x4375b0], 0
sete bl
mov eax, 0x437590
call fcn.0040c000
test bl, bl
je 0x40be6f
mov eax, 0x437590
call fcn.0040bfd0
pop edi
pop esi
pop ebx
ret
Function at 0x40eb50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x230]
push ebx
push esi
push edi
call sub.kernel32.dll_GetCommandLineA
mov dword [0x42b2a0], eax
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
push 0x105
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
push 0
push 0
push 0
push 0
mov edi, eax
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
movzx eax, word [0x436020]
push eax
call sub.kernel32.dll_WideCharToMultiByte
mov esi, eax
lea eax, [ebp - 0x218]
push eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x230], ebx
mov eax, ebx
call fcn.0040e990
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [0x437220], eax
mov dword [0x437770], 0
nop dword [eax]
mov eax, dword [0x437220]
shl eax, 2
add eax, dword [0x437770]
mov dword [0x437230], eax
mov eax, dword [0x437220]
shl eax, 2
add eax, dword [0x437230]
lea ebx, [eax + 4]
add eax, 4
lea eax, [eax + edi*2]
add eax, 2
mov edx, dword [ebp - 0x214]
lea eax, [eax + edx*2]
mov dword [ebp - 0x22c], eax
lea eax, [eax + esi + 1]
add eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
cmp dword [0x437770], 0
jne 0x40ec41
mov eax, dword [ebp - 0x228]
call fcn.0040b730
mov dword [0x437770], eax
test eax, eax
jne 0x40ebd8
lea eax, [ebp - 0x20c]
lea ecx, [edi + edi]
mov edx, ebx
call fcn.00401c00
mov word [ebx + edi*2], 0
mov edx, dword [0x437770]
mov eax, ebx
mov dword [edx], ebx
lea edx, [ebp - 0x224]
push edx
lea ecx, [eax + edi*2 + 2]
mov eax, dword [0x437770]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x230]
call fcn.0040e990
mov esi, dword [ebp - 0x218]
test esi, esi
jl 0x40ecdb
mov ebx, 0xffffffff
nop
add ebx, 1
mov eax, dword [0x437230]
mov edx, dword [ebp - 0x22c]
mov dword [eax + ebx*4], edx
push 0
push 0
mov eax, dword [ebp - 0x228]
sub eax, dword [ebp - 0x22c]
push eax
push dword [ebp - 0x22c]
push 0xffffffffffffffff
mov eax, dword [0x437770]
push dword [eax + ebx*4]
push 0
movzx eax, word [0x436020]
push eax
call sub.kernel32.dll_WideCharToMultiByte
add dword [ebp - 0x22c], eax
cmp ebx, esi
jl 0x40ec90
mov edx, dword [0x437230]
mov eax, dword [0x437220]
mov dword [edx + eax*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410d00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ax, ax
nop dword [eax]
movsx ecx, ax
mov bx, 1
nop
test cl, 1
je 0x410d28
mov edx, ecx
shr edx, 1
xor edx, 0xedb88320
mov ecx, edx
jmp 0x410d2a
shr ecx, 1
add bx, 1
cmp bx, 8
jle 0x410d10
movzx edx, ax
mov dword [edx*4 + 0x439360], ecx
add ax, 1
cmp ax, 0xff
jle 0x410d08
pop ebx
ret

Function at 0x410d50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, edx
mov esi, ecx
cmp dword [0x439364], 0
jne 0x410d67
call fcn.00410d00
mov edx, edi
not ebx
mov eax, ebx
mov ebx, esi
test esi, esi
jle 0x410d97
xor esi, esi
nop dword [eax]
add esi, 1
mov cl, al
xor cl, byte [edx]
movzx ecx, cl
mov edi, eax
shr edi, 8
xor edi, dword [ecx*4 + 0x439360]
mov eax, edi
add edx, 1
cmp esi, ebx
jl 0x410d78
not eax
pop edi
pop esi
pop ebx
ret
Function at 0x412000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00411ff0
push ebp
push 0x40fa10
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push edi
push ebx
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4120f1
cmp byte [ebp + 8], 0
je 0x4120c0
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004039e0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00406d90
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00407780
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x42d9f4
mov edx, 1
call fcn.00425b00
mov edx, 0x41204c
mov ecx, ebp
call fcn.0040f8d0
jmp 0x4120f1
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x42d9f4
mov edx, 1
call fcn.00425b00
mov edx, 0x4120c0
mov ecx, ebp
call fcn.0040f8d0
push dword [esi + 0x18]
push ebx
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4121b1
cmp byte [ebp + 8], 0
je 0x412180
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.004039e0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00406d90
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00407780
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x42d9f4
mov edx, 1
call fcn.00425b00
mov edx, 0x41210f
mov ecx, ebp
call fcn.0040f8d0
jmp 0x4121b1
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x42d9f4
mov edx, 1
call fcn.00425b00
mov edx, 0x412180
mov ecx, ebp
call fcn.0040f8d0
push dword [esi + 0x18]
push ebx
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x1c]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00411d20
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00411ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x204]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x200]
call fcn.00409e00
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
xor eax, eax
push fcn.0041f720
push ebp
push 0x40fa10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je case.0x41f913.0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor edx, edx
test eax, eax
je 0x41f883
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jne 0x41f8e0
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0xf
jne case.0x41f913.0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00429430
mov dword [ebp - 0x80], eax
test eax, eax
je case.0x41f913.0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov edx, 0x42dc78
call fcn.004094b0
test al, al
je case.0x41f913.0
mov eax, dword [ebp - 0x80]
test dword [eax + 0x3c], 4
je case.0x41f913.0
nop dword [eax + eax]
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10], 0
je 0x41f909
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 4]
je 0x41f903
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx]
jne 0x41f909
mov byte [ebp - 0x10], 1
jmp 0x41f90d
mov byte [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
jmp dword [eax*4 + 0x42d60c]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0041f720
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426a00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.004269f0
push ebp
push 0x40fa10
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x426a70
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.004081f0
cmp ebx, 1
jle 0x426a5a
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.00407dc0
jmp 0x426a7b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00406530
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004269f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4