joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5358d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
call fcn.005358c0
add esp, 4
mov dword [ebp - 0xc], eax
call fcn.0054e800
mov edx, 4
imul ecx, edx, 5
mov edx, dword [eax + ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x22
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 4]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x30
je 0x535935
cmp dword [ebp - 8], 0x31
je 0x53593c
cmp dword [ebp - 8], 0x32
je 0x535943
jmp 0x53594a
mov eax, 2
jmp 0x53594c
mov eax, 1
jmp 0x53594c
mov eax, 3
jmp 0x53594c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x53b8b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0053b4d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x53b8e2
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 [0x585188]
call dword [ebp - 8]
jmp 0x53b8ec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x564760
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00563f70
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x564794
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 [0x585188]
call dword [ebp - 8]
jmp 0x56479a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x5647f0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00563fb0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x564824
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 [0x585188]
call dword [ebp - 8]
jmp 0x56482e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x564840
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00563fd0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x564878
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x585188]
call dword [ebp - 8]
jmp 0x564886
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x564910
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00564050
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x564950
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push 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 [0x585188]
call dword [ebp - 8]
jmp 0x56496e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00564be0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x566960
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00535fa0
mov eax, dword [0x6b2044]
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 + 0x6b4e98]
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 0x566b38
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 0x566a87
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x566a87
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 0x566a65
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 0x5669e9
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 0x566af1
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 0x566b58
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 0x566b33
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 0x566b58
jmp 0x5669c2
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.00535f90
mov esp, ebp
pop ebp
ret
Function at 0x566b70
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00535fa0
mov eax, dword [0x6b2044]
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 + 0x6b4e98]
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 0x566d5b
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 0x566ca6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x566ca6
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 0x566c82
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 0x566bf9
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 0x566d14
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 0x566d7b
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 0x566d56
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 0x566d7b
jmp 0x566bd2
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.00535f90
mov esp, ebp
pop ebp
ret
Function at 0x572660
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.00541790
lea ecx, [ebp - 4]
call fcn.00572630
movzx eax, al
test eax, eax
jne 0x57269d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x18]
jmp 0x5727c5
lea ecx, [ebp - 4]
call fcn.0053be40
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005725f0
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.0053be40
push eax
push 0
push 0
call fcn.0056ea60
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x572703
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x20]
jmp 0x5727c5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0053e6a0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00409a10
lea ecx, [ebp - 8]
call fcn.00535b10
movzx edx, al
test edx, edx
jne 0x57274c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00535af0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x24]
jmp 0x5727c5
lea ecx, [ebp - 8]
call fcn.00404e40
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.0053be40
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.0056ea60
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5727a7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00535af0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x34]
jmp 0x5727c5
lea ecx, [ebp - 8]
call fcn.005417d0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00535af0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x5727d0
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.00541790
lea ecx, [ebp - 4]
call fcn.00572570
movzx eax, al
test eax, eax
jne 0x57280d
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x14]
jmp 0x5728c7
lea ecx, [ebp - 4]
call fcn.0053be40
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005725f0
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.0053e6a0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00541790
lea ecx, [ebp - 8]
call fcn.0055b720
movzx ecx, al
test ecx, ecx
jne 0x57287d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.005417b0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x1c]
jmp 0x5728c7
lea ecx, [ebp - 4]
call fcn.0053be40
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.0053be40
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.00538870
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.005417d0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.005417b0
lea ecx, [ebp - 4]
call fcn.00572550
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x57dfa0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00554b80
lea ecx, [ebp - 0x34]
call fcn.00554b80
call fcn.00562350
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00554ad0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x57dff3
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.00554c20
lea ecx, [ebp - 0x4c]
call fcn.00554c20
mov eax, dword [ebp - 8]
jmp 0x57e068
call fcn.00562350
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00554ad0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x57e02e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.00554c20
lea ecx, [ebp - 0x4c]
call fcn.00554c20
mov eax, dword [ebp - 0x10]
jmp 0x57e068
lea ecx, [ebp - 0x34]
call fcn.00554ed0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00554ed0
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.00554c20
lea ecx, [ebp - 0x4c]
call fcn.00554c20
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcr edi, 0xdc
or eax, 0xb4
dec edx
or eax, 8
and ebx, 0x91
sub edx, 0x42
mov edx, 0xe1
inc edi
neg eax
add esi, 0x77
sub eax, 0x40
dec esi
bswap eax
rcr edi, 0x1c
rol ebx, 0x96
sbb ebx, 0x5d
neg edx
bswap edi
dec edx
or ebx, 0x52
not ebx
not eax
inc ebx
sub eax, 0x33
and edi, 0x12
neg eax
not edi
rcr esi, 0x28
mov edx, 0x57
sbb eax, 0xf7
neg edi
bswap eax
or edi, 0xb3
neg edx
not esi
bswap ebx
sub esi, 0xf0
sbb esi, 2
rol edx, 0x11
dec ebx
bswap esi
and eax, 0xd0
and edi, 0xe7
dec esi
dec edx
imul ebx
rcl esi, 0x63
imul eax
neg edi
imul ebx
xor ecx, ecx
xor edi, edi
bswap ebx
rol esi, 0xcb
inc eax
dec ebx
sbb edi, 0xc6
sub edx, 0xcd
and edx, 0xb5
dec eax
rcl edi, 0xc1
mov eax, 0x2e
ror edx, 0xa5
dec esi
dec ebx
rcr esi, 0xa7
rcr esi, 0xa7
imul edx
dec eax
dec ebx
neg edx
inc edi
mov edi, 0xdc
inc edi
and eax, 0xae
bswap eax
sbb edx, 0xe6
inc edi
ror ebx, 0xa1
bswap edi
ror ebx, 4
imul edi
add esi, 0xcf
add edi, 0xdd
ror esi, 0xf8
sbb edx, 0xa2
sbb edi, 0xb1
rcr eax, 0x55
bswap esi
sbb edi, 8
mov edi, 0x7d
rol esi, 0x96
imul edx
and ebx, 0xb2
sub edi, 0xdf
inc ebx
bswap esi
and edi, 0xa1
not edi
neg eax
ror esi, 0xc2
dec ebx
mov ecx, dword [ebp + 0xc]
mov edx, 0x4c
mov ebx, 0x69
imul eax
sub edx, 0xbe
imul eax
dec edx
imul eax
ror edx, 0x40
not edx
and edx, 0x15
inc esi
not edi
imul esi
rcl eax, 0x28
rol ebx, 0x68
dec edx
neg edx
bswap ebx
ror edx, 0x18
not edx
mov ebx, 0xd6
not edi
sub eax, 0xc1
dec ebx
neg eax
add edi, 0xeb
not edx
sub edi, 0x75
sbb edi, 0x60
neg edx
dec ebx
not eax
not edx
and eax, 0x5c
rcr edi, 0xe6
rcr esi, 0xb5
imul eax
not esi
sub eax, 0xf5
inc eax
or ebx, 0x6a
dec eax
imul edx
dec ebx
neg ebx
inc edx
rol edi, 0x99
add ebx, 0xa2
sub eax, 0xc6
sub eax, 0xc5
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, esi
mov eax, ebx
xor esi, esi
mov ebx, ebx
mov eax, eax
mov ebx, esi
xor esi, eax
mov ebx, ebx
xor eax, ebx
xor ebx, eax
mov eax, esi
not byte [edi]
xor ebx, eax
mov esi, ebx
mov esi, ebx
xor ebx, eax
xor eax, eax
mov ebx, esi
xor esi, ebx
xor esi, ebx
mov eax, ebx
sub byte [edi], 0x67
xor eax, esi
mov ebx, esi
mov eax, ebx
mov ebx, ebx
mov esi, esi
mov ebx, eax
xor eax, eax
mov esi, esi
xor eax, ebx
add byte [edi], 0x84
xor eax, eax
mov ebx, esi
mov esi, eax
mov ebx, esi
mov esi, eax
mov esi, esi
xor ebx, eax
mov esi, eax
xor eax, esi
imul byte [edi]
inc edi
loop 0x4011c4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403343
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402239
and dword [ebp - 4], 0
cmp dword [0x4574b0], 0
mov ebx, eax
jne 0x4033f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4034a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a8d0
push edi
call esi
test eax, eax
je 0x4034a5
push eax
call fcn.004021c7
mov dword [esp], 0x40a8c0
push edi
mov dword [0x4574b0], eax
call esi
push eax
call fcn.004021c7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4574b4], eax
call esi
push eax
call fcn.004021c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4574b8], eax
call esi
push eax
call fcn.004021c7
pop ecx
mov dword [0x4574c0], eax
test eax, eax
je 0x4033f4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004021c7
pop ecx
mov dword [0x4574bc], eax
mov eax, dword [0x4574bc]
cmp eax, ebx
je 0x40344c
cmp dword [0x4574c0], ebx
je 0x40344c
push eax
call fcn.00402242
push dword [0x4574c0]
mov esi, eax
call fcn.00402242
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40344c
test edi, edi
je 0x40344c
call esi
test eax, eax
je 0x403443
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403443
test byte [ebp - 0xc], 1
jne 0x40344c
or dword [ebp + 0x10], 0x200000
jmp 0x403485
mov eax, dword [0x4574b4]
cmp eax, ebx
je 0x403485
push eax
call fcn.00402242
pop ecx
test eax, eax
je 0x403485
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x403485
mov eax, dword [0x4574b8]
cmp eax, ebx
je 0x403485
push eax
call fcn.00402242
pop ecx
test eax, eax
je 0x403485
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4574b0]
call fcn.00402242
pop ecx
test eax, eax
je 0x4034a5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4034a7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4051ae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456bf8]
jne 0x4051b8
repz ret
jmp fcn.004068d5
Function at 0x421cb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x42914c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], eax
cmp dword [ebp + 0xc], esi
jle 0x421d8b
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp + 0xc], 0x2d
jne 0x421d18
push 0
push str.lavufixajedapinenaliketuxuzikow_yopipocefibitonehaduyufatavub_jizosuxamuludofu_zamovipezafamid_muhayaju
call edi
push str.xicerijanudivudo
push str.xidicukapixifoga
push str.tidawudawujerusenohohicazoguvikehetadafeviwocubivicasadiyoz
push str.beziwuwiyufopidisaxewodozunabuvizikupajidagakiwubiwahixukecuzidufowilayobayaxihelazepixikuhejim
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call fcn.00421c00
mov ecx, dword [esp + 0xc]
xor byte [ecx + esi], al
cmp dword [ebp + 0xc], 0xf
jne 0x421d81
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
push eax
lea edx, [esp + 0x24]
push edx
push 0x427020
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
xor ecx, ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0x427024
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x421ceb
cmp dword [ebp + 0xc], 0x2d
jne 0x421da5
mov dword [0x42c8d0], 0xa62e7790
mov dword [0x42c8d4], 0xffffffff
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
Function at 0x422170
Capabilities:
Access the windows event log
Manipulate console buffer
Set file attributes

Disassembly:
sub esp, 0xc
mov eax, dword [0x42c8c4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov dword [esp + 0x14], 0x1540b5
lea esp, [esp]
cmp eax, 0xcc1
jne 0x4221b0
push 0
call ebp
mov eax, dword [0x42c8c4]
mov dword [0x42c52c], 0x8e468c60
cmp eax, 0x3dc
jne 0x4221eb
push 0
push 0x4271a0
call esi
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call edi
push str.guyojolegulob
push 0
push 0
call ebx
mov eax, dword [0x42c8c4]
dec dword [esp + 0x14]
jne 0x4221a0
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
xor esi, esi
mov ebp, 0xec58acac
or ebx, 0xffffffff
cmp eax, 0x997
jne 0x422213
push 0
push 0
call edi
mov eax, dword [0x42c8c4]
cmp esi, 0x846373
jne 0x42222a
mov eax, dword [0x42aad0]
add eax, 0xa231
mov dword [0x42c8c4], eax
cmp eax, 0x141
jne 0x42223d
mov dword [0x42bd18], ebp
mov dword [0x42bd1c], ebx
inc esi
cmp esi, 0x123c962
jl 0x422201
call fcn.00421e00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0x10