joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d22e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005b6be5
and dword [ebp - 4], 0
cmp dword [0x766c9c], 0
mov ebx, eax
jne 0x5d2396
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5d2447
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5d2447
push eax
call fcn.005b6b73
mov dword [esp], 0x70d120
push edi
mov dword [0x766c9c], eax
call esi
push eax
call fcn.005b6b73
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x766ca0], eax
call esi
push eax
call fcn.005b6b73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x766ca4], eax
call esi
push eax
call fcn.005b6b73
pop ecx
mov dword [0x766cac], eax
test eax, eax
je 0x5d2396
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005b6b73
pop ecx
mov dword [0x766ca8], eax
mov eax, dword [0x766ca8]
cmp eax, ebx
je 0x5d23ee
cmp dword [0x766cac], ebx
je 0x5d23ee
push eax
call fcn.005b6bee
push dword [0x766cac]
mov esi, eax
call fcn.005b6bee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5d23ee
test edi, edi
je 0x5d23ee
call esi
test eax, eax
je 0x5d23e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5d23e5
test byte [ebp - 0xc], 1
jne 0x5d23ee
or dword [ebp + 0x10], 0x200000
jmp 0x5d2427
mov eax, dword [0x766ca0]
cmp eax, ebx
je 0x5d2427
push eax
call fcn.005b6bee
pop ecx
test eax, eax
je 0x5d2427
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5d2427
mov eax, dword [0x766ca4]
cmp eax, ebx
je 0x5d2427
push eax
call fcn.005b6bee
pop ecx
test eax, eax
je 0x5d2427
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x766c9c]
call fcn.005b6bee
pop ecx
test eax, eax
je 0x5d2447
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5d2449
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e70f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x40]
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x2c], esi
call fcn.005e5280
add esp, 0x14
test eax, eax
jne 0x5e7256
movzx eax, word [esi + 0x1a]
movzx edx, byte [ebx + 8]
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0xc], ecx
movzx ecx, word [ebx + 0x14]
push edi
movzx edi, word [ebx + 0xe]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x44]
lea esi, [edx + eax]
mov edx, ecx
mov dword [esp + 0x18], eax
xor eax, eax
mov ah, byte [esi + 5]
shr ecx, 2
push ebx
push ebp
mov al, byte [esi + 6]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
lea esi, [eax + edx]
mov edx, dword [esp + 0x18]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005e30a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5e7246
movzx ecx, byte [ebx + 2]
shl ecx, 3
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x18]
lea edi, [ebp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebx + 2]
test al, al
mov byte [ebp + 2], al
je 0x5e71ca
mov word [ebp + 0x12], 0
mov eax, dword [ebp + 0x44]
movzx ecx, byte [eax]
and ecx, 0xfffffff7
push ecx
mov esi, ebx
call fcn.005e3210
movzx eax, byte [ebx + 8]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x44]
push edx
lea edx, [eax + ecx + 8]
push edx
call fcn.005e08e0
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 0x12]
add esp, 0xc
test al, al
je 0x5e723b
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebp + 0x4c]
mov bl, 5
call fcn.005e27e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5e7246
cmp word [ebp + 0x14], ax
jbe 0x5e723b
lea esp, [esp]
mov eax, esi
mov edi, ebp
call fcn.005e29c0
call fcn.005e2b80
test eax, eax
jne 0x5e7254
movzx ecx, word [ebp + 0x14]
inc esi
cmp esi, ecx
jl 0x5e7220
push ebp
call fcn.005e63a0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 0x48]
push edx
call fcn.005f7bb0
add esp, 4
mov eax, esi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x605440
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x60544d
xor eax, eax
pop edi
ret
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x44
push ebp
call fcn.005f1f40
mov esi, eax
add esp, 8
test esi, esi
jne 0x605468
pop esi
pop ebp
pop edi
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
push ebp
call fcn.006048e0
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
push ebp
call fcn.00605320
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebp
call fcn.00605cb0
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebp
call fcn.006048e0
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebp
call fcn.00605cb0
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
push ebp
call fcn.006048e0
mov dword [esi + 0x1c], eax
mov cl, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
push ebp
call fcn.00605440
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
push ebp
call fcn.00605cb0
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
add esp, 0x40
push ecx
push ebp
call fcn.00605cb0
mov dword [esi + 0x2c], eax
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
mov cl, byte [edi + 7]
add esp, 8
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop ebp
pop edi
ret
Function at 0x617120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xc
call fcn.005ace68
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x617170
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]
mov esp, ebp
pop ebp
ret

Function at 0x6171b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6171f7
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call fcn.005ab0f2
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x617510
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x617572
lea ecx, [ebp - 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x617572
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 2
push 0
push 0
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esp, ebp
pop ebp
ret

Function at 0x617fd0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.005aa450
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2890], 0x2880
lea eax, [ebp - 0x2890]
push eax
lea ecx, [ebp - 0x2888]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x2894], eax
cmp dword [ebp - 0x2894], 0
je 0x61801b
mov eax, dword [ebp - 0x2894]
jmp 0x618087
mov dword [ebp - 0x2898], 0
lea edx, [ebp - 0x2888]
mov dword [ebp - 0x288c], edx
push 8
mov eax, dword [ebp - 0x288c]
add eax, 0x194
push eax
mov ecx, dword [ebp - 0x2898]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*8]
push eax
call fcn.005a7f00
add esp, 0xc
mov ecx, dword [ebp - 0x288c]
mov edx, dword [ecx]
mov dword [ebp - 0x288c], edx
mov eax, dword [ebp - 0x2898]
add eax, 1
mov dword [ebp - 0x2898], eax
cmp dword [ebp - 0x288c], 0
jne 0x618031
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2898]
mov dword [ecx], edx
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret
Function at 0x618db0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.005a7100
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x3ff
lea ecx, [ebp - 0x408]
push ecx
call fcn.005b342b
add esp, 0x10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret

Function at 0x619aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc140
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1018
call fcn.005aa450
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x619ba2
mov byte [ebp - 0x1020], 0
push 0xfff
push 0
lea ecx, [ebp - 0x101f]
push ecx
call fcn.005a7100
add esp, 0xc
lea edx, [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0xfff
lea edx, [ebp - 0x1020]
push edx
call fcn.005b342b
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1028], 0
push 0
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1020]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1024], eax
cmp dword [ebp - 0x1024], 0
jne 0x619b8c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x619b9b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret

Function at 0x61db20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc40b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x8f6ee4], 0
jne 0x61dbb1
push 0x20
call fcn.005a7c1e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x61db75
mov ecx, dword [ebp - 0x14]
call fcn.0061dbd0
mov dword [ebp - 0x18], eax
jmp 0x61db7c
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword [0x8f6ee4], ecx
push 0
push 0
mov edx, dword [0x8f6ee4]
push edx
push 0x618e30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x8f6ee8], eax
mov eax, dword [0x8f6ee4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x61f130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc520
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x8c], 1
mov ecx, dword [ebp - 0x14]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
push 0x61f5e0
push 0
push 0
call fcn.005aa391
add esp, 0x18
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
add edx, 0xc
push edx
call fcn.005a7ce0
add esp, 4
test eax, eax
jbe 0x61f1d1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0061f240
jmp 0x61f1ca
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x61f1f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x61f204
mov al, 1
jmp 0x61f239
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]
test eax, eax
je 0x61f237
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x61f9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0068f6b2
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x61f9c4
or eax, 0xffffffff
jmp 0x61f9c7
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x633e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005ab543
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x633e4e
call fcn.005b50f1
mov eax, dword [eax]
jmp 0x633ef9
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ab44b
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x633e6f
call fcn.005b50f1
mov eax, dword [eax]
jmp 0x633ef9
mov edx, dword [ebp - 0x10]
push edx
call fcn.005a4688
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ab543
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b218b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
je 0x633ecc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005a7656
add esp, 4
or eax, 0xffffffff
jmp 0x633ef9
movzx edx, byte [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00635610
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005a7656
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x64cbf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x64cc09
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], 0
je 0x64cc0e
or eax, 0xffffffff
jmp 0x64cc81
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2c]
call fcn.00655df0
test eax, eax
je 0x64cc22
or eax, 0xffffffff
jmp 0x64cc81
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x64cd30
push 0
push 0
call fcn.005aa391
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x48], 0
je 0x64cc74
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
jmp 0x64cc81
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], 0
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x64cc90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x48], 0
je 0x64cd09
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f40
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x64ccf2
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x2c], 0
je 0x64cd27
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
call fcn.00655e70
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x655df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x655e09
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x655e0e
or eax, 0xffffffff
jmp 0x655e60
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 1
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x655f40
push 0
push 0
call fcn.005aa391
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x30], 0
je 0x655e53
push 0xfffffffffffffffe
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
jmp 0x655e60
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 0
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x655e70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x655f37
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x30], 0
je 0x655f37
mov edx, dword [ebp - 8]
mov dword [edx + 0x4c], 0
mov ecx, dword [ebp - 8]
call fcn.006561a0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
jne 0x655edf
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x24], 0
je 0x655edf
mov edx, dword [ebp - 8]
cmp dword [edx + 0x28], 0
je 0x655edf
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2c], 1
mov ecx, dword [ebp - 8]
call fcn.006561c0
push 0x1f40
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x655f20
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x65ab20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0xc], 0
push 0x7167d8
mov ecx, dword [ebp + 8]
call fcn.00405490
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x65ab68
or eax, 0xffffffff
jmp 0x65abea
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call fcn.005a7100
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.0068fcc9
add esp, 4
test eax, eax
jne 0x65abdc
mov eax, dword [ebp - 0xc]
push eax
push 0x3ff
push 1
lea ecx, [ebp - 0x410]
push ecx
call fcn.005b218b
add esp, 0x10
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x410], 0
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406240
jmp 0x65ab93
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005ab232
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 8
Function at 0x665e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df3d4
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00666340
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x665e97
mov ecx, dword [ebp - 0x6c]
call fcn.00664840
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668e90
or eax, 0xffffffff
jmp 0x666013
lea ecx, [ebp - 0x28]
call fcn.00668bc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x665eb8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668cf0
cmp dword [ebp - 0x2c], eax
jae 0x665f29
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668d30
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xc4
call fcn.00405490
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x665f27
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.00668da0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x38
mov edx, dword [ebp - 0x6c]
mov dword [edx + ecx + 0xe8], 0
mov dword [edx + ecx + 0xec], 0
jmp 0x665eaf
mov dword [ebp - 0x34], 0
jmp 0x665f3b
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x28]
call fcn.00668cf0
cmp dword [ebp - 0x34], eax
jae 0x665fe4
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00668d30
push eax
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668cc0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668c90
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00669d90
add esp, 0x18
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668cc0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00668f80
movzx edx, al
test edx, edx
je 0x665fdf
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x25c
call fcn.00668e20
jmp 0x665f32
push 0
mov edx, dword [ebp - 0x6c]
add edx, 0x25c
push edx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.00666030
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00668c30
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret