joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4520c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4520f3
push esi
call fcn.00460340
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4520ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x452179
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452162
mov eax, dword [esi + 8]
test eax, eax
je 0x452117
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45215e
cmp eax, 2
je 0x452162
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45210a
cmp eax, 3
je 0x45213d
cmp eax, 1
jne 0x45210a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45210a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45210a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004521a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452188
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004521a0
add esp, 4
pop esi
ret

Function at 0x452a10
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x452a31
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x452a31
mov eax, dword [eax + 0x44]
test eax, eax
je 0x452a31
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x472610
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e1e54]
xor edx, edx
cmp eax, edx
jne 0x472636
xor eax, eax
mov byte [eax + 0x5e1d54], al
inc eax
cmp eax, 0x100
jl 0x47261e
mov dword [0x5e1e54], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e1d54
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4726c7
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 0x47269a
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 0x472668
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4726d0
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 0x472723
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 0x47270a
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 0x4790b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a582e
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.004799d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5a5884
call fcn.004970f6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x479143
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004970f6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47913c
push 0
mov ecx, eax
call fcn.00470250
mov dword [esi + 0xc], eax
jmp 0x479145
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x479145
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 0x499786
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4997be
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.00497810
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004977e8
jmp 0x4997ca
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49ae7d
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 0x49aebf
call fcn.004a0932
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49aebf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49aeb6
xor eax, eax
jmp 0x49aec7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049aecd
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a0e62
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 0x4a0e90
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a0eae
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a0dc8
jmp 0x4a0eae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a0eae
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a0dc8
test edi, edi
mov eax, edi
jne 0x4a0e98
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444218
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4574b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
sub esp, 8
mov dword [esi], vtable.TrButton.0
mov dword [esi + 0x30], edx
mov dword [esi + 0x4c], 0
push edx
push 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x21], 0x100
mov byte [esi + 0x20], 0
mov word [esi + 0x50], 0
mov byte [esi + 0x52], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], edx
call fcn.00401f10
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4026c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4442bd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4574b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x4c], 0xf
mov dword [edi + 0x48], 0
mov byte [edi + 0x38], 0
lea ebx, [edi + 0x50]
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [edi + 0x7c], 0xf
mov dword [edi + 0x78], 0
mov byte [edi + 0x68], 0
mov dword [edi + 0x94], 0xf
mov dword [edi + 0x90], 0
mov byte [edi + 0x80], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.00403550
mov dword [edi + 0x98], eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x80]
push 0
push 0x44e63a
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov word [edi + 0x34], 0x101
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00401710
lea esi, [edi + 0x68]
cmp esi, eax
je 0x4027e3
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401390
cmp ebx, esi
je 0x4027f3
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.00401390
lea ecx, [edi + 0x38]
cmp ecx, ebx
je 0x402804
push 0xffffffffffffffff
push 0
push ebx
call fcn.00401390
mov byte [edi + 0x36], 0
mov eax, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408aa9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408ae4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x408ae0
lea ebx, [ebx]
cmp esi, edx
jae 0x408ae4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x408ad0
cmp esi, edx
jb 0x408aeb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x409bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
push 0
mov esi, edx
mov dword [eax], 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
movzx ecx, di
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x409c2b
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409c22
mov esi, dword [ebp - 4]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0042ce00
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x409caa
lea eax, [ebp - 4]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x409cac
xor esi, esi
mov eax, dword [ebp + 8]
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444ad3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4574b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.TrImage.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.0040b070
mov dword [esi + 0x38], eax
mov byte [esi + 0x22], 0
mov eax, esi
mov dword [esi + 0x34], 0
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20

