joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b463
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004554d7
add esp, 4
and eax, 0xff
test eax, eax
je 0x45b4ec
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00466240
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x45b4ea
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x45b4ea
jmp 0x45b4ec
jmp 0x45b46c
mov esp, ebp
pop ebp
ret

Function at 0x45b94c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x487618]
test eax, eax
jne 0x45b960
call fcn.0045b894
xor ecx, ecx
mov cl, byte [0x487615]
test ecx, ecx
jne 0x45b9e7
xor edx, edx
mov dl, byte [0x487614]
test edx, edx
jne 0x45b9e7
cmp dword [0x48771c], 0
je 0x45b9c2
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x48771c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x48771c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x48771c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x45b9e7
push 0x10001
push 0x487618
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x45b9e7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x45e9ca
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45e9da
xor eax, eax
jmp 0x45eba3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45eb5b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x485bbc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x45e9e3
cmp dword [ebp + 0x10], 0
je 0x45eb9d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x485bbc]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x45eb61
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x468350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x483388
cmp edx, dword [eax]
je 0x468372
add eax, 8
inc ecx
cmp eax, 0x483418
jl 0x468363
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x483388]
jne 0x4684a0
mov eax, dword [0x487798]
cmp eax, 1
je 0x46847a
test eax, eax
jne 0x4683a3
cmp dword [0x4830c4], 1
je 0x46847a
cmp edx, 0xfc
je 0x4684a0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4683da
lea eax, [ebp - 0x1a4]
push 0x486fd8
push eax
call fcn.004666b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00466430
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x46841d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00466430
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x486fd4
push edi
call fcn.00466860
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x486fb8
push eax
call fcn.004666b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004666c0
lea eax, [ebp - 0xa0]
push 0x486fb4
push eax
call fcn.004666c0
push dword [esi + 0x48338c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004666c0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x486f8c
push eax
call fcn.0046a918
add esp, 0x2c
pop edi
jmp 0x4684a0
lea eax, [ebp + 8]
lea esi, [esi + 0x48338c]
push 0
push eax
push dword [esi]
call fcn.00466430
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44c000
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], 0
call fcn.0044c830
mov edi, eax
call fcn.0044c7a0
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x242f721c
call fcn.0044c720
add esp, 4
test eax, eax
mov dword [0x4a900c], eax
jne 0x44c05c
push 0x28462f7b
call fcn.0044c720
add esp, 4
mov dword [0x4a900c], eax
mov edi, 0x1388
jmp 0x44c068
mov eax, dword [0x4a900c]
push 0
push 0
call eax
sub edi, 1
jne 0x44c063
mov eax, dword [0x4a9024]
push ebx
push eax
mov edi, esi
call fcn.0044c720
mov ecx, dword [0x4a9020]
push ecx
mov dword [0x4a9024], eax
call fcn.0044c720
add esp, 8
mov dword [0x4a9020], eax
rdtsc
mov ebx, eax
rdtsc
sub eax, ebx
ja 0x44c09e
mov eax, dword [0x4a900c]
lea edx, [ebp - 4]
push edx
push pe_nt_image_headers32
push 5
push eax
call dword [0x4a9020]
test eax, eax
pop ebx
je 0x44c0f9
mov eax, dword [0x4a900c]
mov cl, byte [eax]
mov byte [0x4a900b], cl
mov edx, dword [eax + 1]
mov dword [0x4a9010], edx
mov byte [eax], 0xe9
mov eax, dword [0x4a900c]
mov ecx, 0x44c390
sub ecx, eax
sub ecx, 5
push 0
push 0x753baf3
mov dword [eax + 1], ecx
call fcn.0044c720
add esp, 4
call eax
push 0
call dword [0x4a9024]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44c110
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov dword [ebp - 4], 0
call fcn.0044c7a0
mov edi, eax
mov eax, dword [str.Yx_]
push eax
call fcn.0044c720
mov ecx, dword [0x4a9028]
push ecx
mov dword [str.Yx_], eax
call fcn.0044c720
add esp, 8
mov dword [0x4a9028], eax
rdtsc
mov ebx, eax
rdtsc
sub eax, ebx
ja 0x44c14c
fldpi
movd dword [ebp - 4], mm7
cmp dword [ebp - 4], 0
je 0x44c1e7
push esi
push str.user32
call dword [0x4a9028]
mov edx, dword [0x4a902c]
push edx
mov edi, eax
call fcn.0044c720
mov dword [0x4a902c], eax
mov eax, 0x4a9080
sub eax, 0x4a9050
push eax
push 0x4a9050
mov eax, 0x4a9030
call fcn.0044c200
call fcn.0044c3c0
mov ecx, dword [0x4a9078]
mov esi, eax
push ecx
push esi
mov eax, 0x4a9050
call fcn.0044c200
mov edx, dword [0x4a9074]
add esp, 0x14
push 4
push 0x3000
push edx
push 0
call dword [str.Yx_]
mov edi, eax
push edi
mov eax, esi
call fcn.0044c860
mov eax, dword [0x4a9080]
push eax
push edi
call fcn.0044c450
add esp, 0xc
pop esi
push 0
call dword [0x4a9024]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
push ebx
push ebp
mov ebp, dword [esp + 0x40c]
push esi
push edi
mov edi, eax
xor esi, esi
xor eax, eax
jmp 0x44c220
mov dword [esp + eax*4 + 0x10], eax
add eax, 1
cmp eax, 0x100
jl 0x44c220
xor eax, eax
lea ecx, [eax + 2]
mov edx, eax
and edx, 0x1f
movzx edx, byte [edx + edi]
add edx, esi
add edx, dword [esp + eax*4 + 0x10]
mov esi, edx
and esi, 0x800000ff
jns 0x44c254
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax*4 + 0x10]
mov ebx, dword [esp + esi*4 + 0x10]
movzx edx, dl
mov dword [esp + eax*4 + 0x10], ebx
mov dword [esp + esi*4 + 0x10], edx
lea edx, [ecx - 1]
and edx, 0x1f
movzx edx, byte [edx + edi]
add edx, esi
add edx, dword [esp + eax*4 + 0x14]
mov esi, edx
and esi, 0x800000ff
jns 0x44c289
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax*4 + 0x14]
mov ebx, dword [esp + esi*4 + 0x10]
movzx edx, dl
mov dword [esp + eax*4 + 0x14], ebx
mov dword [esp + esi*4 + 0x10], edx
mov edx, ecx
and edx, 0x1f
movzx edx, byte [edx + edi]
add edx, dword [esp + eax*4 + 0x18]
add esi, edx
and esi, 0x800000ff
jns 0x44c2bb
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax*4 + 0x18]
mov ebx, dword [esp + esi*4 + 0x10]
movzx edx, dl
mov dword [esp + eax*4 + 0x18], ebx
mov dword [esp + esi*4 + 0x10], edx
lea edx, [ecx + 1]
and edx, 0x1f
movzx edx, byte [edx + edi]
add edx, esi
add edx, dword [esp + eax*4 + 0x1c]
mov esi, edx
and esi, 0x800000ff
jns 0x44c2f0
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax*4 + 0x1c]
mov ebx, dword [esp + esi*4 + 0x10]
mov dword [esp + eax*4 + 0x1c], ebx
movzx edx, dl
add ecx, 4
add eax, 4
cmp ecx, 0x102
mov dword [esp + esi*4 + 0x10], edx
jl 0x44c233
mov edi, dword [esp + 0x418]
xor ecx, ecx
test edi, edi
jbe 0x44c37d
add eax, 1
and eax, 0x800000ff
jns 0x44c333
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [esp + eax*4 + 0x10]
add esi, edx
and esi, 0x800000ff
jns 0x44c349
dec esi
or esi, 0xffffff00
inc esi
mov ebx, dword [esp + esi*4 + 0x10]
movzx edx, dl
mov dword [esp + eax*4 + 0x10], ebx
mov dword [esp + esi*4 + 0x10], edx
mov ebx, dword [esp + eax*4 + 0x10]
add ebx, edx
and ebx, 0x800000ff
jns 0x44c36e
dec ebx
or ebx, 0xffffff00
inc ebx
movzx edx, byte [esp + ebx*4 + 0x10]
xor byte [ecx + ebp], dl
add ecx, 1
cmp ecx, edi
jb 0x44c322
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret

Function at 0x44c3c0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ecx
push ebx
mov ebx, dword [0x4a9078]
push esi
mov esi, dword [0x4a9070]
push edi
push 4
push 0x3000
push ebx
push 0
mov dword [esp + 0x1c], 0
call dword [str.Yx_]
mov edi, eax
mov eax, dword fs:[0xc0]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x44c419
push 0x33
call 0x44c402
add dword [esp], 5
retf
xor ecx, ecx
test ebx, ebx
jbe 0x44c444
nop
mov al, byte [esi]
mov byte [ecx + edi], al
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
add esi, 1
sub eax, edx
jne 0x44c43d
add esi, 1
add ecx, 1
cmp ecx, ebx
jb 0x44c420
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44c720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
test edi, edi
jne 0x44c72d
xor eax, eax
add esp, 0xc
ret
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
mov ecx, dword [eax + edi + 0x1c]
add eax, edi
add ecx, edi
push ebx
push ebp
mov ebp, dword [eax + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
add ebp, edi
xor ebx, ebx
test eax, eax
push esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jbe 0x44c77a
mov edi, edi
mov esi, dword [ebp + ebx*4]
add esi, edi
call fcn.0044c7d0
cmp eax, dword [esp + 0x1c]
je 0x44c783
add ebx, 1
cmp ebx, dword [esp + 0xc]
jb 0x44c760
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
movzx edx, word [ecx + ebx*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
pop esi
pop ebp
add eax, edi
pop ebx
add esp, 0xc
ret
Function at 0x436940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x26000]
push edi
jmp 0x43695a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x436961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x436950
mov eax, 1
add ebx, ebx
jne 0x436973
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x436968
jne 0x436984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436968
xor ecx, ecx
sub eax, 3
jb 0x436998
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x436a0a
mov ebp, eax
add ebx, ebx
jne 0x4369a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4369b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4369d4
inc ecx
add ebx, ebx
jne 0x4369c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4369b5
jne 0x4369d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4369b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4369f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4369e5
jmp 0x436956
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4369f4
add edi, ecx
jmp 0x436956
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x436a12
cmp byte [edi], 0x12
jne 0x436a12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x436a17
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x436a8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x47190]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x47270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x436a44
mov ecx, edi
jns 0x436a73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x47278]
or eax, eax
je 0x436a89
mov dword [ebx], eax
add ebx, 4
jmp 0x436a61
call dword [esi + 0x47274]
mov ebp, dword [esi + 0x4727c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x436ac3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40325b
pop dword [ebp - 0x34]
mov eax, 0x40325b
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xd6e3918c
sub dword [ebp - 0x44], 0x88914c41
mov dword [ebp - 0x40], 0x27805590
sub dword [ebp - 0x40], 0xf54d094b
mov dword [ebp - 0x3c], 0xc298c47d
add dword [ebp - 0x3c], 0x89b37fb1
mov dword [ebp - 0x38], 0xd0ee729a
add dword [ebp - 0x38], 0x2f118d66
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3638fe3b
sub dword [ebp - 0x44], 0xc1c694e5
mov dword [ebp - 0x40], 0xe1c8d7f3
sub dword [ebp - 0x40], 0xa05c767e
mov dword [ebp - 0x3c], 0x7a19f628
add dword [ebp - 0x3c], 0xe9557644
mov dword [ebp - 0x38], 0xc7c38a5a
sub dword [ebp - 0x38], 0xc7c38a5a
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xa7a33dfc
sub eax, 0xa762bd80
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x39b48
push 0
call eax
mov ecx, 0x52b2
xor esi, esi
add esi, eax
mov edx, 0xd7a30cff
sub edx, 0xd75d7aff
add edx, dword [ebp - 0x34]
mov edi, 0x522180bc
add edi, 0x9ba808ea
add dword [ebp - 0x18], edx
mov ebx, dword [edx]
mov dword [ebp - 0x24], 0x826c55cf
add ebx, edi
sub dword [ebp - 0x24], 0xd3d0f2a3
mov dword [esi], ebx
xor dword [ebp - 0xc], esi
add esi, 4
add edx, 4
loop 0x40336f
add eax, 0xaa84503d
sub eax, 0xaa8312a2
mov ebx, eax
add eax, 0x81805c68
add eax, 0x7e7fa39d
mov ecx, 0xee7880d7
sub ecx, 0xee3880d7
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40105b
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x401670], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x401674], eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x401678], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x40167c], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov dword [0x401680], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [0x401684], eax
call 0x40105b
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0x10
push dword [0x40167c]
push dword [0x401678]
push 0x401340
push 0x4011d3
call fcn.00401141
push 0x28
push dword [0x401680]
call fcn.00401290
mov dword [ebp - 4], eax
push 0x28
push dword [0x401684]
call fcn.00401290
mov dword [ebp - 8], eax
push dword [0x401680]
push dword [ebp - 4]
call fcn.00401279
mov dword [ebp - 0xc], eax
push dword [0x401684]
push dword [ebp - 8]
call fcn.00401279
mov dword [ebp - 0x10], eax
push 0
push dword [0x401670]
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0xcf0000
push 0x401350
push 0x401340
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x401688], eax
push 0xa0000
push 0x1f4
push dword [0x401688]
call sub.user32.dll_AnimateWindow
push dword [0x401688]
call sub.user32.dll_SetFocus
push 5
push dword [0x401688]
call sub.user32.dll_ShowWindow
push dword [0x401688]
call sub.user32.dll_UpdateWindow
push 1
push 0
push dword [0x401688]
call sub.user32.dll_InvalidateRect
call fcn.004011a4
leave
ret
Function at 0x4010cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b004]
jne 0x4010d6
repz ret
jmp fcn.004016e5

