joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406750
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00406370
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406782
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x43b170]
call dword [ebp - 8]
jmp 0x40678c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x41af90
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41afae
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp + 8]
push edx
call fcn.0041b090
add esp, 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4233e0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00439c90
mov eax, dword [0x44d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x44e850]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4235b8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x423507
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x423507
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4234e5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x423469
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x423571
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4235d8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4235b3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4235d8
jmp 0x423442
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f50
mov esp, ebp
pop ebp
ret
Function at 0x4235f0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00439c90
mov eax, dword [0x44d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x44e850]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4237db
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x423726
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x423726
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x423702
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x423679
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x423794
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4237fb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4237d6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4237fb
jmp 0x423652
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401f50
mov esp, ebp
pop ebp
ret
Function at 0x42a5a0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00408830
lea ecx, [ebp - 4]
call fcn.0042a570
movzx eax, al
test eax, eax
jne 0x42a5dd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x18]
jmp 0x42a705
lea ecx, [ebp - 4]
call fcn.00407fe0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042a530
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.00407fe0
push eax
push 0
push 0
call fcn.0042a3d0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42a643
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x20]
jmp 0x42a705
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00416dc0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.004039c0
lea ecx, [ebp - 8]
call fcn.00403a00
movzx edx, al
test edx, edx
jne 0x42a68c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00404270
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x24]
jmp 0x42a705
lea ecx, [ebp - 8]
call fcn.00403a50
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.00407fe0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.0042a3d0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42a6e7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00404270
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x34]
jmp 0x42a705
lea ecx, [ebp - 8]
call fcn.00408870
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00404270
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x42a710
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00408830
lea ecx, [ebp - 4]
call fcn.0042a4b0
movzx eax, al
test eax, eax
jne 0x42a74d
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x14]
jmp 0x42a807
lea ecx, [ebp - 4]
call fcn.00407fe0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042a530
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00416dc0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00408830
lea ecx, [ebp - 8]
call fcn.00419bc0
movzx ecx, al
test ecx, ecx
jne 0x42a7bd
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.00408850
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x1c]
jmp 0x42a807
lea ecx, [ebp - 4]
call fcn.00407fe0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.00407fe0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00406870
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00408870
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.00408850
lea ecx, [ebp - 4]
call fcn.0042a490
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret

Function at 0x434da0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00428860
lea ecx, [ebp - 0x34]
call fcn.00428860
call fcn.0041f380
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00427fc0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434df3
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.00428900
lea ecx, [ebp - 0x4c]
call fcn.00428900
mov eax, dword [ebp - 8]
jmp 0x434e68
call fcn.0041f380
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00427fc0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x434e2e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.00428900
lea ecx, [ebp - 0x4c]
call fcn.00428900
mov eax, dword [ebp - 0x10]
jmp 0x434e68
lea ecx, [ebp - 0x34]
call fcn.0041f510
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.0041f510
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.00428900
lea ecx, [ebp - 0x4c]
call fcn.00428900
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x406ff0
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 1
jmp 0x407000
Function at 0x4110e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp ecx, 0xffffffff
je 0x41110c
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x41110c
mov edx, dword [ecx + 0x3c]
cmp edx, 0xfffffff
ja 0x41110c
add edx, ecx
je 0x41110c
xor eax, eax
cmp dword [edx], 0x4550
cmove eax, edx
ret

Function at 0x411110
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
call fcn.00411130
mov ecx, esi
mov edx, eax
pop esi
jmp 0x411150

Function at 0x411820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0x41125f
push ebp
push ebx
push edi
push esi
mov eax, 0xffffffff
cmp edx, 8
jb 0x411228
mov esi, edx
shr esi, 3
xor edi, edi
nop word cs:[eax + eax]
movzx ebx, byte [ecx + edi*8]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 1]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 2]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 3]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 4]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 5]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 6]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
movzx ebx, byte [ecx + edi*8 + 7]
movzx ebp, al
xor ebp, ebx
shr eax, 8
xor eax, dword [ebp*4 + 0x4722e0]
inc edi
cmp esi, edi
jne 0x411180
mov esi, edx
and esi, 0xfffffff8
cmp esi, edx
je 0x411258
nop word cs:[eax + eax]
movzx edi, byte [ecx + esi]
movzx ebx, al
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x4722e0]
inc esi
cmp edx, esi
jne 0x411240
not eax
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
ret
push esi
mov esi, ecx
call fcn.00411510
lea edx, [eax + eax]
mov ecx, esi
pop esi
jmp 0x411150

Function at 0x411870
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.004119a0
mov ecx, esi
pop esi
jmp fcn.004119f0
Function at 0x4119f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [0x47f400]
xor eax, ebp
mov dword [esp + 0x428], eax
cmp byte [0x494450], 0
je 0x411a1d
xor ebx, ebx
jmp 0x411bcb
mov ebx, ecx
lea edi, [esp + 0x220]
mov ecx, str.beep.wav
mov edx, edi
push 0x104
call fcn.00411bf0
add esp, 4
push 0x100
call fcn.0043a28a
add esp, 4
mov esi, eax
push 0xe8b
push dword [0x494454]
push 0x4a
push str.https:__bigpackets.com_streamer_t.php_a_ib_ic_i
push 0x80
push eax
call fcn.00411c20
add esp, 0x18
mov ecx, edi
mov edx, esi
call fcn.00411c80
test al, al
jne 0x411a85
push str.Failed_to_download_translations__may_cause_crashing_n
push 0
call fcn.00411cb0
add esp, 8
push esi
call fcn.0043a293
add esp, 4
lea edi, [esp + 8]
push edi
lea eax, [esp + 0x224]
push eax
call fcn.00448ba2
add esp, 8
test eax, eax
sete al
mov dword [esp + 4], eax
jne 0x411bc7
mov ecx, dword [ebx]
call fcn.00411da0
mov ebx, eax
xor esi, esi
xor ecx, ecx
call fcn.00411da0
mov dword [esp], eax
jmp 0x411b1a
lea eax, [esp + 0x220]
push eax
push 0x100
push edi
push 0x5175d0
lea eax, [esp + 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5175d0
push edi
call fcn.0044fc4d
add esp, 8
test eax, eax
je 0x411b80
mov ecx, esi
mov edx, edi
call fcn.00411db0
inc esi
cmp esi, 0x400
je 0x411bc0
push esi
push 0x4752ca
push 0xc
lea eax, [esp + 0x214]
push eax
call fcn.00411c20
add esp, 0x10
push 0x200
push 0
push edi
call fcn.00438cc0
add esp, 0xc
cmp byte [0x5175ea], 1
je 0x411ad0
mov byte [0x5175ea], 1
movaps xmm0, xmmword [0x4710f0]
movups xmmword [0x5175d0], xmm0
movsd xmm0, qword [0x471100]
movsd qword [0x5175e0], xmm0
mov word [0x5175e8], 0x8cee
jmp 0x411ad0
cmp dword [esp], ebx
je 0x411bc0
lea eax, [esp + 0x220]
push eax
push 0x100
push edi
push 0x5175d0
lea eax, [esp + 0x218]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5175d0
push edi
call fcn.0044fc4d
add esp, 8
test eax, eax
jne 0x411b04
mov byte [0x494450], 1
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x428]
xor ecx, ebp
call fcn.0043b6ab
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x412770
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, edx
mov ebx, ecx
mov ebp, dword [esp + 0x18]
push 0x20
call fcn.0043a224
add esp, 4
mov esi, eax
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], 0x50
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0xffffffff
push 0
push 0
push esi
push 0x412810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
je 0x4127e0
push esi
call fcn.0043a254
add esp, 4
cmp ebx, 1
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0x320
nop word cs:[eax + eax]
push 5
call fcn.00412aa0
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
jne 0x4127cc
dec edi
jne 0x4127f0
xor eax, eax
jmp 0x4127db
Function at 0x414670
Capabilities:
Create thread

Disassembly:
test ecx, ecx
je 0x414685
push 0
push 0
push 0
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x41aff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x438c40
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.0043a5c9
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x41b09f
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.0043a714
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.0043ac7b
add esp, 4
nop word cs:[eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x41b0dc
push eax
call fcn.0044eceb
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x41b0f5
push eax
call fcn.0044eceb
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41b10e
push eax
call fcn.0044eceb
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b127
push eax
call fcn.0044eceb
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41b140
push eax
call fcn.0044eceb
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41b159
push eax
call fcn.0044eceb
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.0043a5fa
add esp, 8
pop ebp
ret
Function at 0x4289a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4389b0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
call fcn.00428b10
call fcn.00428b10
call fcn.00428be0
call fcn.00428be0
call fcn.00428cb0
call fcn.00428d80
call fcn.00428e50
call fcn.00428e50
call fcn.00428f20
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4297e0
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
sub esp, 0x198
mov eax, dword [0x47f400]
xor eax, esp
mov dword [esp + 0x194], eax
movzx ebx, byte [ecx]
test bl, 0x11
jne 0x429862
cmp dword [ecx + 0x14], 0
jne 0x429862
test bl, 2
mov eax, 0x4760b0
mov esi, 0x48dec4
cmovne esi, eax
cmove eax, edx
test edx, edx
cmove eax, esi
test bl, 2
mov edx, 0x492340
mov esi, 0x492138
cmove esi, edx
lea edx, [esp + 4]
push esi
push 0xc8
push edx
push dword [ecx + 0xc]
mov esi, ecx
push dword [ecx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x429862
mov byte [esp + 3], 1
lea eax, [esp + 3]
lea edx, [esp + 4]
mov ecx, esi
push eax
call fcn.004144d0
add esp, 4
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0043b6ab
add esp, 0x198
pop esi
pop ebx
ret
Function at 0x429a60
Capabilities:
Get keyboard layout

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ecx, 0x485110
mov edx, 0xffffffff
push 0x400
call fcn.004121b0
add esp, 4
movaps xmm0, xmmword [0x470d60]
movups xmmword [0x4851d0], xmm0
movaps xmm0, xmmword [0x470d50]
movups xmmword [0x4851e0], xmm0
mov dword [0x4851f0], 8
mov dword [0x4851f4], 9
movaps xmm0, xmmword [str._n_v_f_r]
movups xmmword [0x485214], xmm0
movaps xmm0, xmmword [0x471a00]
movups xmmword [0x485224], xmm0
movaps xmm0, xmmword [0x471a10]
movups xmmword [0x485234], xmm0
movaps xmm0, xmmword [0x471a20]
movups xmmword [0x485244], xmm0
movaps xmm0, xmmword [0x471a30]
movups xmmword [0x485254], xmm0
movaps xmm0, xmmword [0x471a40]
movups xmmword [0x485264], xmm0
movaps xmm0, xmmword [0x471a50]
movups xmmword [0x485290], xmm0
movaps xmm0, xmmword [0x471a60]
movups xmmword [0x4852a0], xmm0
movaps xmm0, xmmword [0x471a70]
movups xmmword [0x4852b0], xmm0
mov dword [0x485410], 0x38
mov dword [0x485408], 0x3a
mov dword [0x48540c], 0x3b
movaps xmm0, xmmword [0x471a80]
movups xmmword [0x48547c], xmm0
movaps xmm0, xmmword [0x471a90]
movups xmmword [0x4853f8], xmm0
mov dword [0x485144], 0x3f
mov dword [0x485130], 0x41
mov dword [0x485134], 0x42
mov dword [0x485160], 0x43
mov dword [0x485350], 0x44
mov dword [0x48517c], 0x45
mov dword [0x485354], 0x46
mov dword [0x4851c4], 0x47
mov dword [0x4851c8], 0x48
movaps xmm0, xmmword [0x471aa0]
movups xmmword [0x485190], xmm0
movaps xmm0, xmmword [0x471ab0]
movups xmmword [0x485150], xmm0
movaps xmm0, xmmword [0x471ac0]
movups xmmword [0x485274], xmm0
mov dword [0x485284], 0x56
mov dword [0x4851b0], 0x59
movaps xmm0, xmmword [0x471ad0]
movups xmmword [0x4851a0], xmm0
movaps xmm0, xmmword [0x471ae0]
movups xmmword [0x4852c4], xmm0
movaps xmm0, xmmword [0x471af0]
movups xmmword [0x4852d4], xmm0
movaps xmm0, xmmword [0x471b00]
movups xmmword [0x4852e4], xmm0
mov dword [0x4852f4], 0x64
mov dword [0x4852f8], 0x65
mov dword [0x4852fc], 0x66
mov dword [0x485114], 0x6a
mov dword [0x485118], 0x6b
mov dword [0x485120], 0x6c
mov dword [0x485124], 0x6d
mov dword [0x485128], 0x6e
mov ecx, 0x485510
mov edx, 0x4720e0
push 0x200
call fcn.00429d50
add esp, 4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [esp], eax
push 0
push 0x476418
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
test eax, eax
je 0x429cd1
mov edi, eax
cmp eax, dword [esp]
je 0x429cd1
mov ebx, 1
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
cmp ebx, 0x80
jne 0x429ce9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
inc ebx
cmp ebx, 0x80
je 0x429cd1
mov ebp, dword [ebx*4 + 0x4720e0]
cmp ebp, 0xffffffff
je 0x429ce0
cmp ebx, 0x29
je 0x429ce0
cmp ebp, 0x24
jae 0x429d30
push edi
push 1
push ebx
call esi
push dword [esp]
push 0
push eax
call esi
and eax, 0x7f
mov dword [eax*4 + 0x485510], ebp
inc ebx
cmp ebx, 0x80
jne 0x429ce9
jmp 0x429cd1
lea eax, [ebp - 0x41]
cmp eax, 0xffffffe3
jb 0x429ce0
cmp ebx, 0x1c
je 0x429ce0
cmp ebx, 0x39
je 0x429ce0
jmp 0x429cff