joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4189e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457626
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4754f4]
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 esi, [ebp - 0x238]
call fcn.004153e0
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 4], edi
push ecx
mov word [ebp - 0x218], ax
call fcn.0042c300
mov eax, dword [ebp - 0x234]
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x418a55
lea eax, [ebp - 0x234]
push eax
push 0x46dd14
lea edx, [ebp - 0x218]
call fcn.004149a0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [ebp - 0x218]
push edx
call ebx
test eax, eax
je 0x418ac9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], esi
jb 0x418a9a
mov eax, dword [ebp - 0x234]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x238]
xor ecx, ecx
push edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
call fcn.00409010
mov eax, 1
jmp 0x418bfe
lea esi, [ebp - 0x258]
call fcn.00415450
mov esi, eax
lea edi, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.00408120
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x240], esi
jb 0x418b05
mov eax, dword [ebp - 0x254]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x258]
xor ecx, ecx
xor edi, edi
push edx
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], edi
mov word [ebp - 0x254], cx
call fcn.00409010
push 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042c300
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], esi
jae 0x418b55
lea eax, [ebp - 0x234]
push eax
push 0x46dd14
lea edx, [ebp - 0x218]
call fcn.004149a0
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call ebx
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x418bc0
cmp dword [ebp - 0x220], esi
jb 0x418b94
mov edx, dword [ebp - 0x234]
push edx
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x238]
xor eax, eax
push ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
call fcn.00409010
mov eax, 1
jmp 0x418bfe
cmp dword [ebp - 0x220], esi
jb 0x418bd7
mov edx, dword [ebp - 0x234]
push edx
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x238]
xor eax, eax
push ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
call fcn.00409010
xor eax, eax
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.00420d00
mov esp, ebp
pop ebp
ret
Function at 0x41ac10
Capabilities:
Create thread

Disassembly:
push edi
mov edi, eax
test esi, esi
jne 0x41ac2e
push 0x3a1
push str.C:Program_FilesMicrosoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.0044ef30
add esp, 0xc
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ac33
sub eax, edx
sar eax, 1
push eax
lea ecx, [edi + 0x7d4f8]
mov eax, esi
call fcn.004098d0
push 0
push 0
add edi, 0x7d470
push edi
push 0x405320
push 0
push 0
call fcn.004251d0
add esp, 0x18
pop edi
test eax, eax
je 0x41ac78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x41ad00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457d6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4754f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
lea eax, [esi + 0x64]
push eax
push 0x419d90
mov dword [eax], 1
mov ecx, dword [esi + 0xbbf44]
push 0
push 0
mov dword [eax + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41ad57
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x477e04]
mov dword [esi + 0x3ea58], esi
test eax, eax
jne 0x41ad91
push 0x84
call fcn.00426610
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41ad8a
mov esi, eax
call fcn.00417180
jmp 0x41ad8c
xor eax, eax
mov dword [0x477e04], eax
mov dword [eax + 0x24], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41adb0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457ff6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x50], 8
lea esi, [edi + 0x3c]
jb 0x41adeb
mov eax, dword [esi]
jmp 0x41aded
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x41aeb4
cmp dword [ebp + 8], 0
je 0x41ae16
call fcn.00416b90
test eax, eax
je 0x41ae16
push eax
call fcn.00416900
add esp, 4
cmp dword [edi + 0x50], 8
jb 0x41ae20
mov eax, dword [esi]
jmp 0x41ae22
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x41ae36
push str._::PathFileExistsW
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41ae52
cmp dword [edi + 0x50], 8
jb 0x41ae3e
mov esi, dword [esi]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [0x477e04]
xor edi, edi
cmp esi, edi
jne 0x41ae92
push 0x84
call fcn.00426610
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
cmp eax, edi
je 0x41ae80
mov esi, eax
call fcn.00417180
jmp 0x41ae82
xor eax, eax
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [0x477e04], esi
mov dword [esi + 0x1c], edi
call fcn.004175a0
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x477e04]
mov ebx, 0xe
mov dword [edi + 0xbbf38], ebx
test eax, eax
jne 0x41aef5
push 0x84
call fcn.00426610
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 2
test eax, eax
je 0x41aeee
mov esi, eax
call fcn.00417180
jmp 0x41aef0
xor eax, eax
mov dword [0x477e04], eax
mov dword [eax + 0x20], ebx
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41af10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458dfb
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 0
mov dword [esi + 0xbbf38], eax
mov ecx, dword [edi]
push 0
lea eax, [esi + 0x5c]
push eax
push 0x419d90
mov dword [eax], ecx
mov ecx, dword [esi + 0xbbf3c]
push 0
push 0
mov dword [eax + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41af71
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi - 8]
mov dword [esi + 0x3ea50], edx
mov eax, dword [edi]
mov ecx, 1
mov ebx, str.sorttype
mov dword [ebp + 8], eax
call fcn.00415150
xor ecx, ecx
cmp dword [ebp + 8], eax
mov eax, dword [0x477e04]
setne cl
mov dword [esi + 0x3ea54], ecx
test eax, eax
jne 0x41b005
push 0x84
call fcn.00426610
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41afe5
mov esi, eax
call fcn.00417180
mov edx, dword [edi]
mov dword [0x477e04], eax
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi]
xor eax, eax
mov dword [0x477e04], eax
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b3d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457f73
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x38], esi
add esi, 4
mov dword [ebp - 0x3c], eax
lea edi, [esi + 4]
cmp ebx, 0x10
jb 0x41b418
mov ecx, dword [edi]
jmp 0x41b41a
mov ecx, edi
mov edx, str.failed
nop
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41b440
test al, al
je 0x41b43c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41b440
add ecx, 2
add edx, 2
test al, al
jne 0x41b420
xor eax, eax
jmp 0x41b445
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b4f6
push esi
lea esi, [ebp - 0x34]
call fcn.00414b50
add esp, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x477e04]
cmp eax, ebx
jne 0x41b493
push 0x84
call fcn.00426610
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41b488
mov esi, eax
call fcn.00417180
jmp 0x41b48a
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x477e04], eax
push ebx
lea ecx, [ebp - 0x34]
push ecx
lea edi, [eax + 0x2c]
or ecx, 0xffffffff
call fcn.004081a0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x40]
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 8
jb 0x41b4d8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00425770
add esp, 4
lea eax, [ebp - 0x34]
xor edx, edx
push eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.00409010
jmp 0x41b577
cmp ebx, 0x10
jb 0x41b4ff
mov ecx, dword [edi]
jmp 0x41b501
mov ecx, edi
mov edx, 0x466bec
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41b526
test al, al
je 0x41b522
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41b526
add ecx, 2
add edx, 2
test al, al
jne 0x41b506
xor eax, eax
jmp 0x41b52b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b577
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x41b53b
lea eax, [esi + 4]
jmp 0x41b53d
xor eax, eax
lea ecx, [esi + 0x3eaa0]
mov dword [esi + 0x7d46c], eax
mov eax, dword [ebp - 0x38]
push ecx
call fcn.0041b260
push 0
push 0
add esi, 0x3ea5c
push esi
push 0x41dbb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41b577
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret 4

Function at 0x41b750
Capabilities:
Create thread

Disassembly:
push 0
push 0
add ecx, 0x3ea54
push ecx
push 0x41dbb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41b775
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x41b9f0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455afb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x50], 8
lea esi, [edi + 0x3c]
jb 0x41ba24
mov eax, dword [esi]
jmp 0x41ba26
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ba3e
push str._::PathFileExistsW
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41ba5a
cmp dword [edi + 0x50], 8
jb 0x41ba46
mov esi, dword [esi]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [0x477e04]
test esi, esi
jne 0x41ba95
push 0x84
call fcn.00426610
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x41ba84
mov esi, eax
call fcn.00417180
jmp 0x41ba86
xor eax, eax
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x477e04], esi
call fcn.004175a0
mov eax, dword [edi + 0x34]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c360
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push 1
push 0xbe
push 0x168
push 0
push 0
mov esi, eax
push edi
mov dword [esi + 0x18], edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x18]
push 0x80
push 0xbe
push 0x168
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x18]
call fcn.00415c70
mov ecx, dword [esi + 0x18]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edx, dword [0x477e0c]
push eax
push 1
push 0x6c
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0xc
mov dword [esi + 0xc], eax
call ebx
push eax
push 0xb
call ebx
push eax
mov eax, dword [0x477e0c]
push 1
push 0x6b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [esi + 0x18]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x1c]
cmp eax, 4
jne 0x41c415
call fcn.0041c450
pop esi
pop ebx
ret
cmp eax, 1
jne 0x41c440
mov ecx, eax
mov ebx, str.sorttype
call fcn.00415150
mov dword [esi + 0x20], eax
add eax, 0x3e7
push eax
push 0x3ea
push 0x3e8
push edi
call dword [sym.imp.USER32.dll_CheckRadioButton]
pop esi
pop ebx
ret
Function at 0x41c9f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4575a2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [edi + 4]
mov dword [edi], ebx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x218], esi
mov dword [esi], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.00426610
add esp, 4
cmp eax, ebx
je 0x41cbde
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
lea esi, [edi + 0x24]
mov dword [ebp - 4], 1
mov dword [ebp - 0x218], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 2
call fcn.00426610
add esp, 4
cmp eax, ebx
je 0x41cbab
mov dword [esi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx], esi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
lea ecx, [edi + 0x44]
push ecx
mov byte [ebp - 4], 3
call fcn.00418c90
push 0x1fe
lea eax, [ebp - 0x20e]
mov byte [ebp - 4], 4
xor edx, edx
push ebx
push eax
mov dword [edi + 0x3ea10], ebx
mov word [ebp - 0x210], dx
call fcn.0042c300
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push ebx
push 0x23
lea ecx, [ebp - 0x210]
push ecx
push ebx
call esi
push str.FunshionMediaLibrary
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41cb10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea ecx, [edi + 4]
call fcn.004098d0
push 0x100
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0042c300
add esp, 0xc
push ebx
push 5
lea ecx, [ebp - 0x210]
push ecx
push ebx
call esi
push 0x46dbb8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
jmp 0x41cb70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41cb70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
lea ecx, [edi + 0x24]
call fcn.004098d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
call fcn.004211a0
push 0x46ffcc
lea ecx, [ebp - 0x224]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00432fc0
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], ebx
call fcn.004211a0
push 0x46ffcc
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00432fc0
int3

