joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cb334
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb4df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4cb4c0
mov dl, 1
mov eax, dword [0x418dbc]
call fcn.004033e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040422c
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00407060
dec eax
test eax, eax
jl 0x4cb4af
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004b7a24
test al, al
je 0x4cb4a2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4cb4f0
lea eax, [ebp - 0x254]
call fcn.0040a0b0
push eax
push 0x80000002
call fcn.00406818
test eax, eax
jne 0x4cb4a2
xor eax, eax
push ebp
push 0x4cb49b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4cb528
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406820
test eax, eax
jne 0x4cb484
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040449c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4cb484
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040449c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb4a2
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406800
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4cb3a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dd88
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb4e6
lea eax, [ebp - 0x260]
call fcn.0040422c
ret

Function at 0x4cbe5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x55ec40]
cmp byte [eax + 0xa5], 0
jne 0x4cbecd
cmp dword [0x55ec58], 0
jne 0x4cbe8e
call fcn.00406908
push eax
push 0
mov eax, 0x4cbe18
push eax
push 3
call fcn.00407398
mov dword [0x55ec58], eax
cmp dword [0x55ec54], 0
jne 0x4cbea9
push 0
push 0
push 0
push 0
call fcn.00406848
mov dword [0x55ec54], eax
cmp dword [0x55ec5c], 0
jne 0x4cbecd
push esp
push 0
push 0
push 0x4cbdbc
push 0x3e8
push 0
call fcn.00406858
mov dword [0x55ec5c], eax
pop edx
ret
Function at 0x4cbfc4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4cbfdb
add esp, 0xfffffff0
call fcn.0040377c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004242bc
mov eax, dword [0x50efac]
cmp word [eax + 2], 0
jne 0x4cc003
mov eax, dword [0x50efac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cd72c
mov eax, dword [0x50f104]
cmp word [eax + 2], 0
jne 0x4cc01d
mov eax, dword [0x50f104]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cd924
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418758]
call fcn.004033e8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418758]
call fcn.004033e8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4275d8]
call fcn.0042f890
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4cc1a4
mov eax, dword [0x50ee30]
mov eax, dword [eax]
push eax
call fcn.00407200
mov edx, eax
mov eax, esi
call fcn.0042fc60
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cdec4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50ee30]
mov eax, dword [eax]
push eax
call fcn.00406960
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.00407250
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040da5c
test eax, eax
je 0x4cc112
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da84
test eax, eax
je 0x4cc126
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00406e48
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040449c
mov eax, dword [0x50ec28]
cmp byte [eax], 0
jne 0x4cc15a
mov eax, ebx
call fcn.004cc2cc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004ce0a0
mov eax, ebx
call fcn.004cea64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4cc19a
call fcn.004037d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc54c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55ec40]
cmp dword [eax + 0x30], 0
je 0x4cc5f6
cmp dword [ebx + 0x94], 0
jne 0x4cc5f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4cc4dc
call fcn.00406fa0
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4cc5f0
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00407130
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00407140
test al, 8
je 0x4cc5b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4cc5f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b054
push eax
call fcn.00407388
dec esi
cmp esi, 0xffffffff
jne 0x4cc5c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4cd158
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4cd18d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.00407160
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040431c
jmp 0x4cd19a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404280
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4ce27c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ce2bd
mov eax, esi
call fcn.004b2fa8
test al, al
je 0x4ce2bd
mov eax, dword [ebx + 0x84]
call fcn.004b2ca4
push eax
call fcn.004071d8
test eax, eax
je 0x4ce2bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004b2ca4
push eax
call fcn.004073c0
pop esi
pop ebx
ret
Function at 0x4cf2c8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x4cf2ef
push ebx
call fcn.004071d8
test eax, eax
je 0x4cf478
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00406d88
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4cf471
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4cf33e
mov eax, dword [ebp - 8]
push eax
call fcn.00406d88
mov esi, eax
test edi, edi
je 0x4cf334
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call fcn.00406d78
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00407150
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00406e98
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x4cf456
mov edx, dword [ebp - 4]
test al, 8
je 0x4cf3ba
mov eax, dword [ebp - 8]
push eax
call fcn.00406d88
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4cf39f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004aacac
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call fcn.004072e8
push esi
mov eax, dword [ebp - 8]
push eax
call fcn.00406d78
mov eax, dword [ebp - 8]
push eax
call fcn.00406d88
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4cf3dc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004aacac
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call fcn.004072e8
push esi
mov eax, dword [ebp - 8]
push eax
call fcn.00406d78
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004aacac
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x4cf434
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x4cf204
push ebx
call fcn.00406f88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x4cf456
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x4cf204
call fcn.00406fa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cf478
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00406d78
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4db504
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov eax, ebx
call fcn.0042e1b8
call fcn.0042983c
mov esi, eax
push 0
push 1
push 1
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
call fcn.00406b98
mov dword [ebp - 0x14], eax
push 0
call fcn.00406bb0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406d98
mov dword [ebp - 0x18], eax
push esi
call fcn.00406c58
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4db5c0
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
call fcn.00427f80
push eax
push esi
call fcn.00406da8
cmp dword [ebp - 0x1c], 0
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x50de68]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push esi
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406b80
inc dword [ebp - 0x1c]
add ebx, 4
dec dword [ebp - 0x20]
jne 0x4db573
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.00406da8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406d98
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406c18
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042ef04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4ef116
Capabilities:
Get common file path

Disassembly:
enter 0x108, 0
push edi
cmp dword [0x50e004], 2
jl 0x4ef12e
mov eax, 1
jmp 0x4ef213
lea eax, [ebp - 0x80]
push 0x80
push eax
call fcn.004069d0
lea eax, [ebp - 0x80]
push eax
call fcn.00406b58
mov edi, eax
test edi, edi
je 0x4ef166
lea eax, [ebp - 0x81]
mov al, byte [edi + eax]
cmp al, 0x3a
je 0x4ef166
lea eax, [ebp - 0x80]
push 0x50ea8c
push eax
call fcn.00406b38
lea eax, [ebp - 0x80]
push 0x50ea8e
push eax
call fcn.00406b38
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x108]
push 0x4000
push edx
push eax
call fcn.00406a78
cmp eax, 0xffffffff
je 0x4ef19e
lea eax, [ebp - 0x80]
push eax
call fcn.00406a38
mov dword [0x55ee24], eax
jmp 0x4ef1a8
mov dword [0x55ee24], 0
cmp dword [0x55ee24], 0
je 0x4ef1fc
push 0x50ea9b
push dword [0x55ee24]
call fcn.00406970
mov dword [0x55ee20], eax
cmp dword [0x55ee20], 0
je 0x4ef1e5
mov dword [0x55ed10], 1
mov dword [0x50e004], 2
jmp 0x4ef1fa
push dword [0x55ee24]
call fcn.004068c8
mov dword [0x55ee24], 0
jmp 0x4ef206
mov dword [0x55ee20], 0
cmp dword [0x50e004], 2
setge al
movzx eax, al
pop edi
leave
ret
Function at 0x4f570c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x134], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f58f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x4c]
mov edx, dword [ebx + 0x48]
call fcn.00404280
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4f58d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x3c]
push eax
call fcn.004071c8
test eax, eax
je 0x4f5762
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x28], eax
jmp 0x4f57ae
mov esi, dword [ebx + 4]
mov eax, esi
mov edx, dword [0x4a80fc]
call fcn.004035a4
test al, al
je 0x4f5782
mov eax, esi
call fcn.004b2ca4
mov dword [ebp - 0x28], eax
jmp 0x4f57ae
mov eax, dword [0x50f0cc]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x4f57a1
mov eax, dword [0x50f0cc]
mov eax, esi
call fcn.004b2ca4
mov dword [ebp - 0x28], eax
jmp 0x4f57ae
mov eax, dword [0x50f0cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
mov al, byte [ebx + 0x51]
cmp al, 1
jne 0x4f57bc
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4f57db
lea edx, [ebp - 0x24]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x50eba0]
push eax
mov eax, dword [0x50f0cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call fcn.004339cc
mov eax, dword [ebx + 0x40]
call fcn.004046ec
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x38]
call fcn.004046ec
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, esi
mov edx, eax
cmp dl, 7
ja 0x4f5808
and edx, 0x7f
bt dword [ebx + 0x50], edx
jae 0x4f5817
and eax, 0x7f
mov eax, dword [eax*4 + 0x50eb88]
or dword [ebp - 0x18], eax
inc esi
cmp esi, 6
jne 0x4f57f8
mov eax, 0x4f4004
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x4c]
mov edx, dword [ebx + 0x48]
call fcn.00404280
xor eax, eax
mov dword [ebx + 0x6c], eax
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x58], 0
lea eax, [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
call fcn.00404280
lea eax, [ebp - 0x28]
push eax
call fcn.004339ac
mov dword [ebp - 8], eax
cmp byte [ebx + 0x58], 0
jne 0x4f583d
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4f58b0
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004339c4
lea edx, [ebp - 0x134]
lea eax, [ebp - 0x12d]
call fcn.00409c40
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x48]
call fcn.00404280
lea eax, [ebx + 0x4c]
mov edx, dword [ebx + 0x48]
call fcn.00404280
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f58d7
mov eax, dword [ebp - 8]
push eax
call fcn.00417f94
mov eax, dword [ebp - 0x24]
push eax
call fcn.00417f94
ret
Function at 0x507f58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xf
add esp, 0xfffff004
push eax
dec eax
jne 0x507f61
mov eax, dword [ebp - 4]
add esp, 0xfffff5f8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xfa0c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50805b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x508038
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa01
lea eax, [ebp - 0xfa05]
push eax
mov eax, dword [ebx + 0xae4]
call fcn.004b2ca4
push eax
call fcn.00407160
xor eax, eax
push ebp
push 0x50801b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418dbc]
call fcn.004033e8
mov dword [ebp - 4], eax
lea eax, [ebp - 0xfa0c]
lea edx, [ebp - 0xfa05]
mov ecx, 0xfa01
call fcn.0040449c
mov edx, dword [ebp - 0xfa0c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00507c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508022
mov eax, dword [ebp - 4]
call fcn.00403418
ret
Function at 0x508d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
xor eax, eax
push ebp
push 0x508f3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x61a80
call fcn.00408738
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x508f16
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x10]
mov edx, 0x61a80
mov eax, dword [ebp - 8]
call fcn.005089cc
test eax, eax
jne 0x508dc5
call fcn.00403c90
jmp 0x508f1d
mov eax, dword [ebp - 0x10]
shr eax, 2
dec eax
test eax, eax
jl 0x508efa
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push 0
push 0x411
call fcn.00406a80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x508eee
xor eax, eax
push ebp
push 0x508ee7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
mov edx, 0x4000
call fcn.00404878
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x18]
call fcn.005089f0
test eax, eax
je 0x508ed0
mov eax, dword [ebp - 0x20]
call fcn.004044ec
dec eax
push eax
mov eax, dword [ebp - 0x20]
call fcn.004046ec
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00508a20
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x508f54
call fcn.00404830
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040474c
lea eax, [ebp - 0x28]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040474c
mov eax, dword [ebp - 0x28]
mov edx, 0x508f60
call fcn.00404638
jne 0x508ed0
mov edx, dword [ebp - 0x20]
mov eax, 0x508f6c
call fcn.00404830
test eax, eax
jle 0x508ed0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00406ae8
test eax, eax
je 0x508ed0
mov byte [ebp - 1], 1
call fcn.00403c90
call fcn.00403c90
jmp 0x508f1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508eee
mov eax, dword [ebp - 0x18]
push eax
call fcn.00406830
ret
inc dword [ebp - 0xc]
dec dword [ebp - 0x24]
jne 0x508ddf
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508f1d
lea eax, [ebp - 8]
xor edx, edx
call fcn.00402754
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508f42
lea eax, [ebp - 0x28]
call fcn.0040422c
lea eax, [ebp - 0x20]
call fcn.0040422c
ret
Function at 0x401a80
Capabilities:
Hash data with md5

Disassembly:
push edi
mov edi, eax
call fcn.00401a10
test eax, eax
jne 0x401a8e
pop edi
ret
mov eax, dword [edi + 4]
push ebx
push esi
xor esi, esi
cmp dword [eax], esi
je 0x401ad0
mov ebx, dword [edi]
add ebx, 0x20
lea ecx, [ebx + 8]
push ecx
call fcn.00412070
lea edx, [ebx + 0x170]
push edx
call fcn.00412040
add esp, 8
mov dword [ebx + 0x198], esi
mov dword [ebx + 0x19c], esi
cmp dword [ebx], esi
je 0x401ad0
mov dword [ebx + 0x194], 1
mov eax, dword [edi + 4]
cmp dword [eax + 0xe2c], esi
jne 0x401b09
mov ebx, eax
call fcn.00427b1a
cmp dword [ebx + 0x3c], eax
je 0x401b03
cmp dword [ebx + 8], esi
je 0x401b0f
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 8]
push ecx
push esi
push esi
push edi
call edx
add esp, 0x10
cmp eax, 1
jne 0x401b0f
pop esi
pop ebx
xor eax, eax
pop edi
ret
mov dword [eax + 0xe2c], esi
mov eax, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi + 4]
mov dword [ecx + 0x100], esi
mov edx, dword [edi + 4]
cmp dword [edx + 0x104], esi
je 0x401b4e
mov eax, edx
mov eax, dword [eax + 0x1cc]
cmp eax, esi
je 0x401b4e
push eax
call fcn.0042737a
mov ecx, dword [edi + 4]
mov dword [ecx + 0x1cc], esi
mov edx, dword [edi + 4]
add esp, 4
mov dword [edx + 0x104], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, dword [edi + 4]
mov dword [ecx + 0xe28], edx
mov eax, dword [edi + 4]
mov dword [eax + 0xf0], esi
mov ecx, dword [edi + 4]
mov dword [ecx + 0xec], esi
mov eax, dword [edi + 4]
add eax, 0xe34
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], esi
mov dword [eax + 0x58], esi
mov dword [eax + 0x5c], esi
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov eax, dword [edi + 4]
mov dword [eax + 0x17f8], esi
mov dword [eax + 0x17fc], esi
mov edx, dword [edi + 4]
mov dword [edx + 0x1808], esi
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x405390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x10]
test edi, edi
jbe 0x4053cd
mov eax, dword [esi]
xor ecx, ecx
cmp dword [esi + 0xc], ecx
lea edx, [eax + edi*4]
setne cl
sub ecx, edi
add ecx, dword [esi + 8]
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
call fcn.0042c760
add esp, 0xc
sub dword [esi + 8], edi
mov dword [esi + 0x10], 0
mov edi, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
sub ecx, edi
add ecx, ecx
add ecx, ecx
sub ecx, eax
mov dword [ebp + 8], ecx
jne 0x4053eb
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
lea edx, [ecx + edi*4]
add edx, eax
push ebx
test eax, eax
je 0x40541a
mov eax, dword [ecx + edi*4]
mov edi, eax
mov ebx, eax
shr edi, 8
shl ebx, 8
xor edi, ebx
shl eax, 8
and edi, 0xff00ff
xor edi, eax
mov eax, dword [esi + 8]
rol edi, 0x10
mov dword [ecx + eax*4], edi
mov eax, dword [esi + 0x24]
push eax
lea ecx, [ebp + 8]
push ecx
push edx
mov edx, dword [esi + 0x20]
call edx
add esp, 0xc
test eax, eax
jne 0x405436
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
lea edx, [eax + ecx*4]
mov eax, dword [esi + 0xc]
lea edx, [edx + eax + 3]
shr edx, 2
cmp dword [esi + 0x2c], 0
jne 0x40547a
cmp dword [esi + 0x34], 0
je 0x40547a
sub edx, ecx
mov dword [ebp - 4], edx
mov edx, dword [esi]
lea eax, [edx + ecx*4]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x405478
mov eax, dword [edx]
bswap eax
mov dword [edx], eax
add edx, 4
dec ecx
jmp 0x40546a
jmp 0x4054ae
cmp ecx, edx
jae 0x4054ae
mov edi, edi
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov edi, eax
shr edi, 8
mov ebx, eax
shl ebx, 8
xor edi, ebx
shl eax, 8
and edi, 0xff00ff
xor edi, eax
mov eax, dword [ebp - 8]
rol edi, 0x10
inc ecx
mov dword [eax], edi
cmp ecx, edx
jb 0x405480
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*4]
add eax, dword [esi + 0xc]
pop ebx
mov ecx, eax
shr ecx, 2
and eax, 3
mov dword [esi + 0xc], eax
pop edi
mov dword [esi + 8], ecx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405580
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4055e6
mov edx, dword [eax + 0x10]
push esi
mov esi, dword [eax]
mov esi, dword [esi + edx*4]
cmp dword [eax + 0x1c], ecx
jae 0x4055e0
push ebx
push edi
jmp 0x4055a0
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
mov ecx, 0x18
sub ecx, edx
mov edi, esi
shr edi, cl
mov ecx, ebx
shr ecx, 8
add edx, 8
and edi, 0xff
xor edi, ecx
movzx ecx, bl
shl ecx, 8
xor ecx, dword [edi*4 + 0x730270]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], ecx
cmp edx, dword [eax + 0x14]
jb 0x4055a0
pop edi
pop ebx
mov ax, cx
pop esi
ret
mov ax, word [eax + 0x18]
pop esi
ret
mov ax, word [eax + 0x18]
ret