joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x53f8430c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5da374d0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x28ca6edc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x190b0fdb
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4010a0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.windows_exe
mov esi, eax
call fcn.004016d0
add esp, 4
test eax, eax
jne 0x4010d5
mov edx, dword [esp + 4]
push esi
push edx
call fcn.00401790
add esp, 8
pop esi
pop ecx
ret 0x10

Function at 0x401190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push str.PYTHONSCRIPT
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4011bf
push str.Could_not_locate_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
xor eax, eax
pop ebx
ret
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011e3
push str.Could_not_load_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
xor eax, eax
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [0x406d88], eax
mov dword [0x406d90], esi
test eax, eax
jne 0x401215
push str.Could_not_lock_script_resource:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call section..text
add esp, 8
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [eax + 0xc]
mov dword [0x406d8c], ecx
lea ecx, [eax + 0x10]
mov dword [0x406d88], ecx
cmp dword [esi], 0x78563412
je 0x401243
push str.Bug:_Invalid_script_resource
push 0
call section..text
add esp, 8
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
push edi
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401250
sub eax, edi
lea edx, [eax + esi + 0x11]
mov dword [0x406d88], edx
cmp byte [ecx], 0
pop edi
je 0x40128f
push ecx
push 0x406b80
push str._s_S
push 0x608
push 0x405f40
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x14
pop esi
mov eax, 1
pop ebx
ret
push 0x608
push 0x405f40
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4013f0
Capabilities:
Compiled with py2exe
Query environment variable

Disassembly:
mov eax, dword [0x406d90]
cmp dword [eax + 8], 0
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
je 0x40148e
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push ebp
push 0x8000
call esi
mov edi, dword [sym.imp.MSVCR100.dll__fileno]
push eax
call edi
mov ebp, dword [sym.imp.MSVCR100.dll__setmode]
add esp, 4
push eax
call ebp
add esp, 8
push 0x8000
call esi
add eax, 0x20
push eax
call edi
add esp, 4
push eax
call ebp
add esp, 8
push 0
push 4
push 0
call esi
mov edi, dword [sym.imp.MSVCR100.dll_setvbuf]
push eax
call edi
add esp, 0x10
push 0
push 4
push 0
call esi
add eax, 0x20
push eax
call edi
add esp, 0x10
push 0
push 4
push 0
call esi
add eax, 0x40
push eax
call edi
push 0x4050fc
push ebx
call fcn.00402490
add esp, 0x18
pop ebp
test eax, eax
je 0x40148e
mov dword [eax], 1
push str.Py_IsolatedFlag
push ebx
call fcn.00402490
add esp, 8
test eax, eax
je 0x4014a6
mov dword [eax], 1
push 0x405124
push ebx
call fcn.00402490
add esp, 8
test eax, eax
je 0x4014be
mov dword [eax], 1
push 0x405134
push ebx
call fcn.00402490
add esp, 8
test eax, eax
je 0x4014d6
mov dword [eax], 1
push 0x405150
push ebx
call fcn.00402490
add esp, 8
test eax, eax
je 0x4014ee
mov dword [eax], 1
push 0x405168
push ebx
call fcn.00402490
add esp, 8
test eax, eax
je 0x40150b
mov ecx, dword [0x406d90]
mov edx, dword [ecx + 4]
mov dword [eax], edx
push 0x405178
push ebx
call fcn.00402490
mov esi, eax
add esp, 8
test esi, esi
je 0x401550
mov edi, dword [sym.imp.MSVCR100.dll_getenv]
push 0x405188
call edi
add esp, 4
test eax, eax
je 0x40154a
push str.PY2EXE_VERBOSE
call edi
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 8
pop edi
mov dword [esi], eax
pop esi
pop ebx
ret
mov dword [esi], 0
pop edi
pop esi
pop ebx
ret

Function at 0x401560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 2
push 0
push 0x405f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x4051a8
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4015c0
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push eax
push 0x4051b8
call fcn.00402670
add esp, 0xc
pop ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret
push 0x4051c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret
Function at 0x401790
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
push 0
push eax
push ecx
call sym.run_w_py3.3_win32.exe_PySys_SetArgvEx
push 0x4052cc
call sym.run_w_py3.3_win32.exe_PyImport_ImportModule
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4017f0
push 0
push 0
push 0x4052ac
call sym.run_w_py3.3_win32.exe_PyCFunction_NewEx
mov edx, dword [str._MessageBox]
push eax
push edx
push esi
call sym.run_w_py3.3_win32.exe_PyObject_SetAttrString
push 0
push 0
push 0x4052bc
call sym.run_w_py3.3_win32.exe_PyCFunction_NewEx
push eax
mov eax, dword [str._SHGetSpecialFolderPath]
push eax
push esi
call sym.run_w_py3.3_win32.exe_PyObject_SetAttrString
add esp, 0x30
call fcn.00401300
push 0x4050d0
mov edi, eax
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x401835
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push 0x4050e0
call esi
push eax
call sym.run_w_py3.3_win32.exe_Py_FdIsInteractive
add esp, 8
test eax, eax
je 0x401835
push 0
push 0x4050e8
call esi
push eax
call sym.run_w_py3.3_win32.exe_PyRun_InteractiveLoopFlags
add esp, 0xc
call sym.run_w_py3.3_win32.exe_Py_Finalize
mov eax, edi
pop edi
pop esi
ret

Function at 0x401900
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax]
movzx ecx, word [ebx + 0x14]
push ebp
xor edx, edx
xor ebp, ebp
lea eax, [ecx + ebx + 0x18]
cmp dx, word [ebx + 6]
jae 0x4019b5
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401957
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x1c]
push 0x4000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40199d
lea edx, [edx + ecx*2]
lea ecx, [esi + edx*2]
mov edx, dword [ecx*4 + 0x4052d0]
test eax, 0x4000000
je 0x401971
or edx, 0x200
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x40198c
test al, 0x40
je 0x401981
mov ecx, dword [ebx + 0x20]
jmp 0x401988
test al, al
jns 0x40199d
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x40199d
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
movzx eax, word [ebx + 6]
inc ebp
add edi, 0x28
cmp ebp, eax
jl 0x401924
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4020f0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x40210c
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x402129
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push edx
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x40216a
mov ecx, dword [ebx + 0x50]
push 4
push 0x3000
push ecx
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x40216a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebp
xor eax, eax
pop ebx
ret
push esi
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x4021a1
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x24]
push 4
mov dword [esi + 4], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov eax, dword [ebx + 0x54]
push 0x1000
push eax
push edi
call ebp
mov ecx, dword [ebx + 0x54]
mov edx, dword [esp + 0x14]
push ecx
mov ebp, eax
push edx
push ebp
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x20]
add ebp, dword [eax + 0x3c]
push esi
push ebx
mov dword [esi], ebp
push eax
mov dword [ebp + 0x34], edi
call fcn.00401850
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x402211
push eax
mov eax, esi
call fcn.00401a00
add esp, 4
call fcn.00401a80
test eax, eax
je 0x40224b
push esi
call fcn.00401900
add esp, 4
mov eax, esi
call fcn.004019c0
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x402262
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x40225b
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401d20
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x4254a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push edi
or edi, 0xca89
jmp 0x4254b9
sub edi, 0x9c9
pop edi
push ecx
call fcn.004254ce
add byte [ecx + eax*2 + 0x50], cl
dec ecx
inc edi
dec esi
dec edi

Function at 0x4254ce
Capabilities:
Parse pe header

Disassembly:
add esp, 4
pop ecx
push ebx
push eax
add esp, 4
xor ebx, 0x15e90
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push esi
push eax
add esp, 4
sub esi, 0x152bf
add esi, 0x1579f
and esi, 0x60fa
pop esi
push edi
xor edi, 0x26f0
call 0x4255bb
add byte [esi], dh
xor eax, dword [esi + 0x50]
inc esi
cmp al, 0x46
xor al, byte ds:[ebx + 0x695f04c4]
xchg ebp, eax
push esp
invalid
Function at 0x437f80
Capabilities:
Encode data using xor

Disassembly:
push esp
in al, dx
pop es
push eax
push ecx
push ecx
inc esi
dec edi
xor ebx, dword [esp + ecx*4 - 0x7a]
jns 0x437f88
add byte [eax], al
add al, 0x86
in eax, 0xff
add byte [eax], al
adc byte [edi - 0x1a6973f7], bh
inc dword [eax]
add byte [eax], dl
mov edi, 0xf5911685
add byte [eax], al
cmp al, 0xc9
jne 0x437fd0
mov word [esi + 0xfa79], cs
add al, 0x8e
in eax, 0xff
add byte [eax], al
adc byte [edi + 0x21f38412], bh
mov word [esi + 0xffe5], es
adc byte [edi - 0xa6ef973], bh
add byte [eax], al
cmp al, 0xd2
jbe 0x437fd7
ljmp 0x3ec:0x49
dec ecx
add byte [eax], al
add ah, ch
add ebp, esp
push es
ljmp 0xec52

Function at 0x44b440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov dword [esi + 0x104], ecx
sub ecx, dword [esi + 0x58]
add eax, ecx
mov dword [esi + 0x108], edx
sub edx, dword [esi + 0x5c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x64]
add eax, edx
mov dword [esi + 0x118], ecx
mov dword [esi + 0x124], eax
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0xe8]
mov dword [esi + 0x11c], edx
mov edx, 1
mov dword [esi + 0x110], eax
pop esi
pop ebp
jmp fcn.0044b4b0
Function at 0x1000d820
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1000d9e4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x1000d84a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1000d851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1000d840
mov eax, 1
add ebx, ebx
jne 0x1000d863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1000d858
jne 0x1000d874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000d858
xor ecx, ecx
sub eax, 3
jb 0x1000d888
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000d8fa
mov ebp, eax
add ebx, ebx
jne 0x1000d893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1000d8a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1000d8c4
inc ecx
add ebx, ebx
jne 0x1000d8b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1000d8a5
jne 0x1000d8c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1000d8a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1000d8e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1000d8d5
jmp 0x1000d846
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1000d8e4
add edi, ecx
jmp 0x1000d846
pop esi
mov edi, esi
mov ecx, 0x1f5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1000d902
cmp byte [edi], 5
jne 0x1000d902
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 0x1000d907
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x1000d976
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1000d934
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd040]
or eax, eax
je 0x1000d970
mov dword [ebx], eax
add ebx, 4
jmp 0x1000d951
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1000d9a7
cmp al, 0xef
ja 0x1000d99a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000d97c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1000d989
mov ebp, dword [esi + 0xd044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x1000d9db
sub esp, 0xffffff80
jmp 0x1000133a
Function at 0x9e8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9e81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9e807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e806a
add dl, dl
jne 0x9e8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e80dc
xor eax, eax
add dl, dl
jne 0x9e8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e817d
add dl, dl
jne 0x9e80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9e80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9e8075
mov eax, 1
add dl, dl
jne 0x9e80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e80e1
sub eax, ebx
mov ebx, 1
jne 0x9e8128
mov ecx, 1
add dl, dl
jne 0x9e810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9e813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8136
cmp eax, 0x7d00
jae 0x9e816d
cmp eax, 0x500
jb 0x9e8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
cmp eax, 0x7f
ja 0x9e8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9e819e
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 0x9e8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10c8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010c81a8
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 0x10c807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c806a
add dl, dl
jne 0x10c8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c80dc
xor eax, eax
add dl, dl
jne 0x10c8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c817d
add dl, dl
jne 0x10c80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10c80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10c8075
mov eax, 1
add dl, dl
jne 0x10c80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c80e1
sub eax, ebx
mov ebx, 1
jne 0x10c8128
mov ecx, 1
add dl, dl
jne 0x10c810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10c813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c8136
cmp eax, 0x7d00
jae 0x10c816d
cmp eax, 0x500
jb 0x10c8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c8075
cmp eax, 0x7f
ja 0x10c8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10c819e
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 0x10c8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x418c86
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x7ffd6302
sub byte [edx], al
mov ecx, 0x13875c46
mov ch, 0xc
mov esi, 0xc43992f0
out 0x10, al
mov ecx, 0xe03c07a6
jecxz 0x418cd6
jle 0xd8ed6657
add byte [edi], bh
out 0xf3, al
mov bl, 0xe6
outsd dx, dword [esi]
stc
pop edi
sal dword [edi + edi*8], 1
lodsb al, byte [esi]
out 0x72, eax
lcall 0xe0e2, 0xab5c0299
jb 0x418ce1
lcall 0xe0e2, 0xab5c0299
mov dword es:[0x43f0f2ab], eax
add dword [esi], ecx
pop edi
xchg esi, eax
cdq
mov cs, word [0xb1ce1d31]
xchg dword [ecx + 0x198789a6], edx
push cs
clc
xlatb
mov dword [edi - 0x2807f1e7], eax
inc ebx
cmp byte [edx - 0x7d], al
xor byte [edi], cl
pop edx
clc
cvtps2pd xmm7, xmm0
lodsb al, byte [esi]
cmpsb byte [esi], byte es:[edi]
jle 0x418cb9
out 0xd0, eax
push ss
fild word [esi]
jecxz 0x418cf5
push es
xchg dword [0x41e45934], edx
sub al, 0x81
xchg dword [esi - 0x19], edi
pop ecx
push 0x6e5926c9
pop ebx
iretd

Function at 0x419410
Capabilities:
Get disk information

Disassembly:
sub esp, 8
mov eax, dword [0x4d1030]
mov edx, dword [0x4d1034]
mov dword [esp + 4], 0
push 0x4d1064
lea ecx, [eax + eax]
or ecx, edx
mov dword [esp + 4], ecx
fild qword [esp + 4]
fadd qword [0x4d1058]
fstp qword [0x4d1058]
invalid
invalid

Function at 0x461d52
Capabilities:
Encode data using xor

Disassembly:
ucomiss xmm0, dword [ecx - 0x6af60895]
insd dword es:[edi], dx
cmp dl, byte [eax - 0x6b]
push eax
xchg ebp, eax
jb 0x461ce9
das
sti
dec esp
inc ecx
mov al, 0xa7

Function at 0x4c6ecd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d13a0
cmp edx, dword [eax]
je 0x4c6eef
add eax, 8
inc ecx
cmp eax, 0x4d1430
jl 0x4c6ee0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d13a0]
jne 0x4c701d
mov eax, dword [0x4d6dd0]
cmp eax, 1
je 0x4c6ff7
test eax, eax
jne 0x4c6f20
cmp dword [0x4d12c8], 1
je 0x4c6ff7
cmp edx, 0xfc
je 0x4c701d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6f57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c78b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6f9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cce24
push edi
call fcn.004c9c10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c78b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c78c0
lea eax, [ebp - 0xa0]
push 0x4cce04
push eax
call fcn.004c78c0
push dword [esi + 0x4d13a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c78c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c9b84
add esp, 0x2c
pop edi
jmp 0x4c701d
lea eax, [ebp + 8]
lea esi, [esi + 0x4d13a4]
push 0
push eax
push dword [esi]
call fcn.004c7d40
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