Function at 0x41cce0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x41dbd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x41ccff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x41d680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456790
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x34], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.00426610
add esp, 4
cmp eax, ebx
je 0x41d819
mov dword [ebp - 0x34], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov dword [edx], ecx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 1
cmp dword [esi + 0x18], 8
jb 0x41d700
mov esi, dword [esi + 4]
jmp 0x41d703
add esi, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x5c]
push 5
mov dword [ebp - 0x60], eax
push 0x46e278
xor eax, eax
call fcn.00408450
mov ecx, edi
cmp eax, 0xffffffff
je 0x41d761
push 1
lea eax, [ebp - 0x54]
push eax
call fcn.0041d9e0
mov esi, eax
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00408600
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], edi
jb 0x41d793
mov ecx, dword [ebp - 0x50]
push ecx
jmp 0x41d78b
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.0041d9e0
mov esi, eax
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00408600
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], edi
jb 0x41d793
mov eax, dword [ebp - 0x50]
push eax
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
call fcn.004089e0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x41d7b3
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x60]
push ebx
lea ecx, [ebp - 0x64]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x41d7e6
mov eax, dword [ebp - 0x30]
push eax
call fcn.00425770
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.004089e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], ebx
call fcn.004211a0
push 0x46ffcc
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], vtable.std::bad_alloc.0
call fcn.00432fc0
int3
Function at 0x41d840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d4
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7ce
mov edi, ecx
push eax
lea ecx, [ebp - 0x7d2]
push ecx
mov esi, edx
mov word [ebp - 0x7d4], ax
call fcn.0042c300
add esp, 0xc
push 6
push str.Single
xor eax, eax
mov ecx, esi
call fcn.00408450
cmp eax, 0xffffffff
je 0x41d8c0
cmp dword [edi + 0x3c], 8
jb 0x41d897
mov edi, dword [edi + 0x28]
jmp 0x41d89a
add edi, 0x28
push edi
lea edx, [ebp - 0x7d4]
push 0x46d9c4
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret
mov eax, 8
cmp dword [esi + 0x18], eax
jb 0x41d8cf
mov esi, dword [esi + 4]
jmp 0x41d8d2
add esi, 4
cmp dword [edi + 0x3c], eax
jb 0x41d8dc
mov edi, dword [edi + 0x28]
jmp 0x41d8df
add edi, 0x28
push esi
push edi
lea eax, [ebp - 0x7d4]
push 0x466d00
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x7d4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d91c
lea edx, [ebp - 0x7d4]
call fcn.0041dbf0
test eax, eax
je 0x41d91c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x7d4]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00420d00
mov esp, ebp
pop ebp
ret

Function at 0x41dbf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 4], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov ecx, 0x14
push eax
mov word [ebp - 0x10], cx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x41e110
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45590e
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [edi], vtable.FsLibraryTip.0
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x14], 2
mov dword [ebp - 0x220], edi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
mov dword [edi + 4], esi
mov dword [edi + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x21c], cx
call fcn.0042c300
add esp, 0xc
push esi
push 0x10
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
lea esi, [ebp - 0x21c]
lea eax, [edi + 0x18]
call fcn.00401030
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret 4