joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4045e2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x428014]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x6c]
stosd dword es:[edi], eax
push 0x208
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
call fcn.004083c7
mov esi, eax
mov dword [esp], 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.00409627
pop ecx
pop ecx
test eax, eax
jne 0x40465f
mov edi, ebx
jmp 0x40466b
add eax, 2
push eax
call fcn.0040dbfe
pop ecx
mov edi, eax
push esi
call fcn.004083d0
pop ecx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x404677
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x74]
call fcn.0040575a
lea ecx, [esp + 0x9c]
call fcn.004040a8
push 0x424420
lea edx, [esp + 0xa0]
lea ecx, [esp + 0xd0]
call fcn.004058e3
cmp dword [esp + 0x84], 8
pop ecx
push dword [esp + 0x7c]
lea ecx, [esp + 0x70]
cmovae ecx, dword [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004057c6
push eax
lea ecx, [esp + 0xb8]
call fcn.00407184
lea ecx, [esp + 0xcc]
call fcn.00407396
push 0x44
pop esi
push esi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00409ce0
xor eax, eax
mov dword [esp + 0x2c], esi
lea edi, [esp + 0x1c]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
push 0x424424
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x14]
xor edi, edi
inc edi
mov word [esp + 0x54], ax
mov dword [esp + 0x50], edi
call fcn.0040536e
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x88]
call fcn.004057a9
push 2
push 0x424428
lea ecx, [esp + 0x8c]
call fcn.004057c6
mov edx, dword [esp + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40475d
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.004057c6
cmp dword [esp + 0x98], 8
lea eax, [esp + 0x84]
cmovae eax, dword [esp + 0x84]
push eax
call fcn.0040dbfe
cmp dword [esp + 0xb4], 8
mov esi, eax
pop ecx
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
push ecx
call fcn.0040dbfe
pop ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
push ebx
push edi
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4047d9
or ebx, 0xffffffff
jmp 0x4047f2
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0x1388
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
lea ecx, [esp + 0x84]
call fcn.00407396
lea ecx, [esp + 0xb4]
call fcn.00407396
lea ecx, [esp + 0x9c]
call fcn.00407396
lea ecx, [esp + 0x6c]
call fcn.00407396
mov ecx, dword [esp + 0xe4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00407fe5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408da6
Capabilities:
Parse pe header

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

Function at 0x41257e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420668
push 0x420660
push str.FlsAlloc
push 0x1f
call fcn.00412465
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4125b2
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d134]
call esi
jmp 0x4125b8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4125fc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420678
push 0x420670
push str.FlsGetValue
push 0x21
call fcn.00412465
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412633
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41263b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420680
push 0x420678
push str.FlsSetValue
push 0x22
call fcn.00412465
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412675
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x414704
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x428014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41474f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041489f
test al, al
jne 0x414749
sub edx, 2
cmp edx, edi
jne 0x41472f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x414771
lea eax, [edi + 2]
cmp edx, eax
je 0x414771
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00414650
add esp, 0x10
jmp 0x41486b
push esi
lea ecx, [ebp - 0x255]
call fcn.0041489f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4147b4
push dword [ebp - 0x25c]
jmp 0x414761
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4147f1
cmp word [ebp - 0x226], 0
je 0x414812
cmp word [ebp - 0x226], ax
jne 0x4147f1
cmp word [ebp - 0x224], 0
je 0x414812
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00414650
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41485e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4147cb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x414846
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41486b
push 0x414480
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00418a90
add esp, 0x10
jmp 0x41483b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407fe5
leave
ret

Function at 0x417a3f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004114f9
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x417aae
cmp esi, dword [ebp - 4]
je 0x417aa9
cmp dword [ebp + 0xc], 0
je 0x417aa9
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x417a86
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041757c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x417ab0
xor eax, eax
inc eax
jmp 0x417ab0
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x417b15
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x428014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004114f9
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004114f9
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x417b8c
cmp word [ecx], dx
je 0x417b8c
mov eax, dword [0x420cc4]
push edi
dec eax
push eax
push 0x420bb0
call fcn.00417ab4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x417bff
cmp word [eax], dx
je 0x417bff
mov eax, dword [edi]
test eax, eax
je 0x417bb0
cmp word [eax], dx
je 0x417bb0
lea eax, [ebp - 0x10]
push eax
call fcn.00417482
jmp 0x417bb9
lea eax, [ebp - 0x10]
push eax
call fcn.0041751d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x417c29
mov eax, dword [0x420bac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4208a0
call fcn.00417ab4
add esp, 0xc
test al, al
je 0x417c29
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x417bf4
cmp word [eax], di
je 0x417bf4
lea eax, [ebp - 0x10]
push eax
call fcn.00417482
pop ecx
jmp 0x417c2b
lea eax, [ebp - 0x10]
push eax
call fcn.0041751d
jmp 0x417bf1
mov eax, dword [edi]
test eax, eax
je 0x417c16
cmp word [eax], dx
je 0x417c16
lea eax, [ebp - 0x10]
push eax
call fcn.00417437
pop ecx
jmp 0x417c29
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x417cf4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00417939
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x417cf4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x417cf4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x417cf4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417c81
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041277b
test ebx, ebx
je 0x417cef
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041277b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x417cf4
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x417cf4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00419d1e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x417cf6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407fe5
leave
ret
Function at 0x41b930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b95d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b95d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xa462543
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1728086a
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xb0944
push 0x40
push 0x3000
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0xffffffffffffffff
call fcn.10001659
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1000108d
push 0
push 0
mov edx, dword [0x10003fb4]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x100010e7
mov dword [ebp - 0x10], 0
jmp 0x1000109f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jae 0x100010d4
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x10003fb8]
mov ecx, dword [ebp - 0x10]
and ecx, 0x8000003f
jns 0x100010c1
dec ecx
or ecx, 0xffffffc0
inc ecx
movsx edx, byte [ecx + 0x10002268]
xor eax, edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
mov byte [ecx], al
jmp 0x10001096
call dword [ebp - 4]
cmp dword [ebp - 8], 0
jl 0x100010e5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001630
Capabilities:
Execute syscall

Disassembly:
pop eax
call fcn.100015e0
add esp, 4
mov ecx, dword fs:[0xc0]
test ecx, ecx
jne 0x1000164b
lea edx, [esp + 4]
int 0x2e
ret
xor ecx, ecx
lea edx, [esp + 4]
call dword fs:[0xc0]
ret

Function at 0x10001659
Capabilities:
Terminate process

Disassembly:
push 0xc253cac2
call fcn.10001630
cmp ecx, dword [section..data]
jne 0x1000166d
repz ret
jmp fcn.10001a20
Function at 0x403690
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4237e8
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x4036cb
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4036b8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x4036f2
cmp ebx, 0x785074d5
jne 0x4036fb
inc esi
cmp esi, 0x1c1b
jl 0x4036e0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x40372d
inc esi
cmp esi, 0x4f6a4
jl 0x403710
cmp dword [0x845080], 0x400
jne 0x403767
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x30]
call fcn.00403800
push 0
mov dword [ebp - 4], 0
call fcn.00403b34
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403820
mov ecx, dword [0x42613c]
mov edx, dword [0x426110]
mov dword [0x845080], ecx
mov dword [0x845084], edx
call fcn.004033c0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x4037a4
cmp ebx, 0x785074d5
jne 0x4037ad
inc esi
cmp esi, 0x11915
jl 0x403790
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x845080], 0x51f
jne 0x4037d2
lea eax, [ebp - 0x54]
push eax
call esi
sub edi, 1
jne 0x4037c0
mov eax, dword [0x843fd4]
mov dword [0x844614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4250c8]
jne 0x4044aa
repz ret
jmp fcn.00406c0e
Function at 0x402ab2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
mov eax, dword [0x450020]
xor eax, esp
mov dword [esp + 8], eax
push ebp
push esi
push edi
mov dword [esp + 0xc], edx
mov esi, ecx
push ecx
push ebx
add esp, 4
call 0x402a59
add byte [edi], dh
xor cl, byte [ebp + 0x4a]
cmp al, 0x44
add esp, 4
and ecx, 0xc2cc
pop ecx
push edi
push ebx
add esp, 4
call 0x402a76
add byte [ebp + ecx*2 + 0x3a], cl
xor cl, byte [ebx + 0x36]
cmp dword ds:[ebx - 0x7fa0fb3c], eax
jle 0x402a86
add byte [edi], cl
test byte [ebp + 1], ch
add byte [eax], al
mov edi, dword [esi + 4]
sub edi, dword [esi]
push ebx
add al, 0x2b
push ebx
or ebx, 0xbf2a
sub ebx, 0x4b0d
pop ebx
push edi
push ecx
add esp, 4
and edi, 0x668
call 0x402ab2
add byte [ebx], bh
inc esp
inc eax
aas
dec ebp
dec esp
inc ebx
inc esi
cmp ecx, dword [esi - 0x7d]
les eax, [ebx + ebp*8]
add edx, dword [eax + 0x35]
dec eax
pop edi
je 0x402bf1
and dword [esp + 0x10], 0
push esi
push edx
add esp, 4
xor esi, 0xc7b3
pop esi
push ebx
push ecx
add esp, 4
xor ebx, 0x10bed
jmp 0x402ae3
pop ebx
push eax
sub eax, 0x4079
sub eax, 0x13d94
or eax, 0x3d72
pop eax
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push edi
push dword [esi]
call ebp
test eax, eax
je 0x402bf1
push ebx
mov ebx, dword [esi]
lea eax, [ebx + edi]
cmp ebx, eax
jae 0x402b76
mov ebp, dword [esp + 0x10]
push edx
call 0x402b2d
add byte [ecx + 0x43], cl
inc eax
xor al, 0x3b
cmp al, 0x83
les eax, [ecx + eax*4]
ljmp 0x7e8
push ecx
xor ecx, 0x151f3
pop ecx
push edx
push ebx
add esp, 4
or edx, 0xbfa3
add edx, 0x1c7b
xor edx, 0x13f29
sub edx, 0x3367
pop edx
push eax
push eax
add esp, 4
and eax, 0xffc2
pop eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push dword [esi]
call ebp
pop ebx
test eax, eax
je 0x402bf1
push eax
push edx
add esp, 4
xor eax, 0xde39
xor eax, 0xf41a
pop eax
push ecx
push edx
add esp, 4
or ecx, 0xc368
pop ecx
push eax
push eax
add esp, 4
and eax, 0xe70a
pop eax
push esi
xor esi, 0x820c
pop esi
mov al, 1
jmp 0x402bf3
xor al, al
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00415fe8
add esp, 0xc
ret
Function at 0x4030b3
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x43a1fa
call fcn.00416880
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [eax]
test esi, esi
je 0x403149
mov esi, dword [esi]
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.00402d54
mov dword [ebp - 0x20], esi
push 0x1c
mov dword [ebp - 4], edi
call fcn.00415ff6
mov esi, eax
lea eax, [ebp - 0x38]
pop ecx
push eax
mov ecx, esi
call fcn.00402c6b
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push edi
push esi
push 0x4037c6
push edi
push edi
call fcn.0041b44c
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403151
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.004037ac
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00402c38
cmp dword [ebp - 0x18], edi
jne 0x40315b
lea ecx, [ebp - 0x38]
call fcn.00402ce9
call fcn.0041682f
ret 4
push 6
mov dword [ebp - 0x18], edi
call fcn.00413396
call fcn.0041b4dd
int3