Function at 0x40c010
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4574b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 7
push str.iPlayer
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00401710
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0040df60
mov esi, eax
cmp byte [esi + 0x30], 0
je 0x40c07f
mov bl, 1
jmp 0x40c16a
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 2
mov word [esi + 0x34], 0x100
mov byte [esi + 0x31], 1
mov byte [esi + 0x33], 1
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40c0bf
push 0x40
push 0x3000
push 0x1000
push 0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x18
mov dword [esi + 0xc], eax
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x23
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.69_C9_C8_06_00_00_89_0D_00_04_1F_04
mov byte [ecx], 0
call fcn.00401710
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.69_C9_C8_06_00_00
mov byte [ecx], 0
call fcn.00401710
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x27
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.69_C9_C8_06_00_00_81______0F_57_C0
mov byte [ecx], 0
call fcn.00401710
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00402830
push dword [esi + 0xc]
lea eax, [esi + 0x68]
push ecx
push 0x41f0000
push eax
call fcn.00402910
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, edi
push 0
sub esp, 8
push 1
push eax
call fcn.0040c8c0
mov bl, al
cmp dword [ebp - 0x14], 0x10
jb 0x40c17b
push dword [ebp - 0x28]
call fcn.0042b3e8
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3ed
mov esp, ebp
pop ebp
ret
Function at 0x411960
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445488
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4574b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, dword [edi]
sub ecx, 0x10
mov dword [ebp - 0x18], 0
call fcn.00401240
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
add esi, 0xfffffff0
or eax, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4119c8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x4119f0
mov ecx, dword [ebp + 8]
push str.Error:_Ini_File_Not_Exist
call fcn.00403790
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
mov eax, 0x104
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041465d
add esp, 4
mov esi, eax
call fcn.00401c40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x411a2c
push 0x80004005
call fcn.004019f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 4], 0
push dword [edi]
push 0x104
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi]
push 0x104
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x103
jb 0x411af7
mov edi, 0x104
lea ecx, [ecx]
mov eax, ebx
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x411aaa
test dx, dx
je 0x411aa6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x411aaa
add ecx, 4
add eax, 4
test dx, dx
jne 0x411a84
xor eax, eax
jmp 0x411aaf
sbb eax, eax
or eax, 1
test eax, eax
je 0x411af7
push esi
call fcn.0042bcc4
add edi, 0x104
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041465d
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push edi
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [edi - 1]
cmp eax, ecx
jae 0x411a80
test esi, esi
jne 0x411aff
xor ecx, ecx
jmp 0x411b13
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411b04
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00408760
push esi
call fcn.0042bcc4
mov esi, dword [ebp - 0x10]
add esp, 4
add esi, 0xfffffff0
mov ecx, esi
call fcn.00401240
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov dword [edi], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411b59
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43fb11
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4574b8]
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.0042fa8d
mov dword [ebp - 0x14], eax
cmp dword [0x45a6ec], esi
jne 0x43fc04
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43fb91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43fce4
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43fce4
push 0x44e338
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43fce4
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45a6ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45a6f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45a6f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a6fc], eax
test eax, eax
je 0x43fc01
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a6f8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43fc29
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43fc1c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43fc3e
push 4
pop eax
jmp 0x43fce6
cmp dword [ebp - 0x14], esi
je 0x43fc3e
push dword [0x45a6ec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43fc23
mov eax, dword [0x45a6f8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43fc9c
cmp dword [0x45a6fc], edi
je 0x43fc9c
push eax
call ebx
push dword [0x45a6fc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43fc9c
test eax, eax
je 0x43fc9c
call ecx
test eax, eax
je 0x43fc91
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 0x43fc91
test byte [ebp - 8], 1
jne 0x43fc9c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43fccc
mov eax, dword [0x45a6f0]
cmp eax, edi
je 0x43fcc9
push eax
call ebx
test eax, eax
je 0x43fcc9
call eax
mov esi, eax
test esi, esi
je 0x43fcc9
mov eax, dword [0x45a6f4]
cmp eax, edi
je 0x43fcc9
push eax
call ebx
test eax, eax
je 0x43fcc9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45a6ec]
call ebx
test eax, eax
je 0x43fce4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43fce6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b3ed
mov esp, ebp
pop ebp
ret
Function at 0x40abb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40abca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40abd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40abc0
mov eax, 1
add ebx, ebx
jne 0x40abe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40abd8
jne 0x40abf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40abd8
xor ecx, ecx
sub eax, 3
jb 0x40ac08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ac7a
mov ebp, eax
add ebx, ebx
jne 0x40ac13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ac20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ac44
inc ecx
add ebx, ebx
jne 0x40ac30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ac25
jne 0x40ac41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ac25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ac64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ac55
jmp 0x40abc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ac64
add edi, ecx
jmp 0x40abc6
pop esi
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40accc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xad98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xadd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ac81
mov ecx, edi
jns 0x40acb0
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 + 0xaddc]
or eax, eax
je 0x40acc6
mov dword [ebx], eax
add ebx, 4
jmp 0x40ac9e
call dword [esi + 0xadd8]
mov ebp, dword [esi + 0xade0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x40ad00
sub esp, 0xffffff80
jmp 0x401584

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219