joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ade6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x491750]
je 0x45ae01
inc edi
cmp edi, 0x17
jb 0x45adf2
cmp edi, 0x17
jae 0x45af81
push ebp
push 3
call fcn.00467636
cmp eax, 1
pop ecx
je 0x45af4d
push 3
call fcn.00467636
test eax, eax
pop ecx
jne 0x45ae35
cmp dword [0x491594], 1
je 0x45af4d
cmp ebx, 0xfc
je 0x45af80
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4956b0
push ebp
call fcn.0045784a
add esp, 0xc
test eax, eax
je 0x45ae6b
push esi
push esi
push esi
push esi
push esi
call fcn.00455b40
add esp, 0x14
push 0x104
mov esi, 0x4956c9
push esi
push 0
mov byte [0x4957cd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45aeaf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045784a
add esp, 0xc
test eax, eax
je 0x45aeaf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00455b40
add esp, 0x14
push esi
call fcn.0045c3d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x45aef4
push esi
call fcn.0045c3d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4959c4
push 0x479534
sub ecx, eax
push ecx
push eax
call fcn.00467583
add esp, 0x14
test eax, eax
je 0x45aef4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00455b40
add esp, 0x14
jmp 0x45aef6
xor esi, esi
push 0x479530
push ebx
push ebp
call fcn.00467512
add esp, 0xc
test eax, eax
je 0x45af16
push esi
push esi
push esi
push esi
push esi
call fcn.00455b40
add esp, 0x14
push dword [edi*8 + 0x491754]
push ebx
push ebp
call fcn.00467512
add esp, 0xc
test eax, eax
je 0x45af38
push esi
push esi
push esi
push esi
push esi
call fcn.00455b40
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00467355
add esp, 0xc
jmp 0x45af80
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x45af80
cmp ebp, 0xffffffff
je 0x45af80
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x491754]
push dword [esi]
call fcn.0045c3d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x467355
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045b996
xor ebx, ebx
cmp dword [0x4961b0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x46742b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x46750b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x46750b
push eax
call fcn.0045b928
mov dword [esp], 0x47986c
push edi
mov dword [0x4961b0], eax
call esi
push eax
call fcn.0045b928
mov dword [esp], 0x479858
push edi
mov dword [0x4961b4], eax
call esi
push eax
call fcn.0045b928
mov dword [0x4961b8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00459c6e
test eax, eax
pop ecx
pop ecx
je 0x4673f9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455b40
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x46742b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045b928
cmp eax, ebx
pop ecx
mov dword [0x4961c0], eax
je 0x46742b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045b928
pop ecx
mov dword [0x4961bc], eax
mov eax, dword [0x4961bc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4674b0
cmp dword [0x4961c0], ecx
je 0x4674b0
push eax
call fcn.0045b99f
push dword [0x4961c0]
mov esi, eax
call fcn.0045b99f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4674b0
cmp edi, ebx
je 0x4674b0
call esi
cmp eax, ebx
je 0x46747d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46747d
test byte [ebp - 0x18], 1
jne 0x4674b0
lea eax, [ebp - 0x10]
push eax
call fcn.00459ca5
test eax, eax
pop ecx
je 0x467498
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00455b40
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4674a7
or dword [ebp + 0x10], 0x200000
jmp 0x4674eb
or dword [ebp + 0x10], 0x40000
jmp 0x4674eb
mov eax, dword [0x4961b4]
cmp eax, dword [ebp - 8]
je 0x4674eb
push eax
call fcn.0045b99f
cmp eax, ebx
pop ecx
je 0x4674eb
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4674eb
mov eax, dword [0x4961b8]
cmp eax, dword [ebp - 8]
je 0x4674eb
push eax
call fcn.0045b99f
cmp eax, ebx
pop ecx
je 0x4674eb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4961b0]
call fcn.0045b99f
cmp eax, ebx
pop ecx
je 0x46750b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46750d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46ef08
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4915c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046ee9d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00457910
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46ef57
cmp dword [ebp - 0x1c], 5
jb 0x46ef6f
jmp 0x46ef6b
cmp dword [ebp - 0x10], 1
jne 0x46ef6f
cmp dword [ebp - 0x1c], 4
ja 0x46ef6b
jne 0x46ef6f
cmp dword [ebp - 0x18], 0
jbe 0x46ef6f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47b1cc
call fcn.0046ed8e
test eax, eax
jge 0x46ef90
mov byte [0x496388], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00455843
add ebp, 0x78
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xa9b6cbb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6cf55941
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41eb53
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e813

Function at 0x423f90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ff62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x1a]
cmp ax, word [esi + 0x9c]
je 0x424117
mov word [esi + 0x9c], ax
xorps xmm0, xmm0
movzx eax, ax
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push 0x4469b0
push eax
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
call fcn.00402000
lea edi, [esi + 0x1c]
add esp, 0x14
cmp dword [edi + 0x14], 0x10
jb 0x42401c
mov ecx, dword [edi]
jmp 0x42401e
mov ecx, edi
call fcn.00402020
cmp byte [ebp - 0x58], 0
jne 0x42402d
xor ecx, ecx
jmp 0x42403c
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424033
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x64]
call fcn.00401eb0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
push edi
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.00401b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 1
push 0x4469c0
call fcn.00401980
cmp byte [ebp - 0x58], 0
jne 0x424096
xor ecx, ecx
jmp 0x4240a9
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4240a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401980
push 1
push 0x4469c0
lea ecx, [ebp - 0x38]
call fcn.00401980
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
call fcn.00402020
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x424103
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00402190
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jmp 0x424134
cmp dword [esi + 0xa0], 0
je 0x42415f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xa0]
cmp eax, dword [esi + 0x98]
jb 0x42415f
mov ecx, esi
call fcn.00423b30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xa0], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x424210
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ffbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 5
mov eax, dword [esi + 4]
test eax, eax
je 0x424249
push eax
call fcn.0040e304
add esp, 4
lea eax, [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [esi + 0x10], 0
je 0x4242a8
push dword [esi + 0x14]
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4242a1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x10]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 4
lea edi, [esi + 0x7c]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4242c2
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402190
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4242d8
mov edi, dword [edi]
mov byte [edi], 0
mov byte [ebp - 4], 3
lea edi, [esi + 0x64]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4242f5
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402190
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x42430b
mov edi, dword [edi]
mov byte [edi], 0
mov byte [ebp - 4], 2
lea edi, [esi + 0x4c]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x424328
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402190
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x42433e
mov edi, dword [edi]
mov byte [edi], 0
mov byte [ebp - 4], 1
lea edi, [esi + 0x34]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x42435b
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402190
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x424371
mov edi, dword [edi]
mov byte [edi], 0
mov byte [ebp - 4], 0
lea edi, [esi + 0x1c]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x42438e
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00402190
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4243a4
mov edi, dword [edi]
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 6
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
mov dword [edi + 4], 0
cmp ecx, dword [edi]
je 0x4243e2
mov esi, dword [ecx]
push ecx
call fcn.0040a4bb
add esp, 4
mov ecx, esi
cmp esi, dword [edi]
jne 0x4243d1
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.0040a4bb
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4255d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x425620
push 0xc8
push eax
mov byte [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425612
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x425636
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0xffffffff
mov ecx, str.namepipe_stop
call fcn.00402020
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ecx + 0x1a0]
test esi, esi
je 0x426372
mov edx, dword [ecx + 0x1a4]
test edx, edx
je 0x426372
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movq qword [ebp - 0x14], xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push edx
push 0x4a
push esi
mov dword [ebp - 0x14], 2
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ecx + 0x1c]
test esi, esi
je 0x4263a8
cmp dword [esi + 0x14], 0xffffffff
jne 0x426386
mov ecx, esi
call fcn.004254a0
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x4263a8
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426700
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
mov esi, ecx
push esi
push 0x429910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x320], eax
test eax, eax
jne 0x42673f
mov ecx, str.CreateUploadThread_failed
call fcn.00402020
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push dword [esi + 0x320]
mov dword [esi + 0x324], eax
mov dword [esi + 0x328], 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x320]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, str.CreateUploadThread_ok
call fcn.00402020
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x426810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
test ebx, ebx
jne 0x426833
test esi, esi
je 0x42691c
push 0x88
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040d1e0
mov ecx, dword [edi + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x14]
test ecx, ecx
movups xmm0, xmmword [ebx]
mov edx, 3
mov dword [esp + 0x10], 3
cmovne eax, edx
neg ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
sbb ecx, ecx
and ecx, 4
lea edi, [ecx + 4]
mov dword [esp + ecx + 0x14], eax
mov eax, dword [ebx + 0x20]
mov ecx, esi
movups xmmword [esp + edi + 0x14], xmm0
movups xmm0, xmmword [ebx + 0x10]
lea edx, [ecx + 1]
movups xmmword [esp + edi + 0x24], xmm0
mov dword [esp + edi + 0x34], eax
add edi, 0x24
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426895
sub ecx, edx
lea eax, [esp + 0x14]
push ecx
add eax, edi
push esi
push eax
call fcn.0040bf00
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4268b4
sub ecx, edx
lea eax, [esp + 0x10]
add edi, ecx
push eax
mov dword [esp + 0x98], edi
call fcn.0042c450
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00402690
mov ecx, esi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4268e3
sub ecx, edx
lea eax, [esp + 0x98]
push ecx
push esi
push 0x24
push edi
push str.receive_file_switch_callback_len_d_tm_len_d_path:_s_path_len:_d
push eax
call fcn.00402000
push ebx
lea ecx, [esp + 0xb4]
call fcn.00402690
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004275f0
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.00412724
int3
Function at 0x426a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push esi
mov esi, ecx
lea eax, [esp + 0x54]
push edi
push dword [esi + 0x74]
push str.console_d
push eax
call fcn.00402000
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov dword [esp + 0x18], 3
lea eax, [esp + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x20], 0x4298e0
mov dword [esp + 0x2c], edi
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x426abb
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push edi
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
lea eax, [esp + 0x7c]
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x1a8], eax
test eax, eax
je 0x426ab3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [esi + 0x1a8]
lea eax, [esp + 0x80]
push str.Create_Virtual_Window_hwnd_d_obj_d_ok
push eax
call fcn.00402000
add esp, 0x10
lea ecx, [esp + 0x78]
call fcn.00402020
mov edx, dword [esi + 0x1a0]
test edx, edx
je 0x426b7b
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x426b7b
mov eax, dword [esi + 0x1a8]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x14], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
push ecx
push 0x4a
movq qword [esp + 0x18], xmm0
push edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], 8
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4275f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x427607
push eax
call sub.libvlc.dll_libvlc_media_player_stop
add esp, 4
cmp dword [esi + 0x314], 0
je 0x42766e
push dword [esi + 0x318]
mov dword [esi + 0x31c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
push dword [esi + 0x314]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x427664
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x314]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 0x314]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x314], 0
cmp dword [esi + 0x320], 0
je 0x4276d5
push dword [esi + 0x324]
mov dword [esi + 0x328], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
push dword [esi + 0x320]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4276cb
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x320]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 0x320]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x320], 0
mov ecx, str.Stop
call fcn.00402020
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ecx + 4]
test esi, esi
je 0x42c0cd
mov edx, dword [ecx + 8]
test edx, edx
je 0x42c0cd
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push edx
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x42c0c4
cmp dword [esi + 0x14], 0xffffffff
jne 0x42c0e1
mov ecx, esi
call fcn.004254a0
mov ecx, dword [esi + 0x14]
xor al, al
cmp ecx, 0xffffffff
je 0x42c0c6
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42c300
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
lea eax, [esp + 4]
mov dword [0x463360], 0
push eax
push 4
push 0x463360
push 0x42c120
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x463390], eax
test eax, eax
jne 0x42c351
mov ecx, str.PipeHelper_CreateUploadThread_Failed
call fcn.00402020
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push dword [0x463390]
mov dword [0x463394], eax
mov dword [0x463398], 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [0x463390]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, str.PipeHelper_CreateUploadThread_ok
call fcn.00402020
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x42ce60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x1e0], 0
je 0x42ced7
push dword [esi + 0x1dc]
mov byte [esi + 0x1e0], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xc8
push dword [esi + 0x1d8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42cec1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x1d8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 0x1d8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1d8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d8], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42cee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push ecx
mov ebx, ecx
call fcn.0042cb40
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x42cf60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x1d8], eax
test eax, eax
je 0x42cf42
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebx + 0x1e0], 1
call esi
mov dword [ebx + 0x2c0], eax
call esi
lea esi, [ebx + 0x2a8]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [ebx + 0x2a4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0x1d8], 0
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret