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

Disassembly:
push ecx
mov eax, dword [0x83dc50]
xor edx, edx
cmp eax, edx
jne 0x52f796
xor eax, eax
mov byte [eax + 0x83db50], al
inc eax
cmp eax, 0x100
jl 0x52f77e
mov dword [0x83dc50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x83db50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x52f827
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x52f7fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x52f7c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x52f830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x52f883
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x52f86a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x536200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56af4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00536b20
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x7b5ffc
call fcn.005575be
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x536293
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005575be
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x53628c
push 0
mov ecx, eax
call fcn.0052d3a0
mov dword [esi + 0xc], eax
jmp 0x536295
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x536295
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x559c5d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x559c95
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00557cd8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00557cb0
jmp 0x559ca1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x55b45b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x55b49d
call fcn.00561a63
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x55b49d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55b494
xor eax, eax
jmp 0x55b4a5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0055b4ab
pop edi
pop esi
pop ebx
ret 4

Function at 0x561f93
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x561fc1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x561fdf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00561ef9
jmp 0x561fdf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x561fdf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00561ef9
test edi, edi
mov eax, edi
jne 0x561fc9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4011a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x4011c6
call fcn.00401050
test eax, eax
js 0x4011d3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4031d0
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x411024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x403203
push 0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40329a
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Agent_d
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00403030
add esp, 0x10
lea eax, [ebp - 0x84]
test byte [ebp - 0x88], 4
push 0x10000000
push 0
push 0
jne 0x40326c
push 4
jmp 0x40326e
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
je 0x40329a
push 0x403ca0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x4032ab
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409425
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00409425
mov esp, ebp
pop ebp
ret
Function at 0x403dd6
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov esi, dword [ebx]
mov eax, esi
xor eax, dword [ebp + 8]
mov edx, dword [ebx + 8]
movzx eax, al
shr esi, 8
mov eax, dword [edi + eax*4]
xor eax, esi
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx ecx, al
mov eax, dword [ebp + 8]
xor edx, dword [edi + ecx*4]
pop edi
pop esi
mov dword [ebx + 8], edx
pop ebx
pop ebp
ret

Function at 0x404388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x4090], 0
je 0x4043f5
cmp dword [edi + 0x6c], 0
jbe 0x4043f5
mov eax, 0xffffff78
lea ecx, [edi + 0x4094]
push ebx
sub eax, edi
lea ebx, [edi + 0x88]
push esi
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x409c]
movzx eax, byte [ebx]
and esi, 0xfffd
mov edx, dword [edi + 0x40a0]
or esi, 2
push eax
call fcn.00403dd6
mov eax, esi
xor eax, 1
imul eax, esi
pop ecx
lea ecx, [edi + 0x4094]
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
add eax, ebx
cmp eax, dword [edi + 0x6c]
jb 0x4043b6
pop esi
pop ebx
push dword [edi + 0x6c]
lea eax, [edi + 0x88]
push eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
xor ecx, ecx
or edx, 0xffffffff
cmp eax, dword [edi + 0x6c]
cmovne ecx, edx
and dword [edi + 0x6c], 0
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x404514
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 8], 0
push edi
mov edi, ecx
test edi, edi
jne 0x404533
push 0xffffffffffffff9a
pop eax
jmp 0x4046ea
cmp dword [edi + 0x2c], eax
je 0x40452b
and dword [edi + 0x34], eax
cmp dword [edi + 0x80], 8
push ebx
push esi
jne 0x404585
cmp dword [edi + 0x84], eax
jne 0x404585
cmp dword [edi + 0x40], 0
jne 0x40456b
mov ecx, edi
call fcn.00404388
lea eax, [edi + 0x88]
mov dword [edi + 0x40], 0x4000
mov dword [edi + 0x3c], eax
mov esi, dword [edi + 0x44]
lea ecx, [edi + 0x30]
push 4
pop edx
call fcn.00404e3f
mov ecx, dword [edi + 0x44]
sub ecx, esi
add dword [edi + 0x6c], ecx
test eax, eax
je 0x40454e
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
or ebx, 0xffffffff
cmp dword [edi + 0x6c], 0
mov esi, ecx
jbe 0x4045a8
test ecx, ecx
jne 0x4045a8
mov ecx, edi
call fcn.00404388
cmp eax, ebx
cmove esi, ebx
cmp dword [edi + 0x80], 8
jne 0x4045c8
cmp dword [edi + 0x84], 0
jne 0x4045e0
lea ecx, [edi + 0x30]
call fcn.00405571
and dword [edi + 0x68], 0
mov esi, eax
cmp dword [edi + 0x84], 0
jne 0x4045e0
mov eax, dword [edi + 0x408c]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x74]
mov ebx, dword [edi + 0x40a4]
add ecx, 0x10
mov edx, dword [ebp - 4]
add ebx, dword [edi + 0x44]
push 4
call fcn.00403f37
mov ecx, dword [edi + 0x74]
mov edx, ebx
push 4
add ecx, 0x14
call fcn.00403f37
cmp dword [edi + 0x5c], 1
pop ecx
pop ecx
jne 0x404621
mov ecx, dword [edi + 0x74]
xor edx, edx
push 2
add ecx, 0x24
inc edx
call fcn.00403f37
pop ecx
mov ecx, dword [edi + 0x74]
mov edx, dword [ebp - 8]
add ecx, 0x18
push 4
call fcn.00403f37
pop ecx
test esi, esi
jne 0x404647
push dword [edi + 0x78]
mov edx, dword [edi + 0x74]
lea ecx, [edi + 0x24]
call fcn.00403e3f
pop ecx
mov esi, eax
push dword [edi + 0x74]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x4046dc
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0xc]
mov ecx, dword [edi + 0x70]
push esi
add ecx, 0xe
mov dword [ebp - 0xc], eax
push ecx
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0x10]
add esp, 0x18
test eax, eax
je 0x404684
or ebx, 0xffffffff
mov esi, ebx
jmp 0x4046c6
mov edx, dword [edi + 0x20]
mov ecx, edi
push 4
push dword [ebp - 4]
call fcn.00403edb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4046c3
mov edx, dword [edi + 0x20]
mov ecx, edi
push 4
push ebx
call fcn.00403edb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4046c3
mov edx, dword [edi + 0x20]
mov ecx, edi
push 4
push dword [ebp - 8]
call fcn.00403edb
pop ecx
pop ecx
mov esi, eax
or ebx, 0xffffffff
push 0
push dword [ebp - 0xc]
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0x10]
add esp, 0x10
test eax, eax
cmovne esi, ebx
inc dword [edi + 0x40b0]
mov eax, esi
and dword [edi + 0x2c], 0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40588d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x40592c
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x4058e1
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x405908
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x4059e7
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x405959
xor eax, eax
jmp 0x4059aa
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x405976
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00406315
jmp 0x40598e
cmp eax, 2
jne 0x405992
mov edx, dword [esi]
test edx, edx
jne 0x405985
xor eax, eax
jmp 0x40598f
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0040494e
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x4059d2
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x4059e7
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x40589e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011c20
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10011c5e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011c56
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011c60
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011c46
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011d30
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10011d46
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011d61
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40449a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.00403c78
idiv edi
inc ebx