Function at 0x4056ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004044d5
and dword [ebp - 0x14], 0
cmp dword [0x42db38], 0
mov dword [ebp - 0x18], eax
jne 0x40575e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405806
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405806
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42db38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42db3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42db40], eax
call edi
push eax
call esi
mov dword [0x42db48], eax
test eax, eax
je 0x40575e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42db44], eax
mov eax, dword [0x42db44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057b7
cmp dword [0x42db48], ecx
je 0x4057b7
push eax
call esi
push dword [0x42db48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057b7
test ebx, ebx
je 0x4057b7
call edi
test eax, eax
je 0x4057ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4057ae
test byte [ebp - 8], 1
jne 0x4057b7
or dword [ebp + 0x10], 0x200000
jmp 0x4057ea
mov eax, dword [0x42db3c]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057ea
mov eax, dword [0x42db40]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42db38]
call esi
test eax, eax
je 0x405806
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405808
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010cc
leave
ret
Function at 0x421090
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x4210a4
call fcn.00421010
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x421097
pop esi
cmp ebx, 0x2d
jne 0x4210be
mov dword [0x81eb98], 0xa62e7790
mov dword [0x81eb9c], 0xffffffff
ret

Function at 0x4210c0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x42b004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42bdb8]
push ebx
mov ebx, dword [0x81eb8c]
push edi
mov edi, dword [0x81c70c]
call fcn.00421060
cmp dword [0x81eb8c], 0x2f
jne 0x42112d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00421090
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010cc
add esp, 0x24
ret