joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a0334
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5a03d6
cmp dword [ebx + 0xac], 0
jne 0x5a03d0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a0274
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5a03d0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5a0396
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a03d0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0049e380
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a03a5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5a070c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5d3c04]
cmp dword [eax + 0x190], 0
je 0x5a0871
test bl, bl
jne 0x5a07c6
cmp dword [esi + 0xb4], 0
jne 0x5a07bb
mov eax, esi
call fcn.005a3508
push eax
push 0x5a0614
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5a078c
mov eax, dword [0x5d3c04]
cmp byte [eax + 0xeb], 0
je 0x5a078c
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a076d
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a078c
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a0775
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a07bb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049e380
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a079b
inc dword [esi + 0xb4]
jmp 0x5a0871
cmp dword [esi + 0xb4], 0
jle 0x5a0871
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5a0871
cmp dword [esi + 0x58], 0
je 0x5a0826
mov eax, dword [0x5d3c04]
cmp byte [eax + 0xeb], 0
je 0x5a0826
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a0807
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a0826
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a080f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a0855
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049e380
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a0835
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x58cc64]
call fcn.0040b32c
pop edi
pop esi
pop ebx
ret
Function at 0x5a163c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5a1697
cmp byte [ebx + 0xeb], 0
jne 0x5a1697
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040843c
mov eax, dword [esi]
test eax, eax
je 0x5a1684
mov eax, dword [eax - 4]
test eax, eax
jne 0x5a16a4
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408694
jmp 0x5a16a4
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408694
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a2d94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5a2e05
mov eax, esi
call fcn.00528d9c
test al, al
je 0x5a2e05
mov eax, dword [ebx + 0x98]
call fcn.00528934
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5a2e05
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5a2df6
push 0
mov eax, dword [ebx + 0x98]
call fcn.00528934
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0051ec60
jmp 0x5a2e05
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005a2ba0
pop esi
pop ebx
ret
Function at 0x5a88f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5a8976
mov eax, dword [ebx + 8]
call fcn.00528934
mov ecx, eax
mov dl, 1
mov eax, dword [0x535da8]
call fcn.00522444
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.0053b4d8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5a81c0
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.00528934
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.00528934
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5a89f8
mov eax, dword [ebx + 8]
call fcn.00528934
mov ecx, eax
mov dl, 1
mov eax, dword [0x535da8]
call fcn.00522444
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.0053b4d8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5a820c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.00528934
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.00528934
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5a8a76
mov eax, dword [ebx + 8]
call fcn.00528934
mov ecx, eax
mov dl, 1
mov eax, dword [0x5368ec]
call fcn.00522444
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00528934
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00528934
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5b4684
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00408398
xor eax, eax
push ebp
push 0x5b47c3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5b4794
xor edx, edx
push ebp
push 0x5b478d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x5b46cf
mov eax, dword [eax - 4]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5b4760
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x5b474f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5b4710
mov ebx, dword [ebx - 4]
mov eax, dword [ebp - 4]
call fcn.00408d04
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00405890
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b4756
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x5cc434]
mov dl, 1
mov eax, dword [0x419abc]
call fcn.00428ee4
call fcn.0040790c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b47ca
lea eax, [ebp - 4]
call fcn.004082a4
pop eax
jmp eax
Function at 0x428474
Capabilities:
Check for software breakpoints

Disassembly:
scasb al, byte es:[edi]
jbe 0x4284c7
invalid
aas
dec ebx
aaa
movsb byte es:[edi], byte [esi]
jle 0x428538
arpl word [ecx - 0x54ad4eab], bx
mov word [ecx + 0x57276a00], ds
push ebx
dec eax
insb byte es:[edi], dx
lodsd eax, dword [esi]
push 0xda7af465
insd dword es:[edi], dx
popal
jle 0x4284e7
sahf
test al, 0x45
mov edx, dword [ecx + eax*2 + 0x78843b0]
pushal
invalid
mov eax, ebx
mov dword [eax - 0x2d], ebp
les edi, [edx + 0x76]
aam 0xff
mov bh, 0x79
push esp
dec ebp
popal
mov esi, 0x51c8b06d
out 0x33, al
pop eax
into
insb byte es:[edi], dx
pushal
mov cl, byte [ebx + 0x735c5981]
invalid

Function at 0x432863
Capabilities:
Parse credit card information

Disassembly:
cmp al, 0xc2
cmp eax, dword [esp + edi]
xchg esp, eax
cmp al, 0x39
cmp al, 0x1e
cmp al, 0x60
cmp al, 0x17
cmp al, 0x19
cmp al, 9
cmp al, 0xe2
cmp ebp, edi
cmp edx, dword [ecx]
cmp al, 0x40
cmp al, 0x57
cmp al, 0xa6
cmp edx, dword [esp + edi + 0x28]
cmp al, 0x33
cmp al, 0xd4
cmp esi, dword [ebx + 0x263bfa3b]
cmp al, 0xd2
cmp edi, ebx
cmp esi, dword [eax]
cmp al, 0x18
cmp al, 0xdb
cmp ecx, dword [esi + 0x3c]
leave
cmp eax, edi
cmp edx, dword [edi + 0x3c]
xor eax, 0xf23c683c
cmp esp, dword [ecx]
cmp al, 0x9b
cmp al, 0xd9
cmp ecx, dword [esp + edi - 0x22]
cmp eax, dword [edi]
cmp al, 0xf2
cmp edi, ecx
cmp ebp, dword [edi]
cmp al, 0
cmp al, 0xee
cmp edi, dword [edx]
cmp al, 0x82
cmp al, 0xe0
cmp edi, dword [eax + 0x263bcf3b]
cmp al, 0x35
cmp al, 0xf8
cmp ecx, edx
cmp ebp, dword [esi]
cmp al, 0xe
cmp al, 0xb1
cmp ebp, dword [eax]
cmp al, 0x3f
cmp al, 0xac
lodsb al, byte [esi]
Function at 0x441b6b
Capabilities:
Encode data using xor

Disassembly:
inc esi
xor byte [edx], al
add byte [edx + 0x31806630], cl
xor byte [ecx], 0
push edi
xor byte [eax + esi + 0x73], al
sbb byte [ecx + 0x30], 0x18
xor byte [ecx], 0
push edi
xor byte [eax + esi + 0x73], al
sbb byte [ecx + 0x30], 0x18
add byte [ecx + 0x30], bl
or dword [eax], eax
pop ebx
xor byte [esi], cl
add byte [ebp + 0x30], bl
ltr word [edi + 0x30]
xor dword [eax], eax
dec eax
xor byte [ebx + 0x2808230], cl
add byte [ecx - 0x757f97d0], cl
xor byte [edx - 0x54cf7480], bl
xor byte [eax], 0
dec ebp
xor byte [ebp - 0x75ffcf80], dl
xor byte [eax + 0x6304b80], bl
add byte [edi + 0x30], cl
pop es
add byte [ecx + 0x30], dl
xor byte [eax], al
xor byte fs:[esi - 0x75ffcf80], dl
xor byte [ecx - 0x80], ah
xor byte [eax], al
xor byte [eax], al
mov dh, byte [eax]
popal
xor byte [eax], 0
xor byte fs:[edx - 0x78cfa480], bl
add byte [ebx + 0x30], bl
ltr word [ebp + 0x30]
adc byte [eax], al
pop edi
xor byte [eax], ch
add byte [eax + 0x30], ah
add al, byte [eax]
inc esi
xor byte [eax + eax], al
xor byte fs:[edi - 0x80], dh
mov esi, dword [eax]
jnp 0x441b64
xor byte [eax], al
pushal
xor byte [esi - 0x80], ch
xor byte [eax], al
mov esi, dword [eax]
mov dword [eax + 0x30461844], eax
or al, byte [eax]
push ebp
xor byte [ebx], cl
add byte [esi + 0x30], dh
or eax, 0xe516b00
add dl, dl
pop ebx
xor byte [eax], al
inc esp
xor byte [ebp + 0x5d003080], dl
xor byte [ebp - 0x80], bh
xor dword [eax], eax
xor byte [eax], 0x44
xor byte [edx + 0x4f003080], ch
xor byte [edx + 0x7e003080], al
jbe 0x441bb8
or dl, 0x15
push eax
xor byte [edx], ah
add byte [ebx + 0x30], dh
or eax, 0x4307300
add byte [eax + esi + 0x5b500005], ch
jmp 0x68444cbd
Function at 0x4019f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.__write_memory

Function at 0x401a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
test ecx, ecx
mov dword [esp + 0x1c], edx
jne 0x401a70
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x405050]
xor esi, esi
test ecx, ecx
jle 0x401aa0
mov eax, dword [0x40504c]
mov edx, dword [eax + 4]
cmp edx, ebx
ja 0x401a96
mov ebp, dword [eax + 8]
add edx, dword [ebp + 8]
cmp ebx, edx
jb 0x401b19
add esi, 1
add eax, 0xc
cmp esi, ecx
jl 0x401a81
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov ebp, eax
je 0x401b86
lea edx, [esi + esi*2]
mov esi, dword [0x40504c]
shl edx, 2
mov dword [esp + 0x18], edx
add esi, edx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
mov edx, dword [esp + 0x18]
add eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [0x40504c]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + edx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
mov edx, dword [esp + 0x18]
je 0x401b66
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x401b35
add dword [0x405050], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x40
je 0x401b12
mov eax, dword [esp + 0x30]
add edx, dword [0x40504c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
jmp 0x401b12
mov eax, dword [0x40504c]
mov eax, dword [eax + edx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
lea edi, [edi]
Function at 0x401ea0
Capabilities:
Parse pe header

Disassembly:
cmp word [0x400000], 0x5a4d
push esi
push ebx
je 0x401eb2
xor eax, eax
pop ebx
pop esi
ret
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
lea edx, [eax + 0x400000]
jne 0x401ead
cmp word [edx + 0x18], 0x10b
jne 0x401ead
mov ebx, dword [esp + 0xc]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
sub ebx, 0x400000
test esi, esi
je 0x401ead
movzx eax, ax
lea eax, [edx + eax + 0x18]
xor edx, edx
jmp 0x401ef5
add eax, 0x28
mov ecx, dword [eax + 0xc]
cmp ebx, ecx
jb 0x401f03
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x401eaf
add edx, 1
cmp edx, esi
jb 0x401ef2
jmp 0x401ead

Function at 0x402080
Capabilities:
Parse pe header

Disassembly:
sub esp, 0xc
cmp word [0x400000], 0x5a4d
mov dword [esp], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
je 0x4020b0
xor eax, eax
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0xc
ret
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
jne 0x40209d
cmp word [ecx + 0x18], 0x10b
jne 0x40209d
mov esi, dword [ecx + 0x80]
test esi, esi
je 0x40209d
movzx edi, word [ecx + 6]
movzx edx, word [ecx + 0x14]
test edi, edi
je 0x40209d
movzx edx, dx
lea edx, [ecx + edx + 0x18]
xor ecx, ecx
jmp 0x4020f4
add edx, 0x28
mov ebx, dword [edx + 0xc]
cmp esi, ebx
jb 0x402102
add ebx, dword [edx + 8]
cmp esi, ebx
jb 0x40210b
add ecx, 1
cmp edi, ecx
ja 0x4020f1
jmp 0x40209d
test edx, edx
lea esi, [esi]
je 0x40209d
add esi, 0x400000
jmp 0x40212a
test eax, eax
jle 0x402140
sub eax, 1
add esi, 0x14
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x402120
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x402120
jmp 0x40209d
mov eax, 0x400000
add eax, dword [esi + 0xc]
jmp 0x40209f

Function at 0x4024e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x4053a4]
test eax, eax
jne 0x4024f8
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x4053a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053c0]
sub esp, 4
test ebx, ebx
je 0x402545
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40253e
test esi, esi
je 0x40253e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402520
mov dword [esp], 0x4053a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401237
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x30], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a2f8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a2fc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
call fcn.00401230
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x41a300]
add ebx, 0x23f
mov edx, dword [0x41a304]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, edi
mov dword [ebp - 0x10], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xec54a4], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xec54a0]
cmove eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
cmp dword [0xec54a4], 0x3eb
mov dword [0xec54a0], eax
mov eax, dword [0xec53f8]
cmove eax, dword [ebp - 0x10]
mov dword [0xec53f8], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [ebp - 8], edx
and dword [ebp - 0xc], 0
mov dword [0xec549c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
sub esi, eax
mov dword [ebp - 8], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + esi]
mov edx, esi
lea ebx, [ebx + 0x61c88647]
shr edx, cl
add edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
xor edx, eax
mov eax, dword [ebp - 4]
xor eax, edx
mov edx, dword [ebp - 0x2c]
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
jne 0x401291
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cc39
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419f20]
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.004096de
mov dword [ebp - 0x14], eax
cmp dword [0x820c98], esi
jne 0x40cd2c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ccb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ce0c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ce0c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ce0c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x820c98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x820c9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x820ca0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x820ca8], eax
test eax, eax
je 0x40cd29
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x820ca4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cd51
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cd44
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cd66
push 4
pop eax
jmp 0x40ce0e
cmp dword [ebp - 0x14], esi
je 0x40cd66
push dword [0x820c98]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cd4b
mov eax, dword [0x820ca4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cdc4
cmp dword [0x820ca8], edi
je 0x40cdc4
push eax
call ebx
push dword [0x820ca8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cdc4
test eax, eax
je 0x40cdc4
call ecx
test eax, eax
je 0x40cdb9
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 0x40cdb9
test byte [ebp - 8], 1
jne 0x40cdc4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cdf4
mov eax, dword [0x820c9c]
cmp eax, edi
je 0x40cdf1
push eax
call ebx
test eax, eax
je 0x40cdf1
call eax
mov esi, eax
test esi, esi
je 0x40cdf1
mov eax, dword [0x820ca0]
cmp eax, edi
je 0x40cdf1
push eax
call ebx
test eax, eax
je 0x40cdf1
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x820c98]
call ebx
test eax, eax
je 0x40ce0c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ce0e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404137
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219