joyce8/EMBER2024-capa huggingface dataset:
Function at 0x94e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0094e1a8
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 0x94e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94e06a
add dl, dl
jne 0x94e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94e0dc
xor eax, eax
add dl, dl
jne 0x94e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94e17d
add dl, dl
jne 0x94e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x94e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x94e075
mov eax, 1
add dl, dl
jne 0x94e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94e0e1
sub eax, ebx
mov ebx, 1
jne 0x94e128
mov ecx, 1
add dl, dl
jne 0x94e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x94e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94e136
cmp eax, 0x7d00
jae 0x94e16d
cmp eax, 0x500
jb 0x94e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94e075
cmp eax, 0x7f
ja 0x94e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x94e19e
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 0x94e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407a90
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push str.ldplayerAudio_start
push 0x40
lea edi, [esi + 0x40]
mov dword [edi], 0x65
push str.LDPlayerAudio::start
call fcn.00417ae0
add esp, 0xc
lea eax, [esi + 0xc4]
push 0x10
push eax
push 0
push 0x84
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_sendto]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x84
jne 0x407bc8
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x10
push eax
lea eax, [esi + 0xc4]
push eax
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi], 0x65
jne 0x407b2a
mov dword [edi], 0x64
cmp byte [esi + 0xd8], 0
jne 0x407bdf
cmp eax, 8
jb 0x407b8c
cmp dword [ebp - 0x104], 0xc8
jne 0x407b80
mov eax, dword [ebp - 0x100]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x10c], eax
test ecx, ecx
je 0x407bf0
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0x10c]
push edx
call dword [eax + 8]
jmp 0x407ba3
call ebx
push eax
push str.LDPlayerAudio::readAudio_erro_1__d
push 0x5a
jmp 0x407b96
call ebx
push eax
push str.LDPlayerAudio::readAudio_erro_2__d
push 0x5e
push str.LDPlayerAudio::start
call fcn.00417ae0
add esp, 0x10
push 0x10
lea eax, [esi + 0xc4]
push eax
push 0
push 0x84
push edi
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0x84
je 0x407af0
call ebx
push eax
push str.LDPlayerAudio::readAudio_3__d
push 0x62
push str.LDPlayerAudio::start
call fcn.00417ae0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420a52
mov esp, ebp
pop ebp
ret
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x4080c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x10
lea edi, [esi + 0xc4]
push edi
push 0
push 0x9c
lea eax, [esi + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0x9c
jne 0x40816b
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x10
push eax
push edi
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 4
jb 0x40815b
cmp dword [ebp - 0x104], 0xc8
jne 0x40814b
mov eax, dword [esi + 0xd4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420a52
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_erro_1__d
push 0x4c
jmp 0x408179
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_erro_2__d
push 0x50
jmp 0x408179
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LDPlayerReader::readPix_3__d
push 0x55
push str.LDPlayerReader::readPix
call fcn.00417ae0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00420a52
mov esp, ebp
pop ebp
ret
Function at 0x4081a0
Capabilities:
Hide graphical window
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c0], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x43b210
push 0x67
push edi
call esi
push 0x64
push 0x43b148
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00408370
push 0
push edi
push 0
push 0
push 0
push bind
push 0
push bind
push 0xcf0000
push 0x43b210
push 0x43b148
push 0
mov dword [0x43b2d8], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x40834d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x238]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x408269
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], vtable.LDAVRecordImpl.0
call fcn.0041cd70
xor eax, eax
mov dword [esp + 0x58], 7
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 2
call fcn.00403990
push ebx
lea ecx, [esp + 0x34]
call fcn.004058e0
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x40830d
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4082fc
lea eax, [esp + 0x14]
push eax
call esi
lea eax, [esp + 0x14]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x4082d7
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
call fcn.00405860
cmp dword [esp + 0x58], 8
jb 0x408334
push dword [esp + 0x44]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x3cc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40b8b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4221e6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00406e70
push str.leidian9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x43ca64
call fcn.0040e0a0
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x40b981
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x43ca64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42224b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x43ca80
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x43ca94], 7
mov dword [0x43ca90], 0
mov word [0x43ca80], ax
mov dword [ebp - 4], eax
mov ecx, 0x43ca80
lea eax, [ebp - 0x21c]
push eax
call fcn.00406e70
mov eax, 0x43ca80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 4
Function at 0x40c110
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4223f7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.00406e70
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0040e0a0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040bcb0
cmp dword [ebp - 0x238], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x40c1f4
push dword [ebp - 0x24c]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x40c225
push dword [ebp - 0x234]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x234]
call fcn.00406e70
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.0040e0a0
add esp, 4
mov ecx, edi
call fcn.0040bd50
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x40c298
push dword [ebp - 0x234]
call esi
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420a52
mov esp, ebp
pop ebp
ret 4
Function at 0x40e470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422843
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0040fbd0
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0040fb90
mov dword [edi + 8], eax
push 0
mov byte [ebp - 4], 1
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040fb90
mov dword [edi + 0x10], eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x5c], 7
xor eax, eax
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], 7
mov word [edi + 0xac], ax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], eax
mov eax, edi
mov dword [edi + 0xd0], 2
mov dword [edi + 0xd4], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x413050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423628
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x4131d7
cmp byte [edi + 0x45], 0
je 0x4131d7
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4130b0
xor al, al
jmp 0x4131d9
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00414030
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x41310f
dec eax
je 0x413113
sub eax, 2
je 0x4131bd
xor bl, bl
jmp 0x4131bf
mov byte [edi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub esi, eax
je 0x41314b
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x413108
cmp byte [edi + 0x45], 0
je 0x4131bd
test esi, esi
jne 0x4130c4
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 8
jbe 0x4131b2
lea esi, [ecx + 8]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00409a30
test al, al
je 0x4130c4
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
cmovae ecx, dword [esp + 0x18]
movq qword [ecx + eax], xmm0
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], esi
cmovae eax, dword [esp + 0x18]
mov byte [eax + esi], 0
jmp 0x4130c4
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4131d3
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x4131d9
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00420a52
mov esp, ebp
pop ebp
ret
Function at 0x4179b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4179c4
xor al, al
jmp 0x417a09
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x417ab0
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x417a10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x417a65
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x417a4e
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x417a86
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x417aa6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4

Function at 0x419aa0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004056a0
push eax
mov ecx, dword [ebp + 8]
call fcn.004056a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x419ac8
mov al, 1
jmp 0x419b04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004056a0
push eax
mov ecx, dword [ebp + 8]
call fcn.004056a0
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0x144
push str.utility::ufile::moveFile
call fcn.00417ae0
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x41d0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x41d0ed
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x41d210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x41d0ff
mov dword [ebp - 8], 1
jmp 0x41d106
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x12ff058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.012ff1a8
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 0x12ff07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ff06a
add dl, dl
jne 0x12ff089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ff0dc
xor eax, eax
add dl, dl
jne 0x12ff096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12ff17d
add dl, dl
jne 0x12ff0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ff0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ff0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ff0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x12ff0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x12ff075
mov eax, 1
add dl, dl
jne 0x12ff0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12ff0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ff0e1
sub eax, ebx
mov ebx, 1
jne 0x12ff128
mov ecx, 1
add dl, dl
jne 0x12ff10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12ff119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ff105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ff075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x12ff13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12ff14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12ff136
cmp eax, 0x7d00
jae 0x12ff16d
cmp eax, 0x500
jb 0x12ff168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ff075
cmp eax, 0x7f
ja 0x12ff170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12ff075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x12ff19e
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 0x12ff075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10