joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4628f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [edi]
mov cx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov ecx, dword [edi + 0x3c]
push ecx
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.00462a40
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.00462a50
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x24]
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
add esi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x462a0b
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.00462a40
push esi
push edi
mov ebx, eax
call fcn.00462a50
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x4629b5
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, ebx
ja 0x4629b5
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.00462a80
add esp, 8
test eax, eax
je 0x462a2b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x4629ea
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x4629d3
test ecx, 0x2000000
je 0x4629d3
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4629de
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x462951
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00462a80
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x46d3d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6eb698]
xor edx, edx
cmp eax, edx
jne 0x46d3f6
xor eax, eax
mov byte [eax + 0x6eb598], al
inc eax
cmp eax, 0x100
jl 0x46d3de
mov dword [0x6eb698], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6eb598
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46d487
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46d45a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46d428
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46d500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46d553
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46d53a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x473ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1fde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00474800
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6a7d24
call fcn.00493818
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x473f73
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00493818
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x473f6c
push 0
mov ecx, eax
call fcn.0046b010
mov dword [esi + 0xc], eax
jmp 0x473f75
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x473f75
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x495e7b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x495eb3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00493f32
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00493f0a
jmp 0x495ebf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49756d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4975af
call fcn.0049d02a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4975af
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4975a6
xor eax, eax
jmp 0x4975b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004975bd
pop edi
pop esi
pop ebx
ret 4
Function at 0x49d55a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49d588
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49d5a6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049d4c0
jmp 0x49d5a6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49d5a6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049d4c0
test edi, edi
mov eax, edi
jne 0x49d590
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405b70
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub byte [ebx - 0x74a8f722], cl
inc esi
cmc
test eax, eax
jne 0x405b87
call [edi + 0x20]
or byte [ecx - 0x74b08558], 0x4e
pop ds
mov ecx, dword [esi + 0x1f]
mov eax, dword [esi + 1]
cmp ecx, eax
mov dword [esi + 0x14], 0x1b
jge 0x405be7
mov edx, dword [esi - 0x12]
mov eax, dword [edx + ecx*4]
fiadd word [esi + 0x20]
cmp byte [eax], 0x2d
jne 0x405c1b
mov dl, byte [eax + 1]
inc eax
inc edi
sal byte [eax + ebp - 0x77], cl
inc esi
and byte [edx + 0x2dfa8010], cl
jne 0x405bd6
inc ecx
mov dword [esi + 0xc], ecx
dec ebp
pop edx
and ah, dl
add al, byte [ecx]
dec ebp
adc byte [edx + 0x5e5f1046], cl
mov byte [ecx], al
invalid
jle 0x405ba0

Function at 0x407ec0
Capabilities:
Encode data using xor

Disassembly:
add dl, 0x30
mov byte [esi], dl
inc esi
add cl, 0x30
mov byte [ebp - 0xa617], ah
call [edx + eax*8 + 0x5f0006c6]
pop esi
mov esp, ebp
pop ebp
mov dl, 0x90
nop
push ebp
mov ebp, esp
push 0x45
sbb al, 0x8b
dec ebp
enter 0x558b, 0x14
push eax
mov eax, dword [ebp + 0x10]
push 0xffffffffffffff90
lds ecx, [ebx - 0x74adf3b6]
push ebp
or byte [eax + 0xe], dl
push edx
call 0x4101f0
add esp, 0x1c
pop ebp
xchg dword [edi - 0x6fb66f70], ebx
nop
nop
nop
nop
lcall 0x8314, 0x78a1ec78
jge 0x407f09
dec edi
jl 0x407f45
leave
inc ebp
adc byte [ebx], dh
add byte [eax], al
add byte [esi + 0x45], ch
stosd dword es:[edi], eax
scasb al, byte es:[edi]
sbb eax, 0x41c264
mov ecx, dword [ebp - 0x30]
mov ecx, dword [esi + 0x3356205d]
not byte [edi - 0x21]
ret 0x41
loopne 0x407ea3
jne 0x407f18
mov dword [ecx], esi
test ah, 0xde
mov edi, ebx
inc ecx
push cs
fst qword [ecx + 0x26e0d908]
pop ebp
or byte [ecx + eax], cl
add dword [ebx], esp
adc cl, byte [ebx + 0x558b0c4d]
jl 0x407ec7
inc ebp
in al, dx
push eax
push ecx
push edx
call dword [0x400f18]
fstp qword [ebp + 8]
fld qword [ebp - 0x57]
outsd dx, dword [esi]
xor al, 0x30
sbb eax, dword [eax]
add esp, 0xc
fnstsw ax
xor byte [ebx], bl
inc eax
add byte [ebx - 0x1f20f33c], al
push esi
les eax, [ebx + edi*2 + 0x72]
lea esi, [ebx + 0x50]
cmp ecx, dword [eax + edx*2 - 0x13ba22a8]
push eax
pop eax
fld qword [ebp - 0x14]
fcomp qword [0xa48030]
jno 0x407f4d
and ah, al
inc esp
push cs
dec eax
fld qword [ebp - 0x14]
fdiv st(1), st(0)
adc bl, al
inc eax
add byte [ebp - 0x7c7713e9], cl
in al, dx
jmp 0x407f60
Function at 0x4089d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
or esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x63]
push 0
push ebx
push esi
push 0x400
push edi
push 0
push 0x1200
call dword [0x33c094]
test eax, eax
jne 0x408a3e
mov ecx, dword [str.Interrupted_system_call]
test ecx, ecx
je 0x408a5f
cmp dword [eax*8 + 0x407d8b], edi
je 0x408a1b
mov ecx, dword [eax*8 + 0x40c324]
inc eax
test dword [ebp + 0x36], edx
jmp 0x408a37
mov eax, dword [eax*8 - 0x25893ce4]
push ebx
push eax
push esi
call 0x2140a550
mov edi, esi
or ecx, 0x19
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
xchg dword [ebx + 0xa223fc1], ecx
sal byte [ecx + esi - 0x76], 0x4c
xor bh, bh
sar dword [edi], 0x22
or al, al
je 0x408a6f
mov cl, byte [eax + esi - 1]
dec eax
cmp cl, 0xd
stosd dword es:[edi], eax
add eax, 0x750af980
add al, 0x6c
xor byte [eax], ah
test ebx, esp
jne 0x408a3e
pushal
invalid
or dword [ebx], ebp
test al, 0
ljmp 0xfc14
mov ebx, dword [eax + 0x5d5b5e5f]
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x373935e5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section._RDATA
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x51985765
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41b740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41b762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41b769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41b758
mov eax, 1
add ebx, ebx
jne 0x41b77b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41b770
jne 0x41b78c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b770
xor ecx, ecx
sub eax, 3
jb 0x41b7a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41b812
mov ebp, eax
add ebx, ebx
jne 0x41b7ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41b7b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41b7dc
inc ecx
add ebx, ebx
jne 0x41b7c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41b7bd
jne 0x41b7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41b7bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41b7fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41b7ed
jmp 0x41b75e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41b7fc
add edi, ecx
jmp 0x41b75e
pop esi
mov edi, esi
mov ecx, 0xaa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41b81a
cmp byte [edi], 5
jne 0x41b81a
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 eax, ebx
loop 0x41b81f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41b897
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c63c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c68c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41b84c
mov ecx, edi
jns 0x41b87b
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 + 0x1c690]
or eax, eax
je 0x41b891
mov dword [ebx], eax
add ebx, 4
jmp 0x41b869
call dword [esi + 0x1c694]
popal
jmp 0x401d04
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x46ec10ae
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x44ce75cd
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x27a64094
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4a78034c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x4634764a
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, str.t_h
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5bef3d74
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403bab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403bab
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403b98
cmp esi, edx
jae 0x403bab
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403b86
cmp esi, edx
jae 0x403bab
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4084a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x447014]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword fs:[0x2c]
movaps xmm0, xmmword [0x442a30]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0x6e591f62
mov ecx, dword [eax]
movaps xmm0, xmmword [0x442d30]
mov eax, dword [0x4492a8]
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x30], 0x776f0ddb
cmp eax, dword [ecx + 4]
jle 0x408551
push 0x4492a8
call fcn.0041478b
add esp, 4
cmp dword [0x4492a8], 0xffffffff
jne 0x408551
xorps xmm0, xmm0
mov byte [0x4490e8], 1
movlpd qword [esp], xmm0
mov edx, dword [esp + 4]
mov eax, dword [esp]
nop dword [eax]
mov cl, byte [esp + eax + 0xc]
mov byte [eax + 0x4490c0], cl
add eax, 1
adc edx, 0
jne 0x408537
cmp eax, 0x28
jb 0x408520
push 0x435e00
call fcn.00414acd
add esp, 4
push 0x4492a8
call fcn.00414741
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, 0x4490c0
xor ecx, esp
call fcn.00414669
mov esp, ebp
pop ebp
ret

Function at 0x408570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x447014]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword fs:[0x2c]
movaps xmm0, xmmword [0x442b70]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0x21763663
mov ecx, dword [eax]
movaps xmm0, xmmword [0x442ab0]
mov eax, dword [0x4499b4]
movups xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x30], 0x776f44c0
cmp eax, dword [ecx + 4]
jle 0x408621
push 0x4499b4
call fcn.0041478b
add esp, 4
cmp dword [0x4499b4], 0xffffffff
jne 0x408621
xorps xmm0, xmm0
mov byte [0x4493d4], 1
movlpd qword [esp], xmm0
mov edx, dword [esp + 4]
mov eax, dword [esp]
nop dword [eax]
mov cl, byte [esp + eax + 0xc]
mov byte [eax + 0x4493ac], cl
add eax, 1
adc edx, 0
jne 0x408607
cmp eax, 0x28
jb 0x4085f0
push 0x435d80
call fcn.00414acd
add esp, 4
push 0x4499b4
call fcn.00414741
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, 0x4493ac
xor ecx, esp
call fcn.00414669
mov esp, ebp
pop ebp
ret
Function at 0x411476
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00411452
pop esi
leave
ret 8

Function at 0x412611
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x412632
jl 0x412629
test edi, edi
jne 0x412632
xor eax, eax
xor edx, edx
jmp 0x4126f3
cmp dword [ebx + 0x38], 0
je 0x412647
push eax
push edi
push dword [ebp + 8]
call fcn.004126f9
jmp 0x4126f3
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41268e
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x41268e
cmp eax, edi
jb 0x412668
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00415cb0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x412694
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4126e8
mov ecx, ebx
call fcn.00411e79
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4126d3
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041de28
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4126e8
jmp 0x4126a6
test edx, edx
je 0x4126e8
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041de28
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4153f5
Capabilities:
Parse pe header

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

Function at 0x42548e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b368
push 0x43b360
push str.FlsAlloc
push 0x1f
call fcn.004252f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4254c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x43716c]
call esi
jmp 0x4254c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x42550c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b378
push 0x43b370
push str.FlsGetValue
push 0x21
call fcn.004252f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425543
push dword [ebp + 8]
mov ecx, esi
call dword [0x43716c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42554b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43b380
push 0x43b378
push str.FlsSetValue
push 0x22
call fcn.004252f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x425585
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43716c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]