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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466be0]
cmp dword [eax + 0x30], 0
je 0x454316
cmp dword [ebx + 0x94], 0
jne 0x454310
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4541fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454310
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 0x4542d6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454310
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.004176a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4542e5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454e78
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 0x454ead
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.00404124
jmp 0x454eba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404088
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455f0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455f4d
mov eax, esi
call fcn.0043c6e8
test al, al
je 0x455f4d
mov eax, dword [ebx + 0x84]
call fcn.0043c410
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455f4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c410
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x412210
Capabilities:
Parse pe header

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

Function at 0x403a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403a10
lcall 0x5de5, 0x8b10c483
jmp loc.00781df4
Function at 0x4010f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push str.D3Z:Direct3Z_Initialize_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xff0
push 0
push 0x4367e0
call fcn.004241c0
add esp, 0xc
mov dword [0x436f90], 0x10
mov dword [0x436f94], 0x800
mov dword [0x4377bc], 0
mov dword [0x436f98], 0
mov dword [0x436f9c], 0
mov dword [0x436fa0], 0
mov dword [0x4377b8], 0
mov dword [0x436fa8], 0
mov dword [0x436fac], 0
mov dword [0x436fb4], 1
mov dword [0x4377ec], 0
mov dword [0x4377c0], 0x140
mov dword [0x4377c4], 0xf0
mov dword [0x4377c8], 0x10
mov eax, 1
pop ebp
ret
Function at 0x403910
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push str.D3Z:D3ZViewport_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4377c4]
push eax
mov ecx, dword [0x4377c0]
push ecx
push str.D3Z:Viewport_width:_d_height:_d_n
lea edx, [ebp - 0xc8]
push edx
call fcn.00424218
add esp, 0x10
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x436c18
mov ecx, dword [0x4377c4]
push ecx
mov edx, dword [0x4377c0]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x436c10]
push ecx
mov edx, dword [0x4367ec]
mov eax, dword [edx]
mov ecx, dword [0x4367ec]
push ecx
call dword [eax + 0x50]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x4039ba
push 0x4e6
push 0x431a84
mov edx, dword [ebp - 0xcc]
push edx
call fcn.0040530f
add esp, 0xc
call fcn.004011f7
xor eax, eax
jmp 0x403aae
push str.phase_3_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x3c1ba5e3
mov eax, dword [0x436c18]
mov ecx, dword [eax]
mov edx, dword [0x436c18]
push edx
call dword [ecx + 0x38]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x403a0f
push 0x4ea
push 0x431ab0
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0040530f
add esp, 0xc
call fcn.004011f7
xor eax, eax
jmp 0x403aae
push 0x3c23d70a
mov ecx, dword [0x436c18]
mov edx, dword [ecx]
mov eax, dword [0x436c18]
push eax
call dword [edx + 0x40]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x403a56
push 0x4eb
push 0x431ad0
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.0040530f
add esp, 0xc
call fcn.004011f7
xor eax, eax
jmp 0x403aae
push 0x42c80000
mov edx, dword [0x436c18]
mov eax, dword [edx]
mov ecx, dword [0x436c18]
push ecx
call dword [eax + 0x3c]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x403a9e
push 0x4ed
push str.C:usrlangcFly3Direct3z.cpp
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0040530f
add esp, 0xc
call fcn.004011f7
xor eax, eax
jmp 0x403aae
push str.phase_4_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403e7d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x431b8c
push 0x436fb8
call fcn.00424218
add esp, 0xc
mov dword [0x4377b8], 1
push 0x436fb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
ret
Function at 0x4074e9
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dcac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
lea ecx, [ebp - 0x114]
call fcn.0040f370
mov dword [ebp - 4], 0
mov dword [ebp - 0x118], 0
mov dword [0x43a2b4], 0
mov eax, dword [str.SoftwareSUNFLATFlyingJump3]
push eax
push 0x80000001
lea ecx, [ebp - 0x114]
call fcn.00418570
test eax, eax
je 0x4076c3
push 1
push str.CPCUT1F9FA
lea ecx, [ebp - 0x114]
call fcn.00418686
push 0x100
lea ecx, [ebp - 0x10c]
push ecx
push 0x43a340
push 0x433010
lea ecx, [ebp - 0x114]
call fcn.00418640
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.00412aa1
add esp, 8
test eax, eax
je 0x4075b0
cmp dword [ebp - 0x118], 0x100
jl 0x4075b0
mov dword [ebp - 0x11c], 1
jmp 0x4075ba
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x11c]
mov dword [0x43a2b4], ecx
mov edx, dword [ebp - 0x118]
push edx
push str.CPCUT_X
lea eax, [ebp - 0x10c]
push eax
call fcn.00424218
add esp, 0xc
cmp dword [ebp - 0x118], 0x556b38
je 0x40761e
cmp dword [ebp - 0x118], 0x552fe0de
je 0x40761e
cmp dword [ebp - 0x118], 0x1f9fa
je 0x40761e
push 0
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x114]
call fcn.004185f4
cmp eax, 1
jne 0x40767a
mov dword [0x43a2b4], 0
push str.True
push str.NotRun
push 0x433034
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x43a344
push str.Password
lea ecx, [ebp - 0x114]
call fcn.004186b3
push 0x34
push 0x433048
push 0x433050
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40767a
push 1
call fcn.00424a27
cmp dword [0x43a2b4], 0
je 0x4076ad
mov edx, dword [ebp - 0x118]
push edx
push str.FLY3:Registed___d__n
lea eax, [ebp - 0x10c]
push eax
call fcn.00424218
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4076b8
push str.FLY3:Not_Registed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x114]
call fcn.004185cb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0040f390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x411d83
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jle 0x411dc1
xor eax, eax
jmp 0x411f0f
cmp dword [ebp - 0x18], 0x40
jne 0x411de3
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00424270
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x411f0f
cmp dword [ebp - 0x18], 0x42
jne 0x411e46
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x411e0e
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jge 0x411e3e
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
xor ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
imul eax, eax, 5
add eax, 1
and eax, 0xff
mov dword [ebp - 0x14], eax
jmp 0x411e05
mov eax, dword [ebp - 0xc]
jmp 0x411f0f
cmp dword [ebp - 0x18], 0x41
jne 0x411f0d
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx]
mov byte [ebp - 0x20], dl
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x411f08
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [ebp - 0x1c], dl
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
mov edx, dword [ebp - 0x20]
and edx, 0xff
cmp ecx, edx
jne 0x411ec6
mov eax, dword [ebp - 0x28]
mov cl, byte [eax]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x411ecd
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
jmp 0x411edf
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jge 0x411efa
mov edx, dword [ebp - 0x24]
mov al, byte [ebp - 0x1c]
mov byte [edx], al
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x411ed6
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
jmp 0x411e6d
mov eax, dword [ebp - 0xc]
jmp 0x411f0f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4185f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x418611
mov eax, dword [ebp + 0xc]
jmp 0x41863a
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x418637
mov eax, dword [ebp + 0xc]
jmp 0x41863a
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x418640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x418670
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x418680
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004240d0
add esp, 8
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4186b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00424f10
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41b4e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [0x434058]
test esi, esi
jne 0x41b4f5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41b51d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x41bdd0
Capabilities:
Write clipboard data

