joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455400
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47a0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x45544b
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045559b
test al, al
jne 0x455445
sub edx, 2
cmp edx, edi
jne 0x45542b
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45546d
lea eax, [edi + 2]
cmp edx, eax
je 0x45546d
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0045534c
add esp, 0x10
jmp 0x455567
push esi
lea ecx, [ebp - 0x255]
call fcn.0045559b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4554b0
push dword [ebp - 0x25c]
jmp 0x45545d
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4554ed
cmp word [ebp - 0x226], 0
je 0x45550e
cmp word [ebp - 0x226], ax
jne 0x4554ed
cmp word [ebp - 0x224], 0
je 0x45550e
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045534c
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45555a
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4554c7
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x455542
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x455567
push 0x45517c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0045c910
add esp, 0x10
jmp 0x455537
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004356fe
leave
ret

Function at 0x455e7d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x455e8e
pop esi
ret
push ebx
push edi
push esi
call fcn.00455e46
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044c6f3
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x455eb6
push ebx
push esi
push edi
call fcn.00437330
add esp, 0xc
push 0
call fcn.0044c6b9
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x456286
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00455ecb
Function at 0x458817
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044c17f
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x458886
cmp esi, dword [ebp - 4]
je 0x458881
cmp dword [ebp + 0xc], 0
je 0x458881
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45885e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00458369
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x458888
xor eax, eax
inc eax
jmp 0x458888
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4588ed
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x47a0b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0044c17f
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044c17f
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x458964
cmp word [ecx], dx
je 0x458964
mov eax, dword [0x4679dc]
push edi
dec eax
push eax
push 0x4678c8
call fcn.0045888c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4589d7
cmp word [eax], dx
je 0x4589d7
mov eax, dword [edi]
test eax, eax
je 0x458988
cmp word [eax], dx
je 0x458988
lea eax, [ebp - 0x10]
push eax
call fcn.0045826f
jmp 0x458991
lea eax, [ebp - 0x10]
push eax
call fcn.0045830a
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x458a01
mov eax, dword [0x4678c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4675b8
call fcn.0045888c
add esp, 0xc
test al, al
je 0x458a01
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4589cc
cmp word [eax], di
je 0x4589cc
lea eax, [ebp - 0x10]
push eax
call fcn.0045826f
pop ecx
jmp 0x458a03
lea eax, [ebp - 0x10]
push eax
call fcn.0045830a
jmp 0x4589c9
mov eax, dword [edi]
test eax, eax
je 0x4589ee
cmp word [eax], dx
je 0x4589ee
lea eax, [ebp - 0x10]
push eax
call fcn.00458224
pop ecx
jmp 0x458a01
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x458acc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00458711
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x458acc
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.DLL_IsValidCodePage]
test eax, eax
je 0x458acc
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_IsValidLocale]
test eax, eax
je 0x458acc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x458a59
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00450531
test ebx, ebx
je 0x458ac7
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00450531
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x458acc
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
test eax, eax
je 0x458acc
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00440cfc
add esp, 0x10
xor eax, eax
inc eax
jmp 0x458ace
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004356fe
leave
ret
Function at 0x45d4b5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0045d431
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x45d624
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x45d624
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x45d5d9
jg 0x45d511
test eax, eax
je 0x45d5cf
push 1
push 0x1000
call fcn.0044c65c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45d534
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x45d5c6
push 0x8000
push ebx
call fcn.0044a21d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45d55d
jg 0x45d558
cmp ecx, 0x1000
jb 0x45d55d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044e20c
add esp, 0x10
cmp eax, 0xffffffff
je 0x45d5a2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x45d558
jl 0x45d589
test ecx, ecx
jne 0x45d54a
push dword [ebp - 0xc]
push ebx
call fcn.0044a21d
push esi
call fcn.0044c6b9
add esp, 0xc
xor ebx, ebx
jmp 0x45d632
cmp byte [edi + 0x24], 0
je 0x45d5b9
cmp dword [edi + 0x20], 5
jne 0x45d5b9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x45d5c4
mov ebx, dword [edi + 0x18]
jmp 0x45d5c6
xor ebx, ebx
push esi
call fcn.0044c6b9
pop ecx
jmp 0x45d632
test ecx, ecx
jg 0x45d59b
jl 0x45d5d9
test eax, eax
jae 0x45d59b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045198d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45d5f9
cmp byte [edi + 0x1c], 0
je 0x45d59b
jmp 0x45d62a
push ebx
call fcn.004567e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x45d59b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x45d632
cmp byte [edi + 0x1c], 0
je 0x45d62f
mov ebx, dword [edi + 0x18]
jmp 0x45d632
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0045198d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45dbc0
Capabilities:
Parse pe header

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6ad03ad
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x658e2823
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402218
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44319d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0xd58c4c]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0xd58c4c]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0xd58c4c]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0xd58c4c]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0xd58c4c]
mov dword [esi + 0x14], eax
mov edx, dword [0xd58c4c]
mov dword [esi + 0x18], edx
mov eax, dword [0xd58c4c]
mov dword [esi + 0x24], eax
lea edx, [esp + 0x24]
mov byte [esp + 0x1c], 0xe
push edx
mov dword [esi], 0x446948
call fcn.0042955d
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.0042955d
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.0042955d
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
call fcn.0042955d
lea eax, [esp + 0x34]
lea ecx, [esi + 0x14]
push eax
call fcn.0042955d
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x18]
call fcn.0042955d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
mov dword [esi + 0x1c], edx
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], eax
call fcn.0042955d
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 5
call fcn.00429424
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 4
call fcn.00429424
mov byte [esp + 0x1c], 3
lea ecx, [esp + 0x2c]
call fcn.00429424
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 2
call fcn.00429424
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 1
call fcn.00429424
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.00429424
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00429424
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x404528
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4437a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0xd58c4c]
lea edi, [esi + 4]
mov dword [edi], eax
mov ecx, dword [0xd58c4c]
lea ebp, [esi + 8]
mov dword [ebp], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 5
call fcn.00403240
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 6
call fcn.00403240
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 7
call fcn.00403240
mov edx, dword [0xd58c4c]
lea ebx, [esi + 0x3c]
mov dword [ebx], edx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
mov byte [esp + 0x20], 9
mov dword [esi], 0x446f78
call fcn.0042955d
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0042955d
lea edx, [esp + 0x50]
mov ecx, ebx
push edx
call fcn.0042955d
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.00429424
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.00429424
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00429424
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30
Function at 0x406348
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x443cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0xd58c4c]
lea ecx, [esi + 4]
mov dword [ecx], eax
mov edx, dword [0xd58c4c]
lea edi, [esi + 8]
mov dword [edi], edx
mov eax, dword [0xd58c4c]
lea ebp, [esi + 0xc]
mov dword [ebp], eax
mov edx, dword [0xd58c4c]
lea ebx, [esi + 0x10]
mov dword [ebx], edx
mov eax, dword [0xd58c4c]
mov dword [esi + 0x14], eax
mov edx, dword [0xd58c4c]
mov dword [esi + 0x18], edx
lea eax, [esp + 0x24]
mov byte [esp + 0x1c], 0xc
push eax
mov dword [esi], 0x447208
call fcn.0042955d
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0042955d
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
call fcn.0042955d
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0042955d
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x14]
call fcn.0042955d
lea edx, [esp + 0x38]
lea ecx, [esi + 0x18]
push edx
call fcn.0042955d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x24]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov byte [esp + 0x1c], 4
call fcn.00429424
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.00429424
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.00429424
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00429424
lea ecx, [esp + 0x34]
mov byte [esp + 0x1c], 0
call fcn.00429424
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00429424
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x421030
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00411570
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4210fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4210fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4210ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4210b9
or bh, 8
and edi, 0x8000000
je 0x4210d4
mov eax, dword [0xd60f7c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4210fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404292
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404de1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x408460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x14], ecx
mov cl, byte [ebp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], cl
mov dword [esi + 0x30], edi
test cl, cl
jne 0x404365
mov dword [ebp + 0x28], edi
test eax, eax
je 0x404332
lea ecx, [edx + 0xc]
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
jbe 0x40431c
mov edi, eax
add ecx, 0x10
dec edx
jne 0x404314
mov dword [ebp + 0x28], edi
mov eax, 0x406784
cmp edi, 0x100000
ja 0x404335
lea eax, [ebp + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
add eax, 0xa
push eax
call fcn.00404a32
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, edi
je 0x40435b
push eax
call fcn.00404ac8
add esp, 4
mov dword [esi + 0x24], edi
push 0
call fcn.00404ac8
add esp, 4
xor ecx, ecx
mov eax, ebx
mov edx, 0x44
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00404a32
add esp, 4
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4043b1
push 0x402640
push 0x402600
push ebx
lea edi, [eax + 4]
push 0x44
push edi
mov dword [eax], ebx
call fcn.00404b8f
jmp 0x4043b3
xor edi, edi
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x4043e2
test eax, eax
je 0x4043df
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x402640
push ecx
push 0x44
push eax
call fcn.00404b2c
push ebx
call fcn.00404ac8
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, esi
call fcn.00403ed2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24

Function at 0xeed508
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeed512
pushal
call 0xeed518
pop ebp
sub ebp, 0x10
sub ebp, 0xaed508
jmp 0xeed52e
mov eax, 0xaed508
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d2
mov edx, 0xd61592d8
xor byte [eax], dl
inc eax
dec ecx
jne 0xeed545
jmp 0xeed558
push ebx
adc eax, 0xd8e45153
fcomp st(0)
pop ecx
sbb dword [eax], esp
fcomp st(0)
fcomp st(3)
adc eax, 0xd8d8de60
fsub dword [edx - 0x10]
fcomp st(0)
fsubr dword [edi]
cmp bl, bl
adc byte [ebx + 0x59], dl
aam 0xd8
fcomp st(0)
fistp dword [0x24fcbc55]
push ecx
fdiv st(4), st(0)
mov byte [eax - 0x27065b68], dh
mov al, 0x1e
adc byte [ebp - 0x28], 0xd9
hlt
Function at 0x416ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f08
mov eax, 1
add ebx, ebx
jne 0x416f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f20
jne 0x416f3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f20
xor ecx, ecx
sub eax, 3
jb 0x416f50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416fc2
mov ebp, eax
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416f8c
inc ecx
add ebx, ebx
jne 0x416f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f6d
jne 0x416f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416f9d
jmp 0x416f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fac
add edi, ecx
jmp 0x416f0e
pop esi
mov edi, esi
mov ecx, 0x70a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416fca
cmp byte [edi], 0x12
jne 0x416fca
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 0x416fcf
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41703e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416ffc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417038
mov dword [ebx], eax
add ebx, 4
jmp 0x417019
call dword [esi + 0x17084]
mov ebp, dword [esi + 0x17080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x417072
sub esp, 0xffffff80
jmp 0x407c42

Function at 0xefa000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xefa00a
jmp 0xefc00f
jmp fcn.00a94058
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6c2720c0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x73b43b5b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219