Function at 0x4044a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv edi
inc ebx
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
mov byte [ebp - 0x352], 0xda
invalid
movsd dword es:[edi], dword [esi]
scasd eax, dword es:[edi]
cld

Function at 0x404990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 8
jne 0x404b20
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00403caa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403c5f
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00403c9a
cli
dec ebp
add edx, esp
push dword [ebp - 0x698]
lea eax, [ebp - 0x6c0]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403e76
add esp, 0x14
call fcn.00403c9a
stc
movsd dword es:[edi], dword [esi]
cmpsd dword [esi], dword es:[edi]
push ecx
push dword [ebp - 0x698]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
mov eax, dword [ebp - 0x33c]
mov esp, dword [ebp + 0x1c]
mov dword [esp - 4], eax
popal
add esp, 0x14
jmp dword [esp - 0x38]
call fcn.00403c9a
inc ebp
rcl byte [edi - 0x435a7f12]
cli
invalid
Function at 0x405e3b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
in al, dx
add ebp, 0x24
push esp
call fcn.00403c9a
fist dword [ebp - 0x5e9b6d12]
xor byte [eax], al
add byte [eax], al
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x405e5e
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00403c9a
sbb al, 0xe5
push ecx
out dx, eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
pop es
js 0x405e78
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00403c9a
or byte [ebp - 0x74b6d153], 0x34
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x405e87
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x405e87
call fcn.00403c9a
salc
xor eax, 0x5a8be94e
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00403c9a
and dword [eax - 0x10], ebp
cmp edi, 0x75
or bh, bh
jne 0x405ed0
push dword [ebp]
call fcn.0040449a
push dword [edi + 0x5c]
mov edx, ebx
call fcn.00405e3b
mov esi, eax
add esi, 8
mov eax, dword [esi]
jmp 0x405f41
invalid
mov dword [ebp - 0x20], eax
pop ecx
xor eax, eax
cmp dword [ebp - 0x20], 1
je 0x406029
cmp dword [ebp - 0x20], eax
jne 0x405f5d
push 3
call fcn.00401e22
cmp dword [ebp - 0x1c], eax
je 0x405f69
push eax
call fcn.00405b56
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
cmp ebx, 8
je 0x405f7d
cmp ebx, 0xb
je 0x405f7d
cmp ebx, 4
jne 0x405f98
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x2c], ecx
mov dword [edi + 0x60], eax
cmp ebx, 8
jne 0x405fcb
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x30], ecx
mov dword [edi + 0x64], 0x8c
cmp ebx, 8
jne 0x405fcb
mov ecx, dword [0x40d240]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x40d244]
mov edx, dword [0x40d240]
add ecx, edx
cmp dword [ebp - 0x24], ecx
jge 0x405fd2
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0xc
mov edx, dword [edi + 0x5c]
mov dword [ecx + edx + 8], eax
inc dword [ebp - 0x24]
jmp 0x405fa6
call fcn.004029c4
mov dword [esi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00405ff3
cmp ebx, 8
jne 0x406002
push dword [edi + 0x64]
push ebx
call dword [ebp - 0x20]
pop ecx
jmp 0x406006
push ebx
call dword [ebp - 0x20]
pop ecx
cmp ebx, 8
je 0x406016
cmp ebx, 0xb
je 0x406016
cmp ebx, 4
jne 0x406027
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x60], eax
cmp ebx, 8
jne 0x406027
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x64], eax
xor eax, eax
call fcn.00402f65
ret
Function at 0x4060f3
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.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x450d4cd1
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x37454f9f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219