joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x471300]
sub edi, 1
jne 0x409120
mov ecx, dword [0x526a48]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1adc], eax
jne 0x409152
mov dword [ecx + 0x1ae0], eax
cmp dword [ecx + 0x1b14], eax
jne 0x409161
mov byte [ecx + 0x1b18], 1
pop ebp
ret 4

Function at 0x409970
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x4099d3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4099b6
cmp edi, 2
jb 0x4099b6
cmp byte [esi], cl
jne 0x4099b6
cmp byte [esi + 1], cl
jne 0x4099b6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x471300]
jmp 0x409987
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x471300]
test edi, edi
jne 0x409987
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x409a08
nop word [eax + eax]
cmp cl, 0x23
jne 0x4099ef
cmp byte [esi], cl
jne 0x4099ef
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x471300]
test cl, cl
jne 0x4099e0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x409c00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov esi, 0x47194d
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x409c32
cmp byte [esi], cl
jne 0x409c32
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x471300]
test cl, cl
jne 0x409c23
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x4131f0
mov dword [ebp - 0x14], 0x413340
mov edi, dword [esi + 0x2f0c]
mov ecx, dword [esi + 0x2f10]
mov dword [ebp - 0x10], 0x413270
mov dword [ebp - 0xc], 0x413120
mov dword [ebp - 8], 0x413380
cmp edi, ecx
jne 0x409d27
inc edi
test ecx, ecx
je 0x409c9a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x409c9f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x409d27
mov eax, dword [0x526a48]
test eax, eax
je 0x409cb7
inc dword [eax + 0x398]
push ebx
push dword [0x526a50]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [section..data]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2f14]
test eax, eax
je 0x409d1a
mov ecx, dword [esi + 0x2f0c]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.004480f0
mov ecx, dword [esi + 0x2f14]
add esp, 0xc
test ecx, ecx
je 0x409d0a
mov eax, dword [0x526a48]
test eax, eax
je 0x409d0a
dec dword [eax + 0x398]
push dword [0x526a50]
push ecx
call dword [0x48c004]
add esp, 8
mov dword [esi + 0x2f14], ebx
mov dword [esi + 0x2f10], edi
pop ebx
mov eax, dword [esi + 0x2f0c]
movups xmm0, xmmword [ebp - 0x24]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2f14]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x2f0c]
call fcn.00425160
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d9c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x526a48]
movss xmm0, dword [0x471aa8]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1d10]
ja 0x40dc29
cmp dword [ebx + 0x1d0c], 0
push esi
push edi
jne 0x40da3d
or edx, 0xffffffff
mov esi, 0x4719d1
mov al, 0x23
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x40da0e
cmp byte [esi], al
jne 0x40da0e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x471300]
test al, al
jne 0x40da00
not edx
push edx
call fcn.00408b00
mov dword [ebx + 0x1d0c], eax
add esp, 4
mov eax, dword [0x526a48]
movss xmm2, dword [ebx + 0x38]
movss xmm1, dword [ebx + 0x3c]
mulss xmm2, dword [0x471aac]
or dword [eax + 0x1b28], 0x10
mulss xmm1, dword [0x471aac]
mov dword [eax + 0x1b74], 0
mov dword [eax + 0x1b78], 0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm1
mov dword [ebp - 0xc], 0x7f7fffff
mov dword [ebp - 8], 0x7f7fffff
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + 0x1b64], xmm0
mov eax, dword [0x526a48]
movss xmm2, dword [ebx + 0x38]
movss xmm1, dword [ebx + 0x3c]
mulss xmm2, dword [0x471ab8]
or dword [eax + 0x1b28], 1
mulss xmm1, dword [0x471ab8]
mov dword [eax + 0x1b40], 0x3f000000
movss dword [eax + 0x1b38], xmm2
mov dword [eax + 0x1b44], 0x3f000000
movss dword [eax + 0x1b3c], xmm1
mov dword [eax + 0x1b2c], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x1544]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1548]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.0040ee80
push 0xc1347
push 0
push str.NavWindowingList
call fcn.00403c60
mov edi, dword [ebx + 0x1a70]
add esp, 0x14
sub edi, 1
js 0x40dc18
nop dword [eax]
mov eax, dword [ebx + 0x1a78]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x8b], 0
je 0x40dc0f
cmp esi, dword [esi + 0x320]
jne 0x40dc0f
test dword [esi + 8], 0x80000
jne 0x40dc0f
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x40db95
mov bl, byte [edx]
test bl, bl
je 0x40db8e
cmp bl, 0x23
jne 0x40db88
cmp byte [edx + 1], bl
je 0x40db8e
inc edx
cmp edx, 0xffffffff
jb 0x40db78
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x40dbe5
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x40dba6
mov ecx, str._Popup_
jmp 0x40dbe5
test eax, 0x400
je 0x40dbe0
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40dbd2
test dl, dl
je 0x40dbce
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40dbd2
add ecx, 2
add eax, 2
test dl, dl
jne 0x40dbb2
xor eax, eax
jmp 0x40dbd7
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x40dbe5
mov ecx, str._Untitled_
cmp dword [ebx + 0x1d04], esi
lea eax, [ebp - 0xc]
push eax
sete al
mov dword [ebp - 0xc], 0
push 0
movzx eax, al
push eax
push ecx
mov dword [ebp - 8], 0
call fcn.00426800
add esp, 0x10
sub edi, 1
jns 0x40db40
call fcn.00407990
push 1
call fcn.0040eb80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4125d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x526a48]
cmp byte [edi + 0x2ef9], 0
lea eax, [edi + 0x48]
jne 0x4126ef
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x4126e7
push esi
push 0x471a08
push ecx
call fcn.00409760
mov esi, eax
add esp, 8
test esi, esi
je 0x4126e3
push esi
call fcn.0044cb28
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4126da
push 2
push 0
push esi
call fcn.0044c4c9
add esp, 0xc
test eax, eax
jne 0x4126da
push esi
call fcn.0044cb28
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x4126da
push 0
push dword [ebp - 8]
push esi
call fcn.0044c4c9
add esp, 0xc
test eax, eax
jne 0x4126da
mov eax, dword [0x526a48]
test eax, eax
je 0x412673
inc dword [eax + 0x398]
push dword [0x526a50]
push ebx
call dword [section..data]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4126da
push esi
push dword [ebp - 4]
push 1
push ebx
call fcn.0044c0a5
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x4126c7
call fcn.0044bb39
add esp, 4
mov eax, dword [0x526a48]
test eax, eax
je 0x4126b5
dec dword [eax + 0x398]
push dword [0x526a50]
push ebx
call dword [0x48c004]
add esp, 8
jmp 0x4126e3
call fcn.0044bb39
push dword [ebp - 4]
push ebx
call fcn.0040a780
add esp, 0xc
jmp 0x4126a6
push esi
call fcn.0044bb39
add esp, 4
lea eax, [edi + 0x48]
pop esi
mov byte [edi + 0x2ef9], 1
pop ebx
movss xmm0, dword [edi + 0x2efc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x412740
subss xmm0, dword [edi + 0x40]
comiss xmm1, xmm0
movss dword [edi + 0x2efc], xmm0
jb 0x412740
mov eax, dword [eax]
test eax, eax
je 0x41272f
push eax
call fcn.004105a0
add esp, 4
mov dword [edi + 0x2efc], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x380], 1
mov dword [edi + 0x2efc], 0
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x413f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f286
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x525140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x54], 0
lea eax, [ecx + 0x58]
mov edx, 0x40
nop dword [eax + eax]
mov dword [eax + 0xc], 0
lea eax, [eax + 0x10]
mov dword [eax - 8], 0
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub edx, 1
jne 0x413fc0
mov byte [ecx], dl
mov eax, ecx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x45c], 0xffffffff
mov dword [ecx + 0x458], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f2b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x525140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x4c], ebx
jle 0x4168e6
xor edi, edi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x4168d8
cmp byte [edi + eax + 8], 0
je 0x4168d8
push ecx
call fcn.0040ac50
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
add esp, 4
mov dword [edi + eax], 0
jmp 0x4168db
lea ecx, [esi + 0x54]
inc ebx
add edi, 0x78
cmp ebx, dword [esi + 0x4c]
jl 0x4168b0
jmp 0x4168e9
mov dword [ebp - 0x10], ecx
lea edi, [esi + 0x34]
xor edx, edx
mov dword [ebp - 0x14], edi
cmp dword [edi], edx
jle 0x416937
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x34], eax
jb 0x41692c
mov ecx, dword [esi + 0x4c]
shl ecx, 4
sub ecx, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
cmp dword [ebx + 0x34], eax
jae 0x416929
mov dword [ebx + 0x34], 0
xor ecx, ecx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [edi]
jl 0x4168f5
lea edi, [esi + 0x34]
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x54]
test eax, eax
je 0x41695c
push eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x48]
mov ebx, edi
test eax, eax
je 0x416986
push eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x48], 0
lea ebx, [esi + 0x34]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x45c], 0xffffffff
mov dword [esi + 0x458], 0xffffffff
test eax, eax
je 0x4169af
push eax
call fcn.0040ac50
mov edi, ebx
add esp, 4
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4169bf
push eax
call fcn.0040ac50
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [edi], ebx
jle 0x416a42
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x416a37
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00416b60
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x4169ff
push eax
call fcn.0040ac50
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x416a13
push eax
call fcn.0040ac50
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x416a27
push eax
call fcn.0040ac50
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac50
add esp, 4
mov eax, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [eax]
jl 0x4169d3
lea edi, [esi + 0x34]
mov eax, dword [edi + 8]
test eax, eax
je 0x416a66
push eax
mov dword [edi + 4], 0
mov dword [edi], 0
call fcn.0040ac50
add esp, 4
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x525140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00409210
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x526a90]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [edi + 0x34], xmm0
xorps xmm0, xmm0
movss dword [edi + 0x30], xmm1
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x526a98]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x526a9c]
call fcn.0042d8e0
mov edx, dword [0x526aa4]
mov ecx, dword [0x526aa0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.0042d8e0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x38], xmm1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [0x526a98], eax
mov dword [0x526a9c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x11c], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0x11d], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0x11f], 0
mov byte [edi + 0x11e], al
call fcn.00409210
mov esi, eax
cmp byte [esi + 0x377], 0
je 0x42365a
cvttss2si ecx, dword [esi + 0x104]
lea eax, [ebp - 0xc]
push eax
push dword [0x526a90]
mov dword [ebp - 0xc], ecx
cvttss2si ecx, dword [esi + 0x108]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42365a
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0x104], 0xff7fffff
mov dword [esi + 0x108], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4236d0
mov ecx, dword [0x526a90]
cmp eax, ecx
je 0x42368e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4236d0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4236d0
lea eax, [ebp - 0x1c]
push eax
push dword [0x526a90]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4236d0
movd xmm0, dword [ebp - 0x1c]
movd xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x104], xmm0
movss dword [esi + 0x108], xmm1
cmp byte [edi + 0xd0], 0
pop edi
pop esi
je 0x4236e0
or eax, 0xffffffff
jmp 0x4236e5
call fcn.00409220
cmp dword [0x48c1b8], eax
je 0x4236f7
mov dword [0x48c1b8], eax
call fcn.004239c0
call fcn.00423720
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d85d
mov esp, ebp
pop ebp
ret
Function at 0x429550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f6b8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x525140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429585
sub eax, edx
mov dword [ebp - 0x70], 0
sar eax, 1
lea ecx, [ebp - 0x80]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push edi
movups xmmword [ebp - 0x80], xmm0
call fcn.004279f0
cmp dword [ebp - 0x6c], 7
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x70]
cmova ecx, dword [ebp - 0x80]
mov dword [ebp - 4], 0
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00429970
add esp, 8
mov dword [ebp - 0x88], 0
sub esi, eax
mov dword [ebp - 0x84], 0
sar esi, 1
lea ecx, [ebp - 0x98]
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x98], xmm0
call fcn.004279f0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xb0]
call fcn.00427d40
mov ecx, dword [ebp - 0x9c]
lea esi, [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
cmp ecx, 7
cmova esi, edx
jbe 0x429663
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x429659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42978f
push ecx
push edx
call fcn.0042d84f
add esp, 8
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp ecx, 7
jbe 0x4296c0
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4296b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42978f
push ecx
push edx
call fcn.0042d84f
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x4296fa
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4296f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42978f
push ecx
push edx
call fcn.0042d84f
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 7
push eax
lea eax, [ebp - 0x54]
movlpd qword [ebp - 0x50], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x54], 0x44
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x429774
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d85d
mov esp, ebp
pop ebp
ret
call fcn.00454fd2
int3
Function at 0x42d8e0
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [0x526e6c], 6
jl 0x42d8fa
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x476920]
subsd xmm0, qword [0x476920]
test edx, edx
je 0x42d921
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x476940]
addsd xmm0, xmm1
ret

Function at 0x42e576
Capabilities:
Parse pe header

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

Function at 0x42ea2f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x42ea56
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x42ea59
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0042ea0b
pop esi
leave
ret 8

Function at 0x4471c3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00459ad0
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x447202
sub eax, 1
je 0x4471fd
sub eax, 1
je 0x4471f9
xor eax, eax
leave
ret
push 3
jmp 0x447204
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x44c921
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042e630
mov eax, dword [0x525140]
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.0045e66c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x44c963
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44cabf
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0046e950
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 + 0x527648]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004607e7
mov ecx, dword [esi*4 + 0x527648]
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 0x44cab8
cmp eax, dword [ecx + edi + 0x24]
jne 0x44cab8
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 0x44cab8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004607e7
add esp, 0x14
test edx, edx
jl 0x44cab8
jg 0x44ca2e
test eax, eax
jb 0x44cab8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x44cab8
jl 0x44ca48
cmp dword [ebp - 0x1008], eax
ja 0x44cab8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x44ca66
test ebx, ebx
je 0x44ca9f
cmp ecx, edi
jae 0x44ca9f
mov al, byte [ecx]
cmp al, 0xd
jne 0x44ca80
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44ca8c
cmp byte [ecx + 1], 0xa
jne 0x44ca8c
inc ecx
jmp 0x44ca8c
movzx eax, al
movsx eax, byte [eax + 0x525418]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x44ca66
cmp edx, ebx
jne 0x44ca66
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44cabd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042d85d
leave
ret

Function at 0x45da2a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47b5c8
push 0x47b5c0
push str.FlsAlloc
push 0x1f
call fcn.0045d895
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45da5e
push dword [ebp + 8]
mov ecx, esi
call dword [0x47127c]
call esi
jmp 0x45da64
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45daa8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47b5d8
push 0x47b5d0
push str.FlsGetValue
push 0x21
call fcn.0045d895
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45dadf
push dword [ebp + 8]
mov ecx, esi
call dword [0x47127c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45dae7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47b5e0
push 0x47b5d8
push str.FlsSetValue
push 0x22
call fcn.0045d895
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45db21
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47127c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]