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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1003169f
pop dword [ebp - 0x38]
mov eax, 0xb19ef492
sub eax, 0xa19bddf3
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x97065044
add dword [ebp - 0x48], 0xb74bf507
mov dword [ebp - 0x44], 0x2da0e85a
add dword [ebp - 0x44], 0x49263eb
mov dword [ebp - 0x40], 0x86db4e9c
add dword [ebp - 0x40], 0xc570f592
mov dword [ebp - 0x3c], 0xe2067ffb
sub dword [ebp - 0x3c], 0xe2067ffb
lea eax, [ebp - 0x48]
push eax
mov eax, 0xd0b9a663
sub eax, 0xc0b5c5e7
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xa177843c
add dword [ebp - 0x48], 0xd2fae51a
mov dword [ebp - 0x44], 0xc2ac0ca
sub dword [ebp - 0x44], 0xcabe5f55
mov dword [ebp - 0x40], 0xacd40843
sub dword [ebp - 0x40], 0x49649bd7
mov dword [ebp - 0x3c], 0x4e88561e
add dword [ebp - 0x3c], 0xb177a9e2
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x321d237c
sub eax, 0x221942f8
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x42511
push 0
call eax
mov ecx, 0x5802
mov edx, eax
mov ebx, 0x60045236
sub ebx, 0x4ffd4036
add ebx, dword [ebp - 0x38]
mov esi, 0x8bdfa8a8
sub esi, 0xc449c03f
add dword [ebp - 0x24], 0x34077be3
mov edi, dword [ebx]
add dword [ebp - 4], eax
xor edi, esi
sub dword [ebp - 0x34], 0xf9928bc7
mov dword [edx], edi
add edx, 4
add ebx, 0x8599352e
add ebx, 0x7a66cad6
loop 0x100317bb
add eax, 0x399dd095
add eax, 0xc6638246
mov ebx, eax
add eax, 0xe54c0556
add eax, 0x1ab3faaf
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x402a65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + edi*8 - 1], esi
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00402728
dec dword [esi]
in eax, dx
mov dl, 0x2e
lea eax, [ebp - 0x40]
push eax
call fcn.00402738
push eax
push esi
push dword [ebp + 8]
call fcn.004026ed
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00402728
xor eax, 0x8d0d6e6c
inc ebp
call 0x5128881e
Function at 0x4035c2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sar ah, 0xff
dec dword [ecx + 0x4680845]
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.00402728
invalid

Function at 0x40607e
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebp, ebp
jg 0x406098
jl 0x40608f
test ebx, ebx
jne 0x406098
xor eax, eax
xor edx, edx
jmp 0x40615d
cmp dword [esi + 0x38], 0
je 0x4060ae
push ebp
push ebx
push dword [esp + 0x1c]
call fcn.00406164
jmp 0x40615d
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4060f4
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x4060f4
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.00404fda
mov ecx, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x24], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x4060fc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4c], 0
je 0x406153
mov ecx, esi
call fcn.00404be7
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x40613e
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.00410b84
mov ecx, dword [esp + 0x28]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x18], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x406153
jmp 0x40610f
test edx, edx
je 0x406153
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00410b84
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb ebp, 0
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x4073b0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, byte [esp + 4]
mov edx, dword [esp + 8]
push esi
push edi
shl ecx, 4
add ecx, dword [esp + 0x14]
push 4
pop edi
push 4
pop esi
mov al, byte [ecx]
xor byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x4073c8
sub edi, 1
jne 0x4073c5
pop edi
pop esi
ret
Function at 0x407439
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x2c
push ebx
push esi
push edi
push 4
lea esi, [eax + 2]
pop edi
mov al, byte [esi - 2]
mov byte [ebp - 0xd], al
mov al, byte [esi - 1]
mov byte [ebp - 9], al
mov al, byte [esi]
mov byte [ebp - 5], al
mov al, byte [esi + 1]
mov byte [ebp - 0x11], al
push dword [ebp - 0x11]
call fcn.004076b8
push eax
mov dword [ebp - 0x2c], eax
call fcn.004076b8
push dword [ebp - 5]
mov byte [ebp - 0x1c], al
call fcn.004076b8
push eax
mov dword [ebp - 0x28], eax
call fcn.004076b8
push dword [ebp - 9]
mov bl, al
call fcn.004076b8
push eax
mov dword [ebp - 0x24], eax
call fcn.004076b8
push dword [ebp - 0xd]
mov byte [ebp - 0x18], al
call fcn.004076b8
push eax
mov dword [ebp - 0x20], eax
call fcn.004076b8
mov dl, al
push edx
call fcn.004076b8
push dword [ebp - 0x18]
mov byte [ebp - 1], al
call fcn.004076b8
xor byte [ebp - 1], al
push ebx
call fcn.004076b8
push dword [ebp - 0x1c]
xor byte [ebp - 1], al
call fcn.004076b8
mov ah, byte [ebp - 1]
add esp, 0x30
mov ch, byte [ebp - 0x11]
xor ah, al
mov cl, ah
xor ah, byte [ebp - 0x18]
xor ah, byte [ebp - 0x1c]
xor cl, dl
mov edx, dword [ebp - 0x24]
xor cl, bl
mov ebx, dword [ebp - 0x20]
mov al, cl
xor al, bl
xor al, dl
xor al, ch
xor al, byte [ebp - 5]
xor al, byte [ebp - 9]
mov byte [esi - 2], al
mov al, ah
xor al, dl
xor ah, bl
mov edx, dword [ebp - 0x28]
xor al, dl
xor al, ch
xor cl, dl
xor al, byte [ebp - 5]
xor al, byte [ebp - 0xd]
mov edx, dword [ebp - 0x2c]
xor cl, dl
xor cl, ch
mov byte [esi - 1], al
mov al, byte [ebp - 9]
xor ah, dl
xor ah, byte [ebp - 5]
xor cl, al
xor cl, byte [ebp - 0xd]
xor ah, al
mov byte [esi], cl
xor ah, byte [ebp - 0xd]
lea esi, [esi + 4]
mov byte [esi - 3], ah
sub edi, 1
jne 0x40744b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4075c1
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
push 4
pop ebx
lea edx, [esi + 3]
mov ebp, ebx
lea ecx, [edi + 1]
sub esi, edi
mov al, byte [edx - 3]
mov byte [ecx - 1], al
mov al, byte [esi + ecx]
mov byte [ecx], al
mov al, byte [edx - 1]
mov byte [ecx + 1], al
mov al, byte [edx]
add edx, ebx
mov byte [ecx + 2], al
add ecx, ebx
sub ebp, 1
jne 0x4075db
lea edx, [edi + 0xd]
mov ah, byte [edx]
mov al, byte [edx - 1]
mov cl, byte [edx + 2]
mov byte [esp + 0x10], al
mov al, ah
mov ah, byte [edx + 1]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], ah
mov byte [esp + 0x11], cl
test bl, 3
jne 0x407662
movzx ecx, al
movzx eax, ah
mov al, byte [eax + str.cw]
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0x11]
mov al, byte [eax + str.cw]
mov byte [esp + 0x13], al
movzx eax, byte [esp + 0x10]
mov al, byte [eax + str.cw]
mov byte [esp + 0x11], al
mov eax, ebx
shr eax, 2
mov al, byte [eax + 0x427a10]
xor al, byte [ecx + str.cw]
mov byte [esp + 0x10], al
mov al, byte [edx - 0xd]
xor al, byte [esp + 0x10]
mov byte [edx + 3], al
mov ah, byte [edx - 0xc]
xor ah, byte [esp + 0x12]
mov byte [edx + 4], ah
mov al, byte [edx - 0xb]
xor al, byte [esp + 0x13]
mov byte [edx + 5], al
mov al, byte [edx - 0xa]
xor al, byte [esp + 0x11]
inc ebx
mov byte [edx + 6], al
add edx, 4
cmp ebx, 0x2c
jb 0x4075ff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40769d
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
sub edx, ecx
push esi
push 0x10
pop esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x4076ab
pop esi
ret

Function at 0x409362
Capabilities:
Parse pe header

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

Function at 0x417b87
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b818
push 0x42b810
push str.FlsAlloc
push 0x1f
call fcn.00417a6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417bbb
push dword [ebp + 8]
mov ecx, esi
call dword [0x42719c]
call esi
jmp 0x417bc1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417c05
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b828
push 0x42b820
push str.FlsGetValue
push 0x21
call fcn.00417a6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417c3c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42719c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x417c44
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b830
push 0x42b828
push str.FlsSetValue
push 0x22
call fcn.00417a6e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417c7e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42719c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4194ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004097b0
mov eax, dword [0x43605c]
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.00417474
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41952e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41968a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425c60
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 + 0x437a50]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041a4e9
mov ecx, dword [esi*4 + 0x437a50]
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 0x419683
cmp eax, dword [ecx + edi + 0x24]
jne 0x419683
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 0x419683
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a4e9
add esp, 0x14
test edx, edx
jl 0x419683
jg 0x4195f9
test eax, eax
jb 0x419683
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x419683
jl 0x419613
cmp dword [ebp - 0x1008], eax
ja 0x419683
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x419631
test ebx, ebx
je 0x41966a
cmp ecx, edi
jae 0x41966a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41964b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x419657
cmp byte [ecx + 1], 0xa
jne 0x419657
inc ecx
jmp 0x419657
movzx eax, al
movsx eax, byte [eax + 0x4362d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x419631
cmp edx, ebx
jne 0x419631
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419688
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00408ad6
leave
ret
Function at 0x419981
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x437a50]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4199c1
cmp byte [ebx], 0xa
jne 0x4199c1
or byte [edi + eax + 0x28], 4
jmp 0x4199c6
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x419ac5
mov dl, byte [eax]
cmp dl, 0x1a
je 0x419aa8
inc eax
cmp dl, 0xd
je 0x4199f2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x419a18
cmp eax, ecx
jae 0x419a26
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4199da
jmp 0x419ac5
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419aa3
cmp dword [ebp - 0x10], 0
je 0x419aa3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x437a50]
test byte [eax + edi + 0x28], 0x48
je 0x419a7d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x419a68
mov byte [esi], dl
jmp 0x419a79
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x437a50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x419ac5
cmp byte [ebp - 1], 0xa
jne 0x419a8c
cmp esi, ebx
jne 0x419a8c
mov byte [esi], 0xa
jmp 0x419ac4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041a507
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x419ac5
mov byte [esi], 0xd
jmp 0x419ac4
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x437a50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419ac2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419ac5
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419ace
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x437a50]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419b14
cmp word [ebx], dx
jne 0x419b14
or byte [eax + edi + 0x28], 4
jmp 0x419b19
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x419c7c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x419c5c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x419b5a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419b90
cmp eax, edx
jae 0x419b9e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x419b35
jmp 0x419c7c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419c57
cmp dword [ebp - 0x18], 0
je 0x419c57
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x437a50]
test byte [eax + edi + 0x28], 0x48
je 0x419c2d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x419bf1
mov word [esi], cx
jmp 0x419c28
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x437a50]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x437a50]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x437a50]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x419c7c
pop eax
cmp word [ebp - 4], ax
jne 0x419c3d
cmp esi, ebx
jne 0x419c3d
mov word [esi], ax
jmp 0x419c79
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041a507
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x419c7c
push 0xd
pop eax
jmp 0x419c38
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x437a50]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x419c76
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x419c7c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41de2b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x43605c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41de76
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dfc6
test al, al
jne 0x41de70
sub edx, 2
cmp edx, edi
jne 0x41de56
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41de98
lea eax, [edi + 2]
cmp edx, eax
je 0x41de98
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041dd77
add esp, 0x10
jmp 0x41df92
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dfc6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dedb
push dword [ebp - 0x25c]
jmp 0x41de88
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41df18
cmp word [ebp - 0x226], 0
je 0x41df39
cmp word [ebp - 0x226], ax
jne 0x41df18
cmp word [ebp - 0x224], 0
je 0x41df39
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041dd77
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41df85
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41def2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41df6d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41df92
push 0x41dba7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004247b0
add esp, 0x10
jmp 0x41df62
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ad6
leave
ret

Function at 0x420eeb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004162c0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x420f5a
cmp esi, dword [ebp - 4]
je 0x420f55
cmp dword [ebp + 0xc], 0
je 0x420f55
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420f32
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00420a3d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x420f5c
xor eax, eax
inc eax
jmp 0x420f5c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x420fc1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43605c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004162c0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004162c0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x421038
cmp word [ecx], dx
je 0x421038
mov eax, dword [0x42c064]
push edi
dec eax
push eax
push 0x42bf50
call fcn.00420f60
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4210ab
cmp word [eax], dx
je 0x4210ab
mov eax, dword [edi]
test eax, eax
je 0x42105c
cmp word [eax], dx
je 0x42105c
lea eax, [ebp - 0x10]
push eax
call fcn.00420943
jmp 0x421065
lea eax, [ebp - 0x10]
push eax
call fcn.004209de
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4210d5
mov eax, dword [0x42bf4c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42bc40
call fcn.00420f60
add esp, 0xc
test al, al
je 0x4210d5
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4210a0
cmp word [eax], di
je 0x4210a0
lea eax, [ebp - 0x10]
push eax
call fcn.00420943
pop ecx
jmp 0x4210d7
lea eax, [ebp - 0x10]
push eax
call fcn.004209de
jmp 0x42109d
mov eax, dword [edi]
test eax, eax
je 0x4210c2
cmp word [eax], dx
je 0x4210c2
lea eax, [ebp - 0x10]
push eax
call fcn.004208f8
pop ecx
jmp 0x4210d5
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4211a0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00420de5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4211a0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4211a0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4211a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42112d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00417d84
test ebx, ebx
je 0x42119b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00417d84
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4211a0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4211a0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00424e1d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4211a2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ad6
leave
ret