joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6195d0
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641f48
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x61960a
push 0
push 0x128
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
xor eax, eax
mov dword [esp + 0x18], 7
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x30], eax
call fcn.006181d0
mov ecx, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0x18], 8
jae 0x619646
lea ecx, [esp + 4]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x619651
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x619668
add esi, 4
push esi
call fcn.00618500
cmp dword [esp + 0x18], 8
jb 0x61967c
mov eax, dword [esp + 4]
push eax
call fcn.005dc86c
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x6195e8
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641f48
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x61960a
push 0
push 0x128
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
xor eax, eax
mov dword [esp + 0x18], 7
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 4]
push ecx
push edx
mov dword [esp + 0x30], eax
call fcn.006181d0
mov ecx, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0x18], 8
jae 0x619646
lea ecx, [esp + 4]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x619651
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x619668
add esi, 4
push esi
call fcn.00618500
cmp dword [esp + 0x18], 8
jb 0x61967c
mov eax, dword [esp + 4]
push eax
call fcn.005dc86c
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4

Function at 0x619870
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x619892
push 0
push 0x15b
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
mov ecx, esi
call fcn.00619130
test al, al
lea eax, [esi + 0x20]
je 0x6198bc
cmp dword [eax + 0x14], 8
jb 0x6198a8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x6198d8
add esi, 4
push esi
call fcn.00618500
cmp dword [eax + 0x14], 8
jb 0x6198c4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x6198d8
add esi, 4
push esi
call fcn.00618500
pop esi
ret
Function at 0x619950
Capabilities:
Create directory

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x619972
push 0
push 0x17e
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
mov ecx, esi
call fcn.00619000
test al, al
je 0x61998c
mov ecx, esi
call fcn.00619130
test al, al
je 0x61998c
xor al, al
pop esi
ret
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x619997
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x6199ad
add esi, 4
push esi
call fcn.00618500
mov al, 1
pop esi
ret

Function at 0x619b30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x6191a2
push 0
push 0xaa
push str.d:pocopoco_1.9.4_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00612f80
add esp, 0x10
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x6191ad
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6191c2
add esi, 4
push esi
call fcn.00618500
test al, 0x10
jne 0x6191d4
test eax, 0x400
je 0x6191d4
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
jmp 0x619180
Function at 0x61cd00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x642361
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, 0x7fff
xor ecx, ecx
xor ebx, ebx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 8], ebx
push edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x1c], 1
neg ecx
or ecx, eax
push ecx
call fcn.005dc092
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
push esi
push edi
mov dword [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
jbe 0x61ce23
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, ebx
ja 0x61cdc0
push 0x2a
push str.Cannot_get_system_directory_long_path_name
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00573a5b
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 2
call fcn.00607180
push 0x6be588
lea ecx, [esp + 0x40]
push ecx
call fcn.005dcab3
mov esi, dword [esp + 0x7c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
push esi
push edi
mov dword [esp + 0x14], 1
call fcn.00624e40
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x61cdef
mov eax, dword [esi]
jmp 0x61cdf1
mov eax, esi
cmp byte [eax + ecx - 1], 0x5c
je 0x61ce06
push 1
push 0x69d570
mov ecx, esi
call fcn.00573db6
push edi
call fcn.005e1a47
mov ecx, dword [esp + 0x70]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
push 0x23
push str.Cannot_get_temporary_directory_path
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00573a5b
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 3
call fcn.00607180
push 0x6be588
lea eax, [esp + 0x40]
push eax
call fcn.005dcab3
int3
Function at 0x624ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x642d98
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x624cce
mov eax, dword [esi]
jmp 0x624cd0
mov eax, esi
lea ecx, [esp + 0x30]
mov byte [eax], 0
call fcn.0062f150
push 2
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call fcn.0062f560
push 0x3f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.0062f610
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push esi
lea eax, [edx + edx]
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.0062f890
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0062f630
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.0062f2d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call fcn.0062ef30
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x62e4e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
cmp dword [ebp + 0x14], 0x10
push esi
mov dword [esp + 0xc], 0
jb 0x62e4fd
mov eax, dword [ebp]
jmp 0x62e4ff
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
push 0
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x62e52c
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00606e20
push 0x6bb4f8
lea eax, [esp + 0x14]
push eax
call fcn.005dcab3
push edi
push esi
call fcn.005dc092
add esp, 4
cmp dword [ebp + 0x14], 0x10
mov edi, eax
jb 0x62e541
mov ebp, dword [ebp]
push esi
push edi
push ebp
call ebx
mov esi, dword [esp + 0x48]
mov eax, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x62e560
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00573a5b
push edi
call fcn.005e1a47
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret

Function at 0x631aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x34
mov edi, ecx
call fcn.005e19c7
mov esi, eax
xor eax, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x631b2e
mov ecx, dword [edi + 4]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 8]
mov word [esi + 0x30], ax
mov dword [ebp - 4], eax
push edx
lea eax, [esi + 0xc]
push eax
add edi, 0xd
push edi
mov dword [esi + 8], ecx
call fcn.00631670
mov ecx, dword [ebp - 0xc]
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call fcn.005de5d2
push 0x6b993c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.005dcab3
int3
Function at 0x10005916
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 0x24c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0xabc], edi
jne 0x1000593c
xor eax, eax
jmp 0x10005a5e
cmp dx, 4
jne 0x10005a5c
movzx eax, byte [0x10001334]
mov ecx, 0x208
push eax
call fcn.100018d7
mov esi, eax
pop ecx
test esi, esi
je 0x10005a59
push 0x104
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push 0xffffffffffffffff
push dword [0x1000b6c0]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x100059a3
push 0x1000b4b8
mov edx, 0x104
mov dword [ebx + 0x21c], edi
mov ecx, esi
call fcn.10002059
jmp 0x100059ad
mov dword [ebx + 0x21c], 1
push esi
push 0xffffffffffffffff
push 0x158
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10005a2c
push 1
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
je 0x10005a52
push edi
push dword [ebp - 8]
push 0x14e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
cmp dword [eax + 8], edi
je 0x10005a12
cmp dword [eax + 8], 0xffffffff
je 0x10005a12
mov ecx, dword [ebp - 4]
xor edx, edx
inc edx
call fcn.100030d3
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.10003646
jmp 0x10005a52
push edi
mov edi, dword [ebp - 4]
mov edx, esi
mov ecx, edi
call fcn.10002a89
test eax, eax
je 0x10005a52
mov ecx, edi
call fcn.1000641c
jmp 0x10005a44
cmp dword [ebx + 0xab8], edi
jne 0x10005a52
mov ecx, dword [ebp - 4]
mov edx, esi
push 1
call fcn.10002a89
test eax, eax
je 0x10005a52
push esi
mov edx, 0x104
lea ecx, [ebx + 4]
call fcn.10002059
push esi
call fcn.10009081
pop ecx
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10005b02
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x10005bc3
push ebx
cmp dword [eax + 0x220], edi
je 0x10005b2b
push 0x3ea
jmp 0x10005b30
push 0x3e9
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x10005bc2
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
je 0x10005bc2
mov ecx, 0x1000b4b8
inc esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10005b57
sub ecx, edx
sar ecx, 1
inc ecx
cmp esi, ecx
jae 0x10005b6d
mov esi, ecx
movzx eax, byte [0x10001334]
xor ecx, ecx
push eax
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.100018d7
mov edi, eax
pop ecx
test edi, edi
je 0x10005bc2
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push 0xffffffffffffffff
push dword [0x1000b6c0]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
push 2
pop ecx
cmp eax, ecx
jne 0x10005bc2
push 0x1000b4b8
mov edx, esi
mov ecx, edi
call fcn.10002059
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x10007975
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0x24c]
push ebx
push esi
push edi
push 0x3f4
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
je 0x10007af6
movzx ecx, byte [0x10001334]
lea eax, [ebx + 3]
push ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.100018d7
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
je 0x10007af6
lea ecx, [ebx + 1]
push ecx
lea esi, [eax + 2]
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
pop eax
jmp 0x100079e9
add esi, 2
cmp word [esi], ax
je 0x100079e6
and dword [ebp - 4], 0
mov ecx, esi
mov ebx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x100079f9
sub ecx, edx
sar ecx, 1
dec ecx
push 0x20
lea eax, [esi + ecx*2]
pop ecx
jmp 0x10007a15
sub eax, 2
cmp word [eax], cx
je 0x10007a12
push esi
push 0xffffffffffffffff
push 0x14c
xor ecx, ecx
push edi
mov word [eax + 2], cx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10007a6e
xor eax, eax
push eax
push eax
push 0x146
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x10007a6e
cmp eax, 5
jl 0x10007a5f
xor ecx, ecx
dec eax
push ecx
push eax
push 0x144
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 1
push 0x14a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x272b
call fcn.100088d4
mov edi, eax
test edi, edi
je 0x10007ae5
push 1
push 0xffffffffffffffff
push edi
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x10007a98
mov esi, 0x100014f0
jmp 0x10007ad2
push 0x2a
pop eax
push eax
push esi
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x10007ad2
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 4]
jne 0x10007aae
sub edx, ecx
sub esi, 2
sar edx, 1
push 0x2a
pop eax
mov word [esi], ax
mov word [ebx + edx*2], ax
xor eax, eax
mov word [esi + edx*2 + 4], ax
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.10003646
push edi
call fcn.10009081
pop ecx
jmp 0x10007aed
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp - 0xc]
call fcn.10009081
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x1000930c
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x10009349
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x10009342
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x1000934e
add edx, 0x28
cmp edx, esi
jne 0x10009333
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1000934b
Function at 0x887058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008871a8
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 0x88707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88706a
add dl, dl
jne 0x887089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8870dc
xor eax, eax
add dl, dl
jne 0x887096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88717d
add dl, dl
jne 0x8870a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8870b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8870bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8870c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8870d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x887075
mov eax, 1
add dl, dl
jne 0x8870ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8870f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8870e1
sub eax, ebx
mov ebx, 1
jne 0x887128
mov ecx, 1
add dl, dl
jne 0x88710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x887119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x887105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x887075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x88713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x887136
cmp eax, 0x7d00
jae 0x88716d
cmp eax, 0x500
jb 0x887168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x887075
cmp eax, 0x7f
ja 0x887170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x887075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x88719e
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 0x887075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5c74e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.5c74e1a8
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 0x5c74e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5c74e06a
add dl, dl
jne 0x5c74e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5c74e0dc
xor eax, eax
add dl, dl
jne 0x5c74e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5c74e17d
add dl, dl
jne 0x5c74e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5c74e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5c74e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5c74e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x5c74e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x5c74e075
mov eax, 1
add dl, dl
jne 0x5c74e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5c74e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5c74e0e1
sub eax, ebx
mov ebx, 1
jne 0x5c74e128
mov ecx, 1
add dl, dl
jne 0x5c74e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5c74e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5c74e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5c74e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x5c74e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5c74e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5c74e136
cmp eax, 0x7d00
jae 0x5c74e16d
cmp eax, 0x500
jb 0x5c74e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5c74e075
cmp eax, 0x7f
ja 0x5c74e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5c74e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x5c74e19e
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 0x5c74e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x103ace34
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103ace3e
pushal
call 0x103ace44
pop ebp
sub ebp, 0x10
sub ebp, 0x3ace34
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103ace68
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103ace71
mov eax, 0x3ace34
add eax, ebp
add eax, 0x63
mov ecx, 0x5dd
mov edx, 0x5970ce57
xor byte [eax], dl
inc eax
dec ecx
jne 0x103ace88
jmp 0x103ace9b
fcomp qword [edx + 0x576bdedc]
push edi
push edi
salc
xchg esi, eax
scasd eax, dword es:[edi]
push edi
push edi
push edi
push esp
lcall 0xed57, 0x575756ef
jg 0x103acf0a
push edi
push edi
mov al, byte [0xdc9f54b5]
salc
pop ebx
push edi
push edi
push edi
push esp
xchg edx, eax
pop es
pop es
aas
movntps xmmword [ecx + 0x57], xmm3
aas
mov eax, dword [esi]
jnp 0x103acf24
push esi
jnp 0x103acf43
aas
shl bl, 1
or ecx, dword [edi + edi*4 + 0x52]
push edi
push edi
push edi
mov esi, 0x5757577f
add bl, ah
mov ebx, 0x575fd2dc
push edi
push edi
fadd st(2), st(0)
pop ebx
push edi
push edi
push edi
invalid
push ebx
push edi
push edi
push edi
aas
movntps xmmword [ecx + 0x57], xmm3
aas
mov eax, dword [esi]
jnp 0x103acf6f
push esi
jnp 0x103acf8e
push es
mov edi, 0x57575752
mov esi, 0x57575568
push edi
push edi
add bl, ah
mov ebx, 0xa85b22a8
and bl, byte [edi - 0x41]
and eax, 0xdc575757
ljmp 0xa6d6
mov ch, byte [eax - 0x60]
sahf
test esp, edx
mov edi, 0xd3581f52
sbb dword [edi + 0x57], edx
push edi
pop eax
fistp word [edi]
push edi
push edi
push edi
xor esp, ebx
dec ebx
outsb dx, byte [esi]
xlatb
lodsb al, byte [esi]
mov edi, 0x574dd358
push edi
push edi
xlatb
lodsb al, byte [esi]
mov esi, 0x5746d358
push edi
push edi
xor esi, edx
lodsb al, byte [esi]
test al, 0x72
pop eax
rol dword [edx + 0x57], cl
push edi
push edi
push ss
mov esi, 0xa8a8a89b
jle 0x103acf9e
outsb dx, byte [esi]
push esi
aam 0x96
push edx
aam 0xbf
push ebx
mov esi, 0xa8a8a8ea
test al, 0xa8
jle 0x103acf95
outsb dx, byte [esi]
push ebp
aam 0x96
xchg esi, eax
push ecx
aam 0xbd
push ebx
aam 0xbf
push edx
mov esi, 0xa8a8a8fc
or dl, byte [ebp - 0x23fda8a5]
cld
test al, 0xa8
test al, 0xa
xchg ebp, eax
pop ebx
push edi
add bl, ah
mov ebx, 0xdc020001
and bl, byte [ebx - 0x24]
sub bl, byte [edi - 0x55]
in eax, 0xd7
fst qword [ecx - 0x2a]
xchg ecx, eax
push esi
push edi
push edi
push edi
fist word [eax - 0x2a]
nop
push esi
push edi
push edi
push edi
in al, dx
push ebp
push edi
push edi
push edi
push ebp
test dword [eax - 0x2e], ebx
push edx
push edi
push edi
push edi
fld qword [ecx + 0x11]
inc ebp
test dword [eax - 0x2c], ebx
invalid
Function at 0x401eda
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
lea eax, [ebp - 0x184]
push 0x104
push eax
call fcn.00402314
lea eax, [ebp - 0x184]
push 0x4049b0
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x401f33
lea eax, [ebp - 0x184]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push 0x4049b4
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
pop eax
jmp 0x401f83
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push edi
mov edi, 0x80
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
je 0x401f77
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
jmp 0x401f4d
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x103f7cbc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103f7cc6
pushal
call 0x103f7ccc
pop ebp
sub ebp, 0x10
sub ebp, 0x3f7cbc
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103f7cf0
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103f7cf9
mov eax, 0x3f7cbc
add eax, ebp
add eax, 0x63
mov ecx, 0x609
mov edx, 0xefffb844
xor byte [eax], dl
inc eax
dec ecx
jne 0x103f7d10
jmp 0x103f7d23
iretd