Disassembly:
sub esp, 0x30
lea eax, [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
push ebp
push ebx
push eax
call fcn.00419d10
test eax, eax
je 0x41bf03
mov eax, dword [ebx + 0x42c]
add eax, 3
and eax, 0xfffffffc
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x430]
imul eax, dword [esp + 0x14]
add eax, 0x428
push eax
push 0x2042
call ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x41befc
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
call ebp
mov ebp, eax
test ebp, ebp
je 0x41beef
mov eax, dword [ebx + 0x430]
mov edi, ebp
dec eax
mov esi, ebx
mov ecx, 0xa
push 0x400
imul eax, dword [esp + 0x18]
lea edx, [ebp + 0x28]
mov dword [esp + 0x1c], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x28]
push ecx
push edx
call fcn.00425a10
add esp, 0xc
lea ecx, [ebp + 0x2b]
mov eax, 0x100
mov byte [ecx], 0
add ecx, 4
dec eax
jne 0x41be73
mov eax, dword [ebp + 8]
test eax, eax
jge 0x41be88
neg eax
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x430]
mov ecx, dword [ebx + 0x42c]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push ecx
add eax, dword [esp + 0x30]
push edx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
lea edx, [ebp + ecx + 0x428]
neg eax
push eax
push edx
call fcn.0041fde0
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ecx
call ebp
push ebx
call dword [0x434078]
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SetClipboardData]
push eax
push 8
call ebp
pop ebp
cmp eax, 1
sbb eax, eax
pop edi
inc eax
pop esi
pop ebx
add esp, 0x30
ret 4
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call ebp
push ebx
call dword [0x434078]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x41c520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
mov dword [esp], 0
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x41c53d
mov dword [edi], 0
cmp dword [0x434058], 0
jne 0x41c54f
mov eax, dword [esp + 0x20]
mov dword [0x434058], eax
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [0x42e890]
lea eax, [ebp + esi]
cmp eax, ebx
jbe 0x41c585
push 0x434354
sub ebx, esi
push 0xfffffffffffffffe
mov ebp, ebx
call fcn.0041b530
test ebp, ebp
jg 0x41c585
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x18
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41c5ae
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x41c5ca
mov eax, dword [esp + 0x24]
push eax
push 0xffffffffffffffff
call fcn.0041b530
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41c601
push eax
push 2
push ebp
push esi
call fcn.0041c2e0
mov dword [esp + 0x10], eax
test eax, eax
jle 0x41c601
lea ecx, [esi + esi*4]
xor eax, eax
lea ecx, [ecx + ecx*8]
sub ecx, esi
mov ax, word [ecx + 0x43b5ac]
shl eax, 4
mov dword [eax + 0x4515a8], ebx
test edi, edi
je 0x41c607
mov dword [edi], ebx
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x18
Function at 0x41e070
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x74]
push edi
push ebp
test esi, esi
jle 0x41e1c5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
push edx
mov dword [esp + 0x28], esi
push eax
mov dword [esp + 0x30], ecx
call fcn.0041b600
test eax, eax
je 0x41e1c5
cmp esi, 0x100
je 0x41e1ae
mov ebx, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x40], ecx
cmp esi, 0x100
jge 0x41e12f
cmp dword [esp + 0x30], ecx
jle 0x41e1ba
xor ebp, ebp
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], 1
mov eax, ebp
add ebp, 0x100
cdq
idiv esi
mov dword [esp + 0x10], eax
sub eax, ecx
imul eax, ebx
lea ecx, [esp + 0x14]
add dword [esp + 0x34], eax
push ecx
call dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
dec edi
jne 0x41e0f7
jmp 0x41e1ba
mov edi, dword [esp + 0x30]
mov ebp, esi
mov dword [esp + 0x10], 0
shl edi, 8
cmp edi, esi
jle 0x41e184
mov eax, ebp
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
sub ecx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x30], ecx
push eax
call dword [esp + 0x84]
add dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebp
add ebp, esi
cmp edi, ebp
jg 0x41e144
mov eax, edi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
sub ecx, eax
test ecx, ecx
jle 0x41e1ba
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x14]
push eax
call dword [esp + 0x84]
mov eax, dword [esp + 0x68]
push eax
call dword [0x434078]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x54
ret 0x20
Function at 0x42ae61
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x435eb8
cmp edx, dword [eax]
je 0x42ae83
add eax, 8
inc ecx
cmp eax, 0x435f48
jl 0x42ae74
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x435eb8]
jne 0x42afb1
mov eax, dword [0x43b2cc]
cmp eax, 1
je 0x42af8b
test eax, eax
jne 0x42aeb4
cmp dword [0x435754], 1
je 0x42af8b
cmp edx, 0xfc
je 0x42afb1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42aeeb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004240d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00424f10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42af2e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00424f10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42ee10
push edi
call fcn.00425410
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004240d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004240e0
lea eax, [ebp - 0xa0]
push 0x42edf0
push eax
call fcn.004240e0
push dword [esi + 0x435ebc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004240e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042c77b
add esp, 0x2c
pop edi
jmp 0x42afb1
lea eax, [ebp + 8]
lea esi, [esi + 0x435ebc]
push 0
push eax
push dword [esi]
call fcn.00424f10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x2388058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.023881a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x238807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x238806a
add dl, dl
jne 0x2388089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x23880dc
xor eax, eax
add dl, dl
jne 0x2388096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x238817d
add dl, dl
jne 0x23880a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23880b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23880bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23880c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x23880d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2388075
mov eax, 1
add dl, dl
jne 0x23880ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x23880f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x23880e1
sub eax, ebx
mov ebx, 1
jne 0x2388128
mov ecx, 1
add dl, dl
jne 0x238810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2388119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2388105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2388075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x238813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x238814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2388136
cmp eax, 0x7d00
jae 0x238816d
cmp eax, 0x500
jb 0x2388168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2388075
cmp eax, 0x7f
ja 0x2388170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2388075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x238819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2388075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10