joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10018008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push 0x104
push dword [esi]
push 0x1001b830
call fcn.10008e90
push 0x104
push dword [esi]
push 0x1001b830
call fcn.10009235
add esp, 0x18
push 0x10005840
push 0x1001b830
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [0x1001b828], eax
test eax, eax
je 0x100057ca
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov esi, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
lea eax, [ebp - 0x20]
push eax
push dword [0x1001b828]
mov dword [ebp - 0x20], 0x20
mov dword [0x1001b824], 2
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x3e8
call esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x20
push eax
push dword [0x1001b828]
mov dword [0x1001b824], 4
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3e8
call esi
call fcn.10005490
push 0
push 0
push 0x1001b830
push 0x10005430
push 0
push 0
mov dword [0x1001b71c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
nop dword [eax + eax]
push 0x64
call esi
mov ecx, dword [0x1001b824]
cmp ecx, 3
je 0x100057a4
cmp ecx, 1
jne 0x10005790
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1001b71c], 0x120
pop edi
jne 0x100057ca
push 0x2710
call esi
jmp 0x100057c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000599e
mov esp, ebp
pop ebp
ret
Function at 0x1011beb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1000108e
cmp eax, 0
sete cl
mov byte [esp + 0x37], cl
xor eax, eax
mov cl, byte [esp + 0x37]
test cl, 1
mov dword [esp + 0x30], eax
jne 0x1011bf83
jmp 0x1011bef2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jmp 0x1011c02c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov dword [0x10177f4c], 0xfffff682
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1011ca97
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10177f4c]
add ecx, 0xffffe5c3
mov dword [0x10177f50], ecx
mov dword [esp + 0x2c], eax
jmp 0x1011beea
lea eax, [esp + 0x38]
mov ecx, dword [0x10177f4c]
add ecx, 0xffffefd3
mov dword [0x10177f4c], ecx
mov dword [esp + 0x14], eax
call fcn.1011c3b8
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x1011beea
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.1011bc05
lea ecx, [0x1011cff3]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x74], 0x12f000
mov dword [0x10177f4c], 0x15a6
mov edx, dword [0x10177f38]
mov dword [esp + 0x54], edx
mov edx, dword [0x10177f3c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10177f40]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10177f44]
mov dword [esp + 0x84], edx
mov edx, dword [0x10177f48]
mov dword [esp + 0x50], edx
mov dword [0x10177f50], 0x109b
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
jne 0x1011befa
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
cmp eax, 0x4550
je 0x1011bf19
jmp 0x1011befa
Function at 0x1011c0da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1011cbcb
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1011c116
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10177f50], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10177f4c], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1011c243
jmp 0x1011c18d
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x1011c1c4
jmp 0x1011c1ec
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
jmp 0x1011c1cd
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10177f4c], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x1011c243
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1011c19f
jmp 0x1011c21a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x1011c162
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x1011c162
jmp 0x1011c1c4
mov eax, dword [ebp - 0x50]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x34], eax
jb 0x1011c1cd
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011c24e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10177f50]
add edi, 0x53c
mov dword [0x10177f50], edi
mov dword [0x10177f58], 0
mov byte [0x10177f5c], 0
mov dword [0x10177f54], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1011c362
xor eax, eax
mov dword [0x10177f4c], 0x182
mov dword [0x10177f54], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10177f60], 0
mov edx, dword [0x10177f58]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10177f60], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10177f58], edx
mov dword [0x10177f4c], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10177f5c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10177f4c], 0x16c8
mov cl, byte [0x10177f5c]
mov edx, dword [0x10177f58]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10177f54]
add edx, 1
mov dword [0x10177f54], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1011c2b9
jmp 0x1011c3a6
mov eax, dword [ebp - 0x1c]
mov dword [0x10177f50], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10177f50]
add eax, 0x325
mov dword [0x10177f50], eax
mov eax, dword [0x10177f54]
add eax, 1
mov dword [0x10177f54], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1011c362
jmp 0x1011c2a0
mov dword [0x10177f4c], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011c3b8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x1011c45c
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
xor eax, eax
mov dword [0x10177f4c], 0x982
mov dword [ebp - 0x14], eax
jmp 0x1011c3e4
mov eax, dword [0x10177f4c]
add eax, 0xfffff36e
mov dword [0x10177f4c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1011c3ec
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1011c44b
jmp 0x1011c3ec
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x61
je 0x1011c3fd
jmp 0x1011c3ec
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1011c4b7
jmp 0x1011c3ec
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1011c489
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1011c45c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1011c3ec
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1011c42c
jmp 0x1011c3ec
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x1011c3e4
jmp 0x1011c3ec
Function at 0x1011c834
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10177f54], 0
mov dword [0x10177f58], 0
mov dword [0x10177f64], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10177f4c], 0x53e
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x1011c996
jmp 0x1011c8c2
mov eax, dword [0x10177f54]
mov ecx, dword [0x10177f58]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x1011c8c2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10177f50], 0xb88
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10177f54], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x3c]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x40], edx
cdq
idiv esi
mov dword [0x10177f58], edx
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x10177f5c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10177f4c]
add edx, 0x20cc
mov dword [0x10177f4c], edx
mov cl, byte [0x10177f5c]
mov edx, dword [0x10177f58]
mov byte [edi + edx], cl
mov edx, dword [0x10177f54]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10177f58]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10177f64], ebx
mov dword [0x10177f4c], 0x395
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x34], edx
jne 0x1011c89d
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011ca97
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10177f50]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x10177f4c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
jmp 0x1011cb61
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1011c99e
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x10177f4c], 0x21cb
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x40], ecx
add ecx, 0x11da
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x1011cb57
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1011e624]
mov dh, byte [eax + 0x1011e5f5]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x38], ecx
jne 0x1011cb61
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x10177f50], ecx
mov dword [ebp - 0x4c], eax
call fcn.1011c4d7
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.1011cde1
cmp eax, 0
mov dword [ebp - 0x3c], eax
jne 0x1011cacc
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x402954
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4029cc
xor eax, eax
push ebp
push 0x4029c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402a08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4029cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x40771c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407755
mov ecx, eax
dec ecx
jmp 0x45b793
mov eax, ebx
mov edx, esi
call fcn.004033e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c6e4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004037a0
xor eax, eax
push ebp
push 0x40c76b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.004037b0
push eax
call sub.kernel32.dll_SetFileAttributesA
xor ebx, ebx
mov eax, dword [0x40f3f8]
mov byte [eax], 2
mov edx, dword [ebp - 4]
mov eax, 0x410658
call fcn.00404c6e
mov edx, 0x80
jmp 0x4616cc
Function at 0x4012b4
Capabilities:
Manipulate console buffer
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1d62474]
mov ecx, dword [0x1cf75e0]
sub esp, 0x818
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40136f
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x1d62474], 0xae9
jne 0x40135b
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push esi
lea eax, [ebp - 0x818]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push str.Suzulumitolos_tafig
push str.Bipuze_fuvemahik_xowagadid_honupebew_jakahizihu
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
push ebx
call fcn.00401077
add ebx, 8
dec dword [ebp - 4]
jne 0x4012dd
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401402
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
call fcn.004013ee
push 0x419ba8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LocalAlloc
push eax
mov dword [0x1cfa7dc], eax
call esi
push 0x414c78
push dword [0x1cfa7dc]
mov dword [0x1cf75e4], eax
call esi
push dword [0x1d62474]
xor esi, esi
push esi
mov dword [0x434f9c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x1cf75e0], eax
call fcn.004013c3
xor edi, edi
cmp edi, 0x50a28
jge 0x401479
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_RealGetWindowClassA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, 0x11c825e
jg 0x401493
inc edi
mov eax, edi
cdq
cmp edx, 0x3f
jl 0x401462
jg 0x401493
cmp eax, 0x27e32a85
jb 0x401462
mov eax, dword [0x418a9c]
mov dword [0x1d62478], eax
call fcn.0040138c
xor edi, edi
cmp dword [0x1d62474], esi
jbe 0x4014d5
cmp dword [0x1d62474], 0xd8c
jne 0x4014cc
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
inc edi
cmp edi, dword [0x1d62474]
jb 0x4014ac
xor edi, edi
mov eax, dword [0x1d62474]
add eax, edi
cmp eax, 0x5e
jne 0x4014fb
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc edi
cmp edi, 0xa69b
jl 0x4014d7
call fcn.004012b4
xor ecx, ecx
cmp ecx, 0x59d8
jne 0x401518
call fcn.00401372
inc ecx
cmp ecx, 0x2f5303
jl 0x40150b
push 0x7b
pop edi
cmp dword [0x1d62474], 0x54d
jne 0x401547
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
dec edi
jne 0x401524
pop edi
pop esi
leave
ret
Function at 0x40154e
Capabilities:
Create thread
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
cmp dword [0x1d62474], 0xc
push esi
push edi
jne 0x40156f
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00401b5e
mov edi, 0x97a9a
xor esi, esi
cmp dword [0x1d62474], 0x65
jne 0x40159e
push str.Buvahinofasi_bodideyo_mefaviral
push 0x414c9c
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp - 0x2b8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
dec edi
jne 0x401576
mov eax, dword [0x418c3c]
mov dword [0x1d62474], eax
call fcn.004013b8
mov edi, 0x419ba8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x20a
jne 0x40162d
push esi
push esi
push esi
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push esi
push esi
lea eax, [ebp - 0x6b8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
push str.runexobozez
push edi
call fcn.00401a99
pop ecx
pop ecx
call fcn.00401402
call dword [0x1cf75e0]
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x4022f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417214]
jne 0x4022fa
repz ret
jmp fcn.00406a9c
Function at 0x408073
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.00404abb
and dword [ebp - 4], 0
cmp dword [0x419a9c], 0
mov ebx, eax
jne 0x408124
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4081d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4081d5
push eax
call fcn.00404a49
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419a9c], eax
call esi
push eax
call fcn.00404a49
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419aa0], eax
call esi
push eax
call fcn.00404a49
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419aa4], eax
call esi
push eax
call fcn.00404a49
pop ecx
mov dword [0x419aac], eax
test eax, eax
je 0x408124
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a49
pop ecx
mov dword [0x419aa8], eax
mov eax, dword [0x419aa8]
cmp eax, ebx
je 0x40817c
cmp dword [0x419aac], ebx
je 0x40817c
push eax
call fcn.00404ac4
push dword [0x419aac]
mov esi, eax
call fcn.00404ac4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40817c
test edi, edi
je 0x40817c
call esi
test eax, eax
je 0x408173
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408173
test byte [ebp - 0xc], 1
jne 0x40817c
or dword [ebp + 0x10], 0x200000
jmp 0x4081b5
mov eax, dword [0x419aa0]
cmp eax, ebx
je 0x4081b5
push eax
call fcn.00404ac4
pop ecx
test eax, eax
je 0x4081b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4081b5
mov eax, dword [0x419aa4]
cmp eax, ebx
je 0x4081b5
push eax
call fcn.00404ac4
pop ecx
test eax, eax
je 0x4081b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419a9c]
call fcn.00404ac4
pop ecx
test eax, eax
je 0x4081d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4081d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret