joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4186cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, word [ecx]
push ebx
push esi
push edi
mov edi, edx
test ax, ax
je 0x418754
push 0x10
pop esi
mov ebx, 0x95
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0xf
cmp ax, 0x75
je 0x41878a
cmp ax, 0x70
je 0x418778
movzx edx, ax
cmp edx, ebx
jg 0x455206
je 0x418781
cmp edx, 0x55
jl 0x418736
cmp edx, 0x5a
jle 0x4551eb
cmp edx, 0x5d
jle 0x4551d0
cmp edx, 0x60
jle 0x4551eb
cmp edx, 0x61
je 0x4551d0
movzx eax, byte [edx + 0x4a5750]
lea ecx, [ecx + eax*2]
test edi, edi
je 0x41874c
lea eax, [edx - 0x1d]
cmp eax, 0x37
jbe 0x41875d
movzx eax, word [ecx]
test ax, ax
jne 0x4186f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [ecx - 2]
mov edx, 0xfc00
and ax, dx
mov edx, 0xd800
cmp ax, dx
jne 0x41874c
add ecx, 2
jmp 0x41874c
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
jmp 0x41874c
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
jmp 0x418736
mov eax, ecx
jmp 0x418756
mov word [edx], ax
mov edi, dword [ebp - 4]
cmp edx, dword [esi + 0x20]
jb 0x4551f0
movzx edx, word [ecx + 2]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*2]
cmp eax, edi
jb 0x4551f0
lea eax, [ebx + edx]
mov word [ecx + 2], ax
adc esp, dword [esi - 0x77]
inc ecx
add al, byte [ebx - 0x1c16fb3f]
xor al, 0x84
pop edi
movzx eax, word [ecx + 4]
cmp ax, word [ebp - 8]
je 0x455208
add ecx, 4
jmp 0x5fc986db
cmp ax, word [ebp - 4]
jne 0x45520b
add ecx, 4
push 0x10
pop esi
jmp 0x802d875e

Function at 0x45972f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8cc
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push esi
push 0x3b001004
push dword [ebx]
call dword [0x5048f688]
lea ecx, [ebp + 0x5fffff40]
mov edi, eax
call fcn.00416308
push dword [ebx]
push 0x34
call 0x3b461916
push dword [ebx]
lea ecx, [ebp + 0x5fffff40]
mov dword [ebp - 4], eax
push 0x800
call 0x86551916
mov ecx, dword [ebp + 0xc]
push 0x34
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp + 0x5fffff40]
push eax
mov dword [ebp - 0x24], 0x400
call 0xf4619f4
test edi, edi
jle 0x4597f4
push dword [ebp - 4]
push esi
push 0x3b001073
push dword [ebx]
call dword [0x5048f688]
push 0x800
lea eax, [ebp + 0x5ffff738]
push eax
push dword [ebp - 8]
lea ecx, [ebp + 0x5fffff40]
call fcn.004619bf
xor eax, eax
mov word [ebp - 0x740000c8], ax
dec ebp
inc ebp
or bh, bh
xor byte [ebp - 0x8c77b], cl
pop edi
push eax
call 0x802e3165
pop ecx
pop ecx
cld
push dword [ebp + eax + 0x46]
cmp esi, edi
jl 0x4597a4
cmp esi, edi
jne 0x4597fb
or esi, 0xffffffff
lea ecx, [ebp + 0x5fffff40]
call fcn.004162ed
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x468a99
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c4190]
jne 0x468aab
call fcn.00468b3b
mov eax, dword [0x4c7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c7ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0x5fffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468aee
fadd qword [0x4bbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bbaa0]
mov esp, ebp
pop ebp
ret

Function at 0x468b3b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c7518], 0
push esi
push edi
mov esi, 0x4c7530
jne 0x468b5a
push 0
call fcn.00425462
pop ecx
mov ecx, eax
call 0xff538afe
mov dword [0x4c4190], 0x8b560270
mov edi, 0x8b56e3
mov dword [0x4c7ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7f01fffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0xf000634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468b6f
mov edi, 0x1018c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7f01fffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x1fffc74]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x468ba4
mov ecx, dword [0x4c7530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7f01fffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x1fffc74]
xor eax, edx
mov dword [esi], eax
pop esi
ret
Function at 0x40b711
Capabilities:
Write file on windows

Disassembly:
sub eax, 1
je 0x40cc56
sub eax, 1
je 0x40cbd7
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ebx
push 0x20
pop ebx
jmp 0x416700
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx ecx, byte [edx]
movzx eax, byte [esi]
sub ecx, eax
je 0x40cbf5
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
jne 0x40cc4f
movzx ecx, byte [edx + 1]
movzx eax, byte [esi + 1]
sub ecx, eax
je 0x40cc13
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
jne 0x40cc4f
movzx ecx, byte [edx + 2]
movzx eax, byte [esi + 2]
sub ecx, eax
je 0x40cc31
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
jne 0x40cc4f
movzx ecx, byte [edx + 3]
movzx eax, byte [esi + 3]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx ecx, byte [edx]
movzx eax, byte [esi]
sub ecx, eax
je 0x40cc74
xor eax, eax
test ecx, ecx
setg al
lea ecx, [eax*2 - 1]
test ecx, ecx
jne 0x40cc4f
movzx ecx, byte [edx + 1]
movzx eax, byte [esi + 1]
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x41670e
or eax, 0xffffffff
pop ebp
ret
mov eax, dword [ecx]
cmp eax, dword [ecx + 8]
jne 0x416722
mov eax, dword [0x47a280]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
xor eax, eax
pop ebp
ret

Function at 0x40da65
Capabilities:
Read file on windows

Disassembly:
jmp 0x41a970
mov al, byte [eax + edi + 0x29]
mov byte [ebp - 1], al
mov dword [ebp - 0x18], esi
xor esi, esi
movsx eax, al
sub eax, 1
je 0x41a9c7
inc ebx
sub eax, 1
je 0x41a996
mov ebx, edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
jmp 0x4347dd
mov eax, edx
mov eax, edx
not eax
test bl, al
je 0x41a99e
push 4
shr edx, 1
pop ebx
cmp edx, ebx
jb 0x41a9da
mov ebx, edx
push ebx
call 0x434e25
push 0
mov esi, eax
call 0x431855
push 0
call 0x43185c
add esp, 0xc
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x41aa15
call 0x42861c
mov dword [eax], 0xc
call 0x428614
mov dword [eax], 8
jmp 0x434988
push 1
push 0
push 0
push dword [ebp + 8]
call 0x434c89
mov ecx, dword [ebp - 8]

Function at 0x4108b7
Capabilities:
Get geographical location

Disassembly:
adc byte [ebp - 0x74da8b0a], al
dec ebp
adc al, 0x85
leave
jne 0x4108e8
mov eax, dword [ebp + 0x18]
push eax
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
cmp dword [ebp + 8], 0
je 0x4108c3
or eax, 0xffffffff
xor edx, edx
div edi
cmp esi, eax
ja 0x4108c3
lea eax, [ecx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
nop
test eax, 0x4c0
je 0x41090e
mov edx, dword [ecx + 0x18]
jmp 0x410913
mov edx, 0x1000
mov ebx, edi
mov dword [ebp - 4], edx
imul ebx, esi
mov esi, ebx
test ebx, ebx
je 0x410a23
add byte [eax], al
Function at 0x4109f9
Capabilities:
Get geographical location

Disassembly:
lea edi, [ecx + 0xc]
mov eax, dword [edi]
nop
test al, 0xc0
je 0x41096a
mov eax, dword [ecx + 8]
test eax, eax
je 0x41096a
js 0x410a39
mov eax, dword [edi]
nop
test al, 1
jne 0x410a3f
mov edi, dword [ecx + 8]
cmp esi, edi
jae 0x410950
mov edi, esi
push edi
push dword [ebp + 8]
push dword [ecx]
call fcn.0041ab9b
mov ecx, dword [ebp + 0x14]
add esp, 0xc
sub esi, edi
sub dword [ecx + 8], edi
add dword [ecx], edi
jmp 0x4109e4
cmp esi, edx
jb 0x4109e9
mov eax, dword [edi]
nop
test al, 0xc0
je 0x41098e
push dword [ebp + 0x18]
push ecx
call fcn.0041faab
pop ecx
pop ecx
test eax, eax
jne 0x410a3f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov eax, esi
test edx, edx
je 0x4109a2
xor edx, edx
div dword [ebp - 4]
mov eax, esi
sub eax, edx
mov dword [ebp - 8], eax
jmp 0x4109a5
mov dword [ebp - 8], esi
cmp eax, 0xfffffffe
jb 0x4109b0
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 8], eax
push dword [ebp + 0x18]
push eax
push dword [ebp + 8]
push ecx
call 0x4284c7
pop ecx
push eax
call 0x428fd1
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x410a36
mov eax, dword [ebp - 8]
cmp edi, eax
jbe 0x4109db
mov edi, eax
sub esi, edi
jmp 0x4109e1
sub esi, edi
cmp edi, eax
jb 0x410a2b
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
jmp 0x410a18
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
push ecx
movsx eax, byte [eax]
push eax
call 0x42a0c9
add esp, 0xc
cmp eax, 0xffffffff
je 0x410a3f
mov ecx, dword [ebp + 0x14]
dec esi
xor edi, edi
mov edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
test edx, edx
jg 0x410a17
xor edx, edx
inc edx
mov dword [ebp - 4], edx
inc edi
add dword [ebp + 8], edi
test esi, esi
jne 0x410925
mov eax, dword [ebp + 0x10]
jmp 0x42070e
invalid
mov eax, dword [ebp - 0xc]
push 0x10
pop ecx
lock or dword [eax], ecx
jmp 0x410a3f
mov edi, dword [ebp - 0xc]
push 0x10
pop eax
lock or dword [edi], eax
sub ebx, esi
xor edx, edx
mov eax, ebx
div dword [ebp + 0xc]
jmp 0x420730
ror byte [edi], 0x84
xchg ecx, eax
add dword [eax], eax
add byte [ebp - 0xf37b], cl
call dword [eax - 1]
jae 0x42076f
Function at 0x412b90
Capabilities:
Get geographical location

Disassembly:
push es
push dword [eax]
call fcn.00424c74
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x412be3
call 0x428ce5
mov dword [ebp - 8], eax
xor ebx, ebx
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x48]
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ecx
push ebx
push eax
mov dword [ebp - 4], ebx
call 0x42e8dd
add esp, 0x18
test eax, eax
je 0x412bea
cmp eax, 0x16
je 0x412cd1
cmp eax, 0x22
je 0x412cd1
mov eax, dword [ebp - 4]
add eax, 4
push eax
call 0x42d03b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x412be3
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
push edi
push dword [ebp - 4]
lea eax, [ebx + 4]
push eax
push 0
call 0x42e925
add esp, 0x18
test eax, eax
je 0x412c34
cmp eax, 0x16
je 0x412ccf
add byte [eax], al
invalid
cmp eax, 0x22
je 0x412ccf
push ebx
call 0x429a9d
mov eax, dword [esi]
or ecx, 0xffffffff
mov edi, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, eax
mov edx, dword [edi + eax*8 + 0x24]
test edx, edx
je 0x412c6e
mov eax, ecx
lock xadd dword [edx], eax
jne 0x412c6e
mov eax, dword [esi]
mov eax, dword [eax]
add eax, eax
push dword [edi + eax*8 + 0x24]
call 0x429acb
mov eax, dword [esi]
pop ecx
mov eax, dword [eax]
add eax, eax
and dword [edi + eax*8 + 0x24], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 8]
mov eax, dword [0x47a630]
test dword [edx + 0x350], eax
jne 0x412cae
mov eax, dword [esi]
mov eax, dword [eax]
add eax, eax
mov eax, dword [edi + eax*8 + 0x24]
test eax, eax
je 0x412cae
lock xadd dword [eax], ecx
dec ecx
jne 0x412cae
mov eax, dword [esi]
mov eax, dword [eax]
add eax, eax
push dword [edi + eax*8 + 0x24]
call 0x429b0e
mov eax, dword [esi]
pop ecx
mov eax, dword [eax]
add eax, eax
and dword [edi + eax*8 + 0x24], 0
mov ecx, dword [edi + 0xc]
lea eax, [ebx + 4]
mov dword [ebx], ecx
mov ecx, dword [esi]
mov ecx, dword [ecx]
add ecx, ecx
mov dword [edi + ecx*8 + 0x24], ebx
mov ecx, dword [esi]
mov ecx, dword [ecx]
add ecx, ecx
mov dword [edi + ecx*8 + 0x1c], eax
jmp 0x424cb4
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00420707
int3
movaps xmm4, xmmword [eax + 0x42e8a0]
movapd xmm7, xmmword [eax + 0x42e490]
andpd xmm6, xmm0
subpd xmm0, xmm6
mulpd xmm6, xmm4

