joyce8/EMBER2024-capa huggingface dataset:
Function at 0x687800
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72a836
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00428690
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 4]
call fcn.00428690
lea eax, [esi + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 8]
call fcn.00428690
lea eax, [esi + 0xc]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0xc]
call fcn.00428690
lea eax, [esi + 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x10]
call fcn.00428690
lea eax, [esi + 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x14]
call fcn.00428690
lea eax, [esi + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x18]
call fcn.00428690
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x1c]
call fcn.00428690
lea eax, [esi + 0x20]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x20]
call fcn.00428690
lea eax, [esi + 0x24]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0x24]
call fcn.00428690
lea eax, [esi + 0x28]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x28]
call fcn.00428690
lea eax, [esi + 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x2c]
call fcn.00428690
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x688380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72aac3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x9c]
mov dword [ebp - 0x24], vtable.CAutoLock.0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x20], esi
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
jge 0x6883d7
xor edi, edi
jmp 0x68850d
lea ecx, [ebp - 0x10]
call fcn.00429050
push 0x790eb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00428840
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00683ba0
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 4]
call fcn.00688ec0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00687b20
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00683d10
lea eax, [ebp - 0x18]
push eax
call fcn.005b68c0
add esp, 4
push str.GOMAudiocache_
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
call fcn.00428bd0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00428b20
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004289a0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00428810
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00428810
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00428810
lea ecx, [ebp - 0x10]
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
je 0x6884cc
push 2
lea ecx, [ebp - 0x10]
call fcn.00429100
push eax
call fcn.006b973c
add esp, 8
cmp eax, 0xffffffff
je 0x6884cc
lea ecx, [ebp - 0x10]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push ecx
mov ecx, esp
push str.CDownArryMain::DelDownFile___
call fcn.00428840
call fcn.0057eae0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov edi, 1
call fcn.00683d10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.00428810
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x68add0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72b106
mov eax, dword fs:[0]
push eax
mov eax, 0x19018
call fcn.006b59e0
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19024], ecx
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x786b50
mov ecx, ebx
mov dword [ebp - 0x1901c], esi
call fcn.00429100
push eax
call fcn.006b57a3
mov edi, eax
add esp, 8
test edi, edi
jne 0x68ae4a
push dword [ebx]
push ecx
mov ecx, esp
push 0x7606f8
call fcn.00428840
call fcn.0057eae0
add esp, 8
jmp 0x68afc3
lea ecx, [ebp - 0x19014]
call fcn.00429050
lea eax, [ebx + 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x19020]
push eax
call fcn.005b5ff0
add esp, 8
push eax
lea ecx, [ebp - 0x19014]
mov byte [ebp - 4], 1
call fcn.004289a0
lea ecx, [ebp - 0x19020]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x19014]
call fcn.00429100
push eax
call fcn.005b6cf0
add esp, 4
test eax, eax
jne 0x68aef3
push ecx
lea eax, [ebp - 0x19014]
mov ecx, esp
push eax
call fcn.00428690
call fcn.005b1510
add esp, 4
test eax, eax
jne 0x68aef3
push dword [ebp - 0x19014]
push ecx
mov ecx, esp
push 0x760740
call fcn.00428840
call fcn.0057eae0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19014]
call fcn.00428810
jmp 0x68afad
lea ecx, [ebp - 0x19014]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
push 0x78a158
lea ecx, [ebx + 4]
call fcn.00429100
push eax
call fcn.006b57a3
mov esi, eax
add esp, 8
test esi, esi
jne 0x68af38
push dword [ebx + 4]
push ecx
mov ecx, esp
push 0x760790
call fcn.00428840
call fcn.0057eae0
jmp 0x68afaa
push 0
push dword [ebx + 8]
push edi
call fcn.006b724c
push edi
push 0x19000
lea eax, [ebp - 0x19010]
push 1
push eax
call fcn.006b6232
add esp, 0x1c
test eax, eax
jle 0x68af8b
mov edi, edi
push esi
push eax
lea eax, [ebp - 0x19010]
push 1
push eax
call fcn.006b5539
push edi
push 0x19000
lea eax, [ebp - 0x19010]
push 1
push eax
call fcn.006b6232
add esp, 0x20
test eax, eax
jg 0x68af60
push dword [ebx + 4]
push ecx
mov ecx, esp
push str.CAsyncFileCopy::_DoFile___
call fcn.00428840
call fcn.0057eae0
mov dword [ebp - 0x1901c], 1
add esp, 8
push edi
call fcn.006b5369
add esp, 4
test esi, esi
je 0x68afc3
push esi
call fcn.006b5369
add esp, 4
cmp dword [ebx + 0xc], 0
je 0x68afd7
mov ecx, ebx
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x19024]
mov esi, dword [ebp - 0x1901c]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x68aff1
push ebx
push esi
push dword [edi + 4]
call ecx
push 0
push 0
push 0x464
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [ecx + 0x1d8], eax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00441fd0
Function at 0x690ba0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x824]
push 0x410
push eax
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x824]
push 0x5c
push eax
call fcn.006b7843
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
lea eax, [ebp - 0x824]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x690c20
mov ecx, dword [str.MACSSDK.dll]
mov dword [eax], ecx
mov ecx, dword [0x761b64]
mov dword [eax + 4], ecx
mov ecx, dword [0x761b68]
mov dword [eax + 8], ecx
mov ecx, dword [0x761b6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x761b70]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x761b74]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x690cd5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.__MA_IsDrmFile
push eax
call esi
push str.__MA_OpenFile
push dword [edi + 0x1c]
mov dword [edi], eax
call esi
push str.__MA_ReadFile
push dword [edi + 0x1c]
mov dword [edi + 4], eax
call esi
push str.__MA_SetFilePointer
push dword [edi + 0x1c]
mov dword [edi + 8], eax
call esi
push str.__MA_CloseFile
push dword [edi + 0x1c]
mov dword [edi + 0xc], eax
call esi
push str.__MA_IsLicExist
push dword [edi + 0x1c]
mov dword [edi + 0x10], eax
call esi
push str.__MA_GetFileSize
push dword [edi + 0x1c]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x691600
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72be91
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x444]
call fcn.00429050
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 0
call fcn.00429050
push 0x200
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.006b47d0
lea eax, [ebp - 0x44c]
push eax
call fcn.005b68c0
push dword [eax]
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push str._sGOMAudioimage
push eax
call fcn.0042a0e0
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44c]
call fcn.00428810
lea ecx, [ebp - 0x444]
call fcn.00429100
lea edx, [ebp - 0x210]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x6916b0
lea ecx, [ebp - 0x210]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x6916d0
mov eax, dword [str..tmp]
mov dword [ecx], eax
mov eax, dword [0x74fb4c]
mov dword [ecx + 4], eax
mov eax, dword [0x74fb50]
mov dword [ecx + 8], eax
mov ax, word [0x74fb54]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.006bc83b
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
je 0x6917ce
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x444]
lea eax, [ebp - 0x448]
push 0x7862fc
push eax
call fcn.0042a0e0
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.00429100
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
lea eax, [ebp - 0x440]
push eax
push esi
call fcn.006bc962
add esp, 8
test eax, eax
jne 0x6917b3
jmp 0x691770
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x444]
lea eax, [ebp - 0x448]
push 0x7862fc
push eax
call fcn.0042a0e0
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.00429100
push eax
call edi
lea eax, [ebp - 0x440]
push eax
push esi
call fcn.006bc962
add esp, 8
test eax, eax
je 0x691770
push esi
call fcn.006ba5f6
add esp, 4
lea ecx, [ebp - 0x444]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [0x801070]
test esi, esi
je 0x6917f2
mov ecx, esi
call fcn.00690f70
push esi
call fcn.00428680
add esp, 4
mov dword [0x801070], 0
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x695070
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70b1e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0
push edi
push eax
call fcn.00694bb0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, 1
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
je 0x695115
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp - 0x10]
call fcn.00429100
push eax
call ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00694bb0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
inc esi
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
jne 0x6950d0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
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 0x695140
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72c58c
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x264]
call fcn.00429050
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.00429050
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
push eax
call fcn.005b68c0
push dword [eax]
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push str._sGOMAudioimage.
push eax
call fcn.0042a0e0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00428810
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x69524f
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x268]
push eax
call fcn.005b68c0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
push ecx
push dword [eax]
lea eax, [ebp - 0x26c]
push str._sGOMAudioimage_s
push eax
call fcn.0042a0e0
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00428810
lea ecx, [ebp - 0x26c]
call fcn.00429100
push eax
call edi
lea eax, [ebp - 0x260]
push eax
push esi
call ebx
test eax, eax
jne 0x6951f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x69e830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2468
call fcn.006b59e0
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x1206
push eax
mov word [ebp - 0x1414], ax
xor edi, edi
lea eax, [ebp - 0x1412]
push eax
call fcn.006b47d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.006b47d0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x2414], ax
lea eax, [ebp - 0x2412]
push eax
call fcn.006b47d0
mov eax, dword [ebx + 0x34]
add esp, 0x24
test eax, eax
je 0x69e8c6
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.006b8928
add esp, 0x10
jmp 0x69e8da
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0069ecc0
add esp, 8
push 0x800
lea eax, [ebp - 0x2414]
push eax
push ebx
call fcn.0069ed30
lea eax, [ebp - 0x2414]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.__s____s_
lea eax, [ebp - 0x1414]
push 0x904
push eax
call fcn.006b6718
push 0x40
lea eax, [ebp - 0x2464]
push 0
push eax
call fcn.006b47d0
add esp, 0x2c
mov dword [ebp - 0x2468], 0x44
lea eax, [ebp - 0x2424]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x2424], xmm0
push eax
lea eax, [ebp - 0x2468]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x69e9ad
cmp dword [ebp + 0x10], edi
je 0x69e9a0
push dword [ebp + 0x14]
push dword [ebp - 0x2424]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x69e988
mov dword [esi], 0x378
jmp 0x69e9b3
push esi
push dword [ebp - 0x2424]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x69e9b3
mov edi, 1
jmp 0x69e9b3
mov edi, 1
mov dword [esi], 0
jmp 0x69e9b3
mov dword [esi], 0x3e7
push dword [ebp - 0x2424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2420]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret

Function at 0x6a2620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x786b50
push dword [ebp + 8]
call fcn.006b57a3
mov esi, eax
add esp, 8
test esi, esi
je 0x6a26b4
push esi
push 4
lea eax, [ebp - 8]
push 1
push eax
call fcn.006b6232
push esi
push 2
lea eax, [ebp - 4]
push 1
push eax
call fcn.006b6232
push esi
call fcn.006b5369
mov eax, dword [ebp - 8]
add esp, 0x24
cmp eax, 0x4034b50
jne 0x6a2676
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x15a4c41
jne 0x6a2687
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x21726152
jne 0x6a2698
mov eax, 3
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xafbc7a37
jne 0x6a26b4
mov eax, 0x1c27
cmp word [ebp - 4], ax
jne 0x6a26b4
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6a3260
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x6a331b
movdqa xmm0, xmmword [0x763ac0]
push 0x1f4
push dword [0x801a50]
movdqu xmmword [ebp - 0x14], xmm0
mov dword [0x7e616c], 0
mov dword [0x7e6190], 0x763aa0
mov dword [0x7e6188], 0
call dword [sym.imp.USER32.dll_LoadIconW]
push dword [ebp - 0x18]
mov dword [0x7e6180], eax
lea eax, [esi + 0x20]
push eax
push 0x7e6168
push 0x809550
push 0x801a4c
call fcn.00457080
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0x80
push SysReAllocStringLen
push 0x763aa0
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.00456ee0
test eax, eax
jne 0x6a3315
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
Function at 0x6a9d70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.006b47d0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.006ba5db
add esp, 0x1c
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret

Function at 0x6ab4d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707a98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x6ab5f7
cmp word [edx], 0
je 0x6ab5f7
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6ab516
sub ecx, edi
lea edi, [esi + 0x3c]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00424cc0
push edi
call fcn.006a95c0
add esp, 4
cmp dword [esi + 0x4c], 1
jne 0x6ab5f0
cmp dword [edi + 0x14], 8
jb 0x6ab54e
mov eax, dword [edi]
jmp 0x6ab550
mov eax, edi
movzx eax, word [eax]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x6ab5f0
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00424900
push 0x78afa4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00426520
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x6ab5ae
jmp dword [eax*4 + 0x6ab614]
lea ecx, [ebp - 0x28]
mov dword [esi + 0x30], 1
call fcn.004246d0
jmp 0x6ab5f7
lea ecx, [ebp - 0x28]
mov dword [esi + 0x30], 4
call fcn.004246d0
jmp 0x6ab5f7
lea ecx, [ebp - 0x28]
mov dword [esi + 0x30], 5
call fcn.004246d0
jmp 0x6ab5f7
lea ecx, [ebp - 0x28]
call fcn.004246d0
mov dword [esi + 0x30], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 4
Function at 0x6acf10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72ebf9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ecx
push 0xffffffffffffffff
push 0
mov dword [edx + 0x14], 0xf
mov ecx, edx
mov dword [edx + 0x10], 0
push eax
mov dword [ebp - 4], 1
mov byte [edx], 0
call fcn.00424710
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push esi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00424710
mov esi, dword [ebp - 0x10]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.00424710
push 0xffffffffffffffff
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push ebx
mov byte [ecx], 0
call fcn.00424710
push 0xffffffffffffffff
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp - 0x20]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00424710
push 0xffffffffffffffff
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 6
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp - 0x14]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00424710
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x18]
mov byte [ecx], 0
call fcn.00424710
push 0xffffffffffffffff
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp - 0x1c]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00424710
push 0xffffffffffffffff
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 9
lea eax, [ebp + 0x2c]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00424710
mov al, byte [ebp + 0x28]
lea ecx, [esi + 0xdc]
mov byte [esi + 0xd8], al
lea eax, [ebp + 0x44]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ebp - 4], 0xa
mov byte [ecx], 0
call fcn.00424710
cmp dword [ebp + 0x40], 0x10
jb 0x6ad0f4
push dword [ebp + 0x2c]
call fcn.00428680
add esp, 4
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x40], 0xf
mov dword [ebp + 0x3c], 0
mov byte [ebp + 0x2c], 0
jb 0x6ad117
push dword [ebp + 0x44]
call fcn.00428680
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x54
Function at 0x6c2651
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret