joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x668968
push esi
push edi
imul edi, eax, 0x168
xor eax, eax
cmp byte [0x668968], al
push 0x4fda68
cmove ecx, eax
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x160], ecx
mov eax, dword [0x66864c]
mov ecx, dword [ebp + 0xc]
mov dword [edi + eax + 0x124], 1
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x128], 0
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x12c], ecx
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x130], ecx
mov eax, dword [0x66864c]
add eax, edi
push eax
call fcn.0041d3a0
mov esi, eax
add esp, 8
test esi, esi
je 0x406db0
push esi
push 0x800
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.004c37de
push esi
call fcn.004c35d5
add esp, 0x14
mov ecx, 0x20
cmp byte [ebp - 0x7ef], 0
jne 0x406da2
movzx ecx, byte [ebp - 0x7f0]
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x134], ecx
jmp 0x406dc0
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x134], 0x20
mov eax, dword [0x66864c]
push str.start
push dword [0x668a6c]
add eax, edi
push eax
call fcn.0041fd50
mov esi, dword [0x66864c]
call fcn.00402fb0
mov dword [esi + edi + 0x124], eax
mov eax, dword [0x66864c]
push dword [edi + eax + 0x124]
call fcn.004049c0
mov eax, dword [0x66864c]
add esp, 0x10
mov esi, dword [ebp + 0x10]
mov dword [edi + eax + 0x150], 0
cmp dword [ebp - 0x7dc], 8
jl 0x406e5e
cmp dword [esi + 0x150], 1
jne 0x406e5e
push 1
call fcn.00404a80
mov eax, dword [0x66864c]
mov dword [edi + eax + 0x150], 1
push dword [ebp - 0x6cc]
call fcn.0041eac0
mov eax, dword [esi + 0x160]
add esp, 8
cmp eax, dword [ebp - 0x7f4]
je 0x406e68
mov dword [ebp - 0x7f4], eax
jmp 0x406e68
push 0
call fcn.00404a80
add esp, 4
cmp dword [esi + 0x30c], 1
jle 0x406e78
mov byte [0x66864b], 1
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x80c]
push eax
mov eax, dword [0x66864c]
add eax, edi
push eax
call fcn.00403010
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
Function at 0x40bc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
and ebx, 0xf
push ebx
call fcn.00406350
push eax
lea eax, [ebp - 0x118]
push 0x4fdf6c
push eax
call fcn.00404ce0
movups xmm0, xmmword [str.1NitnF1Qm2SYZBSB]
mov al, byte [0x4fdf80]
lea ecx, [ebp - 0x118]
add esp, 0x10
mov byte [ebp - 8], al
movups xmmword [ebp - 0x18], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bc63
sub ecx, edx
lea esi, [ebp - 0x118]
lea eax, [ebx + ebx*4]
add esi, ecx
xor edi, edi
shl eax, 2
mov dword [ebp - 0x11c], eax
lea ebx, [eax + 0x52a030]
nop dword [eax + eax]
mov eax, edi
and eax, 0xf
movzx ecx, byte [ebp + eax - 0x18]
movzx eax, byte [ebx]
xor ecx, eax
push ecx
push str._02x
push esi
call fcn.00404ce0
inc edi
lea ebx, [ebx + 1]
add esp, 0xc
add esi, 2
cmp edi, 0x14
jl 0x40bc90
mov eax, dword [ebp - 0x11c]
mov byte [esi], 0x3a
inc esi
xor edi, edi
lea ebx, [eax + 0x52a178]
nop dword [eax]
mov eax, edi
and eax, 0xf
movzx ecx, byte [ebp + eax - 0x18]
movzx eax, byte [ebx]
xor ecx, eax
push ecx
push str._02x
push esi
call fcn.00404ce0
inc edi
lea ebx, [ebx + 1]
add esp, 0xc
add esi, 2
cmp edi, 0x14
jl 0x40bcd0
mov eax, dword [ebp - 0x11c]
mov byte [esi], 0x3a
inc esi
xor edi, edi
lea ebx, [eax + 0x52a2c0]
nop dword [eax]
mov eax, edi
and eax, 0xf
movzx ecx, byte [ebp + eax - 0x18]
movzx eax, byte [ebx]
xor ecx, eax
push ecx
push str._02x
push esi
call fcn.00404ce0
inc edi
lea ebx, [ebx + 1]
add esp, 0xc
add esi, 2
cmp edi, 0x14
jl 0x40bd10
pop edi
pop esi
pop ebx
call fcn.0041f610
test eax, eax
je 0x40bd64
push 0x46c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x40bd64
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
Function at 0x40c330
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea eax, [ebp - 0x1c]
push eax
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x2710
mov word [ebp - 0x1a], ax
push dword [ebp - 0x1c]
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 1
call fcn.004cda85
push eax
push 0x4fe3e0
push 0x4fe3e4
call fcn.004ce5f4
add esp, 0x10
push 0
push 4
push 0
push 1
call fcn.004cda85
add esp, 4
push eax
call fcn.004ce7de
push 0
call fcn.004cda85
push eax
push 0x4fe3e8
push 0x4fe3e4
call fcn.004ce5f4
add esp, 0x20
push 0
push 4
push 0
push 0
call fcn.004cda85
add esp, 4
push eax
call fcn.004ce7de
add esp, 0x10
push 0xfffffffffffffff4
call esi
push 0x4000
push eax
call fcn.004cec4c
push 0x4fe3e0
push eax
call fcn.004ce4e1
push 2
mov esi, eax
call fcn.004cda85
mov ecx, dword [esi]
add esp, 0x14
mov dword [eax], ecx
push 0
push 4
push 0
push 2
call fcn.004cda85
add esp, 4
push eax
call fcn.004ce7de
add esp, 0x10
lea ecx, [ebp - 0x20]
push 2
call fcn.004b4ec6
lea ecx, [ebp - 0x20]
mov byte [0x52de38], 1
call fcn.004b4f1e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push str.Initial_line_of_output_to_this_Debugging_Console_n
call fcn.004059c0
mov ecx, dword [ebp + 0x1c]
add esp, 4
pop esi
cmp ecx, 8
jb 0x40c488
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40c47e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c496
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
int3

Function at 0x40c5b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f35fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52de04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push 0x66
call fcn.0049d13b
lea ecx, [esi + 0xac]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CPrintspoolerAppDlg.0
call fcn.0042b950
mov byte [ebp - 4], 1
call fcn.0049c879
call fcn.0049c879
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0xa8], eax
call fcn.0041f610
test eax, eax
je 0x40c642
push eax
call fcn.004a4995
push 0
push 0
push 0x7f
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xa8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40c840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0049d3a2
Function at 0x40c950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.004a1a3f
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x40ca40
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40ca40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ca40
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ca40
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x40c9d4
cmp esi, ecx
jae 0x40ca40
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x40c9c2
cmp esi, ecx
jae 0x40ca40
cmp word [esi], 0
je 0x40ca40
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40c9fc
push edi
mov ecx, ebx
call fcn.0040d170
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.004cee4a
add esp, 0x10
cmp eax, 0x50
ja case.0x40ca1b.1
movzx eax, byte [eax + 0x40ca70]
jmp dword [eax*4 + 0x40ca60]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x40ca50
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004a1768
push 0x80070057
call fcn.0040c810
call fcn.004a174e
nop
and cl, dl
inc eax
add byte [ebx - 0x36], cl
inc eax
add byte [edx - 0x36], bl
inc eax
add byte [edx - 0x36], bl
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x40ea10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x668a88], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
je 0x40eacf
push 0x4fda68
push 0x668a88
call fcn.0041d3a0
mov esi, eax
add esp, 8
test esi, esi
je 0x40eacf
push esi
push 0x800
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.004c37de
push esi
call fcn.004c35d5
add esp, 0x14
lea eax, [ebp - 0x6c4]
mov ecx, str.preview
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40eaa0
test dl, dl
je 0x40ea9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40eaa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ea80
xor eax, eax
jmp 0x40eaa5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40eacf
mov eax, dword [ebp - 0x7fc]
mov dword [edi], eax
mov eax, dword [ebp - 0x7f8]
pop edi
mov dword [ebx], eax
mov eax, 0x668a88
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f28
mov esp, ebp
pop ebp
ret

Function at 0x4114e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [0x668bb0], 0x88
cmp dword [eax + 0x668bbc], 0
jne 0x4114fc
pop ebp
jmp fcn.00418520
pop ebp
ret
Function at 0x414140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41419b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41419b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41418a
cmp esi, edx
jae 0x41419b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x414178
cmp esi, edx
jae 0x41419b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4155c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4155d7
sub eax, edx
push esi
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
push 0x4ff6e8
push eax
call fcn.00404ce0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x415690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push str.cloudHelp.dll
call fcn.0041c8c0
mov edx, eax
mov dword [ebp - 0x80c], 0
mov ecx, edx
mov dword [ebp - 0x808], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x81c], xmm0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4156e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x81c]
call fcn.004020f0
cmp dword [ebp - 0x808], 0x10
lea eax, [ebp - 0x81c]
cmovae eax, dword [ebp - 0x81c]
push eax
call fcn.00442bc0
add esp, 4
test al, al
je 0x41576b
cmp dword [ebp - 0x808], 0x10
lea eax, [ebp - 0x81c]
cmovae eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41576b
push str.onlineHelp
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x415757
push str.FATAL___Failure_in_cloudHelp.dll._n_nContact_Wasatch_Service.
call fcn.004153c0
add esp, 4
push ebx
call esi
add esp, 4
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x415883
push ebx
lea eax, [ebp - 0x834]
push esi
push eax
call fcn.00414fb0
add esp, 0xc
cmp dword [ebp - 0x824], 0
jne 0x415804
push ebx
push esi
lea eax, [ebp - 0x804]
push 0x4ff7ac
push eax
call fcn.00404ce0
mov cl, byte [ebp - 0x804]
lea eax, [ebp - 0x804]
add esp, 0x10
test cl, cl
je 0x4157c0
nop dword [eax + eax]
cmp cl, 0x2f
jne 0x4157b8
mov byte [eax], 0x5c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4157b0
lea eax, [ebp - 0x804]
push eax
call fcn.0041c120
push str.This_online_help_file_is_not_installed.
push str.NOHELPFILE
mov edi, eax
call fcn.0041b3d0
push 0x4fdbd0
push str.WARNING
mov esi, eax
call fcn.0041b3d0
push edi
push esi
push str._s_n_n_s
push 0x40
push eax
call fcn.0041be10
add esp, 0x28
xor esi, esi
jmp 0x41584d
sub esp, 0x18
lea eax, [ebp - 0x834]
mov ecx, esp
push eax
call fcn.00402330
lea eax, [ebp - 0x84c]
push eax
call fcn.0041cf40
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41582c
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x84c]
call fcn.00402610
mov esi, 1
mov ecx, dword [ebp - 0x820]
cmp ecx, 0x10
jb 0x415883
mov edx, dword [ebp - 0x834]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158cc
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 0x808]
cmp ecx, 0x10
jb 0x4158b9
mov edx, dword [ebp - 0x81c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4158af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158cc
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
int3
Function at 0x4179f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x68d6e8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [eax*4 + 0x68c6e8]
cmp dword [esi + 0x6d0], 1
jne 0x417a3c
cmp dword [esi + 0x30], 0x10
mov ecx, dword [esi + 0xcc0]
jne 0x417a2f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.004174a0
pop edi
add eax, eax
pop esi
pop ebp
ret
push edi
push dword [ebp + 8]
call fcn.00417320
pop edi
pop esi
pop ebp
ret
mov ecx, dword [esi + 0xb00]
push ebx
xor ebx, ebx
nop word [eax + eax]
cmp ecx, dword [esi + 0xb90]
lea eax, [esi + 0xb90]
jl 0x417a8b
push 0
push eax
push 0x80000
push dword [esi + 0x948]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x68d6e8]
mov eax, dword [eax*4 + 0x68c6e8]
mov dword [eax + 0xb00], 0
mov eax, dword [0x68d6e8]
sub edi, ebx
mov esi, dword [eax*4 + 0x68c6e8]
mov eax, dword [esi + 0xb90]
mov ecx, dword [esi + 0xb00]
sub eax, ecx
cmp edi, eax
cmovge edi, eax
test edi, edi
je 0x417ae7
cmp dword [esi + 0x6d0], 0
jne 0x417adf
mov eax, dword [esi + 0x948]
add eax, ecx
push edi
push eax
mov eax, dword [ebp + 8]
add eax, ebx
push eax
call fcn.004b8680
add dword [esi + 0xb00], edi
add esp, 0xc
mov ecx, dword [esi + 0xb00]
add ebx, edi
mov edi, dword [ebp + 0xc]
jmp 0x417a50
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x417af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x68d6ec]
mov eax, dword [eax*4 + 0x68b6e8]
cmp dword [eax + 0xb98], 0
jne 0x417bb0
push esi
mov esi, dword [ebp + 8]
cmp dword [eax + esi*4 + 0xb00], 0
je 0x417baf
push ebx
push edi
push 0
push dword [eax + esi*8 + 0x9dc]
push dword [eax + esi*8 + 0x9d8]
push dword [eax + 4]
call fcn.00417d80
mov eax, dword [0x68d6ec]
mov ebx, 0x800
add esp, 0x10
mov edi, dword [eax*4 + 0x68b6e8]
mov ecx, dword [edi + esi*4 + 0xb00]
mov eax, ecx
cdq
idiv ebx
test edx, edx
je 0x417b63
lea ecx, [eax + 1]
shl ecx, 0xb
push 0
lea eax, [ebp - 4]
push eax
push ecx
push dword [edi + esi*4 + 0x948]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x68d6ec]
mov edi, dword [eax*4 + 0x68b6e8]
mov ecx, dword [edi + esi*4 + 0xb00]
mov eax, ecx
cdq
idiv ebx
test edx, edx
je 0x417b9c
lea ecx, [eax + 1]
shl ecx, 0xb
mov eax, ecx
cdq
add dword [edi + esi*8 + 0x9d8], eax
adc dword [edi + esi*8 + 0x9dc], edx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x68d6ec]
push edi
mov edi, ebx
mov eax, dword [esi*4 + 0x68b6e8]
cmp dword [eax + 0x6d0], 1
jne 0x417c40
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
call fcn.00417230
mov ecx, dword [0x68d6ec]
add esp, 4
mov edi, eax
mov ecx, dword [ecx*4 + 0x68b6e8]
cmp dword [ecx + 0x30], 0x10
jne 0x417c27
mov eax, esi
cdq
sub eax, edx
push esi
sar eax, 1
push eax
push edi
push ebx
call fcn.00446c20
mov esi, dword [0x68d6ec]
mov ebx, eax
add esp, 0x10
add ebx, ebx
jmp 0x417c43
lea eax, [esi + esi]
push eax
push esi
push edi
push ebx
call fcn.00446ec0
mov esi, dword [0x68d6ec]
add esp, 0x10
mov ebx, eax
jmp 0x417c43
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi*4 + 0x68b6e8]
lea ecx, [eax*4 + 0xb00]
mov dword [ebp + 0x10], ecx
lea eax, [eax*4 + 0x948]
mov ecx, dword [ecx + edx]
mov edx, dword [edx + eax]
mov dword [ebp + 0xc], eax
lea eax, [ecx + ebx]
cmp eax, 0x80000
jge 0x417c91
push ebx
lea eax, [ecx + edx]
push edi
push eax
call fcn.004b8680
mov eax, dword [esi*4 + 0x68b6e8]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add dword [ecx + eax], ebx
jmp 0x417d53
mov eax, 0x80000
sub eax, ecx
push eax
lea eax, [ecx + edx]
push edi
push eax
call fcn.004b8680
mov ecx, dword [esi*4 + 0x68b6e8]
add esp, 0xc
inc dword [0x68df1c]
mov eax, dword [ebp + 8]
cmp dword [ecx + 0xb98], 0
jne 0x417d09
push 0
push dword [ecx + eax*8 + 0x9dc]
push dword [ecx + eax*8 + 0x9d8]
push dword [ecx + 4]
call fcn.00417d80
mov eax, dword [0x68d6ec]
lea ecx, [ebp - 8]
add esp, 0x10
mov eax, dword [eax*4 + 0x68b6e8]
push 0
push ecx
mov ecx, dword [ebp + 0xc]
push 0x80000
push dword [eax + ecx]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [0x68d6ec]
mov eax, dword [ebp + 8]
mov edx, dword [esi*4 + 0x68b6e8]
mov esi, dword [ebp + 0x10]
add dword [edx + eax*8 + 0x9d8], 0x80000
adc dword [edx + eax*8 + 0x9dc], 0
add esi, edx
mov ecx, dword [esi]
lea eax, [ecx - 0x80000]
add eax, ebx
push eax
mov eax, edi
sub eax, ecx
add eax, 0x80000
push eax
mov eax, dword [ebp + 0xc]
push dword [edx + eax]
call fcn.004b8680
lea eax, [ebx - 0x80000]
add esp, 0xc
add dword [esi], eax
mov eax, dword [0x68d6ec]
mov eax, dword [eax*4 + 0x68b6e8]
cmp dword [eax + 0x6d0], 1
jne 0x417d71
push edi
call fcn.00417300
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4184a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x4fda68
push eax
call fcn.0041d3a0
mov esi, eax
add esp, 8
test esi, esi
je 0x418506
push esi
push 0x800
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.004c37de
push esi
call fcn.004c35d5
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x804], 0xfd12abdc
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
Function at 0x41d190
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
sub esp, 0x18
mov edx, esp
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d1c7
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.004020f0
lea eax, [ebp - 0x34]
push eax
call fcn.0041cf40
mov esi, eax
add esp, 0x1c
cmp dword [esi + 0x14], 8
jb 0x41d1ef
mov esi, dword [esi]
sub esp, 0x18
mov ecx, ebx
mov edx, esp
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d210
sub ecx, edi
push ecx
push ebx
mov ecx, edx
call fcn.004020f0
lea eax, [ebp - 0x1c]
push eax
call fcn.0041cf40
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41d236
mov eax, dword [eax]
push dword [ebp + 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
mov esi, eax
cmp ecx, 8
jb 0x41d279
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d26f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2d6
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp ecx, 8
jb 0x41d2c3
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d2b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2d6
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.004c342f
int3