Function at 0x412c1f
Capabilities:
Get geographical location

Disassembly:
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
add byte [eax], al
add byte [ebx - 0x7bf0dd08], al
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [ebx - 0x18], dl
insb byte es:[edi], dx
outsb dx, byte [esi]
add dword [eax], eax
pop ecx
jmp 0x412be3

Function at 0x418159
Capabilities:
Get thread local storage value

Disassembly:
in al, dx
push esi
push 0x42b2f0
push 0x42b2e8
push str.FlsGetValue
push 0x20
call 0x42f4b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41818c
push dword [ebp + 8]
mov ecx, esi
call dword [0x427144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x418ad4
Capabilities:
Write file on windows

Disassembly:
adc ch, ah
add byte [eax], al
mov eax, dword [ebx + 0xc]
mov esi, dword [ebp + 8]
mov edi, esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x60]
mov edx, eax
mov dword [ebp - 0x30], edx
cmp eax, dword [ebp - 0x54]
jae 0x418e10
mov edi, dword [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 0x48], ebx

Function at 0x41906d
Capabilities:
Write file on windows

Disassembly:
lea esi, [ebp - 0x1404]
cmp ecx, edx
jae 0x419076
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x419069
add dword [ebx + 8], 2
push 0xd
pop edi
mov word [esi], di
add esi, 2
mov word [esi], ax
add esi, 2
mov byte [edx], 0x8d
inc ebp
cli
mov byte [edx], 0x8d
inc ebp
cli
cmp esi, eax
jb 0x41904d
mov edi, dword [ebp - 0x1408]
lea eax, [ebp - 0x1404]
sub esi, eax
mov dword [ebp + 0x10], ecx
push 0
lea eax, [ebp - 0x140c]
and esi, 0xfffffffe
push eax
push esi
lea eax, [ebp - 0x1404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4190c2
mov eax, dword [ebp - 0x140c]
add dword [ebx + 4], eax
cmp eax, esi
jb 0x4190ca
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1410]
cmp ecx, edx
jb 0x419047
jmp 0x4190ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042215d
leave
ret

Function at 0x419cab
Capabilities:
Read file on windows

Disassembly:
or byte [eax], al
jne 0x419cba
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x432ed0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422d6d
invalid

Function at 0x419cfe
Capabilities:
Read file on windows

Disassembly:
call 0x433f4b
mov ecx, dword [esi*4 + 0x47bff8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
invalid

Function at 0x41a363
Capabilities:
Read file on windows

Disassembly:
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]

Function at 0x41a43a
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
Function at 0x41a444
Capabilities:
Read file on windows

Disassembly:
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47bff8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a475
cmp word [esi], dx
jne 0x41a475
or byte [edi + eax + 0x28], 4
jmp 0x41a47a
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41a5cd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41a5ad
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41a4bc
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41a4f2
cmp eax, edx
jae 0x41a4fe
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41a494
jmp 0x433ecb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a5a9
cmp dword [ebp - 0x14], 0
je 0x41a5a9
mov eax, dword [ebx*4 + 0x47bff8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41a581
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41a54a
mov word [esi], cx
jmp 0x41a57d
push 0xd
pop eax
mov word [esi], ax
pop ebx
cmp word [ebp - 4], bx
jne 0x41a592
cmp esi, dword [ebp + 0xc]
jne 0x41a592
mov word [esi], bx
jmp 0x41a5ca
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call 0x434806
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41a5cd
push 0xd
jmp 0x41a5c6
mov ecx, dword [ebx*4 + 0x47bff8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
invalid
invalid

Function at 0x41a928
Capabilities:
Read file on windows

Disassembly:
test bl, dl
je 0x41ac40
mov edx, dword [ebp + 0x10]
cmp edx, 0x7fffffff
jbe 0x41a953
call 0x42854a
and dword [eax], 0
call 0x428565
mov dword [eax], 0x16
jmp 0x4349a6
test edx, edx
je 0x41ac3c
test byte [ebp - 1], 2
jne 0x41ac3c
cmp dword [ebp + 0xc], 0
je 0x41a93b
push esi
mov esi, dword [eax + edi + 0x18]
xor eax, eax
jmp 0x41ac5b
call 0x42884f
and dword [eax], 0
call 0x42886a
mov dword [eax], 9
call 0x428657
or eax, 0xffffffff
pop edi
pop ebx
leave
ret

Function at 0x41aa26
Capabilities:
Read file on windows

Disassembly:
add esp, 0x10
mov ecx, dword [ecx*4 + 0x47bff8]
mov dword [edi + ecx + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [edi + ecx + 0x24], edx
mov edx, esi
mov eax, dword [eax*4 + 0x47bff8]
Function at 0x41aa4a
Capabilities:
Read file on windows

Disassembly:
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test byte [eax + ecx + 0x28], 0x48
mov ecx, dword [ebp + 8]
je 0x41ab16
add byte [eax], al
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx + 0x2a]
mov edx, dword [ebp - 0xc]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov ecx, dword [ebp - 0x10]
inc edi
mov byte [edx], al
inc edx
mov eax, dword [ebp - 8]
dec ebx
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], edx
mov eax, dword [eax*4 + 0x47bff8]
mov byte [ecx + eax + 0x2a], 0xa
mov ecx, dword [ebp + 8]
je 0x41ab16
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
mov al, byte [ecx + eax + 0x2b]
mov ecx, dword [ebp + 8]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov ecx, dword [ebp - 0x10]
mov byte [edx], al
inc edx
mov eax, dword [ebp - 8]
dec ebx
cmp byte [ebp - 1], 1
push 2
mov dword [ebp - 0xc], edx
mov eax, dword [eax*4 + 0x47bff8]
pop edi
mov byte [ecx + eax + 0x2b], 0xa
mov ecx, dword [ebp + 8]
or byte [ebp + 0x38], dh
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
mov al, byte [ecx + eax + 0x2c]
mov ecx, dword [ebp + 8]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov byte [edx], al
push ecx
call 0x43b9d2
pop ecx
test eax, eax
je 0x41ab90
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
cmp byte [ecx + eax + 0x28], 0
jge 0x41ab90
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x41ab90
mov byte [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
Function at 0x41aafb
Capabilities:
Read file on windows

Disassembly:
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test byte [eax + ecx + 0x28], 0x48
mov ecx, dword [ebp + 8]
je 0x41ab16
add byte [eax], al
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx + 0x2a]
mov edx, dword [ebp - 0xc]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov ecx, dword [ebp - 0x10]
inc edi
mov byte [edx], al
inc edx
mov eax, dword [ebp - 8]
dec ebx
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], edx
mov eax, dword [eax*4 + 0x47bff8]
mov byte [ecx + eax + 0x2a], 0xa
mov ecx, dword [ebp + 8]
je 0x41ab16
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
mov al, byte [ecx + eax + 0x2b]
mov ecx, dword [ebp + 8]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov ecx, dword [ebp - 0x10]
mov byte [edx], al
inc edx
mov eax, dword [ebp - 8]
dec ebx
cmp byte [ebp - 1], 1
push 2
mov dword [ebp - 0xc], edx
mov eax, dword [eax*4 + 0x47bff8]
pop edi
mov byte [ecx + eax + 0x2b], 0xa
mov ecx, dword [ebp + 8]
or byte [ebp + 0x38], dh
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
mov al, byte [ecx + eax + 0x2c]
mov ecx, dword [ebp + 8]
cmp al, 0xa
je 0x41ab16
test ebx, ebx
je 0x41ab16
mov byte [edx], al
push ecx
call 0x43b9d2
pop ecx
test eax, eax
je 0x41ab90
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
cmp byte [ecx + eax + 0x28], 0
jge 0x41ab90
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x41ab90
mov byte [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x14]
push eax
push ebx

Function at 0x41aafc
Capabilities:
Read file on windows

Disassembly:
inc edx
mov eax, dword [ebp - 8]
dec ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
push 3
mov eax, dword [eax*4 + 0x47bff8]
pop edi
mov byte [edx + eax + 0x2c], 0xa

Function at 0x41ab46
Capabilities:
Read file on windows

Disassembly:
cmp byte [ebp - 1], 2
jne 0x41ab94
push 0
lea eax, [ebp - 0x14]
shr ebx, 1
jmp 0x41aba4
push ebx
mov ebx, dword [ebp - 0xc]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
test eax, eax
jne 0x41ab85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
dec ebp
adc byte [ebp + 0x27eb473c], cl
Function at 0x41ab9b
Capabilities:
Read file on windows

Disassembly:
push eax
call 0x428735
pop ecx
or edi, 0xffffffff
push esi
call 0x4319e8
pop ecx
mov eax, edi
pop esi
jmp str.lph_
mov ebx, dword [ebp - 0xc]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ac08
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x14], ecx
ja 0x41ac08
add edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x47bff8]
cmp byte [edx + eax + 0x28], 0
jge 0x41ab76
cmp byte [ebp - 1], 2
je 0x41abe8
shr ecx, 1
push ecx
push dword [ebp + 0xc]
push edi
push ebx
push dword [ebp + 8]
call 0x4345bb
add esp, 0x14
mov edi, eax
jmp 0x41ab76
shr edi, 1
cmp byte [ebp - 0x1c], 0
push edi
push dword [ebp - 0x20]
push dword [ebp + 8]
je 0x41ac01
call 0x43472d
add esp, 0xc
jmp 0x41abe4
call 0x434438
jmp 0x41abfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop edi
cmp eax, edi
jne 0x41ac2c
call 0x428837
mov dword [eax], 9
call 0x42882f
mov dword [eax], edi
jmp 0x434b9f
cmp eax, 0x6d
jne 0x41ab6c
xor edi, edi
jmp 0x434bb2

Function at 0x41d86e
Capabilities:
Enumerate files on windows

Disassembly:
not eax
and eax, dword [ebp - 0x284]
call dword [ebx + 0x50]
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff

Function at 0x420707
Capabilities:
Get geographical location

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4208a6
lea eax, [ebp - 0xf4]
push eax
push dword [ebx + 0x50]
call 0x43ccc8
pop ecx
pop ecx
mov ecx, dword [edi]
test eax, eax
jne 0x420739
or ecx, 0x304
mov dword [edi + 4], esi
mov dword [edi], ecx
jmp 0x42079d
test cl, 2
jne 0x4207a0
xor eax, eax
mov dword [edi], eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x42993c
leave
ret 4

Function at 0x42073e
Capabilities:
Get geographical location

Disassembly:
cmp dword [ebx + 0x5c], 0
je 0x420786
push dword [ebx + 0x5c]
lea eax, [ebp - 0xf4]
push eax
push dword [ebx + 0x50]
call 0x443189
add esp, 0xc
test eax, eax
jne 0x420786
or dword [edi], 2
mov dword [edi + 8], esi
mov ecx, dword [ebx + 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xf8]
jne 0x420769
sub ecx, edx
sar ecx, 1
cmp ecx, dword [ebx + 0x5c]
jne 0x4207a0
mov dword [edi + 4], esi
jmp 0x4207a0
mov edx, dword [edi]
test dl, 1
jne 0x4207a0
push esi
call 0x440659
pop ecx
test eax, eax
je 0x4207a0
or edx, 1
mov dword [edi], edx
mov dword [edi + 8], esi
mov eax, dword [edi]