joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4501d0
Capabilities:
Check mutex on windows
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
push str.332F12E1_624E_425C_A205_8B0D93D58F18
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45022c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.0046f9b0
mov ecx, eax
call fcn.0046fa30
call fcn.0045b8a0
push 0x20a
mov edi, eax
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00619cc0
add esp, 0xc
lea eax, [esp + 0x70]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x6b6d8c
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450294
sub eax, edx
lea ecx, [edi + 8]
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044e410
push ecx
push str.MainUI
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x6b6070
mov dword [esp + 0x6c], vtable.nbase::SupportWeakCallback.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.00506e90
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CMarchApp.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.CMarchApp.1.0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x28], 1
mov byte [esp + 0x24], 1
mov dword [esp + 0x38], 0
call dword [eax + 4]
lea ecx, [esp + 0x10]
call fcn.00450160
call fcn.0045b8a0
mov ebx, eax
mov ecx, ebx
call fcn.0045c510
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45035d
push eax
call edi
mov dword [ebx + 4], 0
call fcn.0046f9b0
test esi, esi
je 0x450369
push esi
call edi
mov ecx, dword [esp + 0x284]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x6e1c7c]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
push edi
push 0x6efa04
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4504a7
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x6efa08
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 8], 0
je 0x4504d9
push 0
push 0x6efa08
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov esi, eax
test esi, esi
je 0x4504d9
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x6efa1c]
cmp ecx, dword [edx + 4]
jle 0x450537
jmp 0x4504f1
mov ecx, dword [esp + 0x1a4]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
push 0x6efa1c
call fcn.00602894
add esp, 4
cmp dword [0x6efa1c], 0xffffffff
jne 0x450537
push 0x6532d0
mov dword [0x6ef9fc], 0x6ef9f8
mov dword [0x6ef9f8], 0x6af23c
call fcn.006026d1
add esp, 4
push 0x6efa1c
call fcn.0060284a
add esp, 4
jmp 0x450537
mov edx, str.winsock
mov dword [esp + 8], esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0x6ef9f8
call fcn.0044fae0
int3

Function at 0x450dd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644408
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x48]
mov dword [ebp - 0x10], edi
call fcn.00507910
test edi, edi
js 0x450e83
call fcn.00507690
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x450e83
call fcn.00507910
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call fcn.00507910
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.00507c60
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.00507c80
cmp byte [ebp - 0x18], 0
jne 0x450e6f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx]
jne 0x450e78
mov eax, dword [ebp - 0x10]
inc dword [ebx + 8]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x450e83
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x450ea0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644438
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00507910
call fcn.00507690
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x450f4d
mov ecx, dword [edi + 8]
cmp ecx, 1
jl 0x450f4d
add ecx, 0xffffffff
mov dword [edi + 8], ecx
jne 0x450f4d
call fcn.00507910
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00507910
lea ecx, [eax + 0x18]
call fcn.004c1ae0
call fcn.00507910
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x18]
je 0x450f3c
call fcn.00507910
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 0x18]
call fcn.00507bb0
mov dword [ebx], 0xffffffff
test esi, esi
je 0x450f4d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 0x451fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644438
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x48]
call fcn.00507100
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test ecx, ecx
je 0x451fe6
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x4c]
call fcn.00507100
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x4c], 0
test ecx, ecx
je 0x452002
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.00507690
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
test eax, eax
je 0x452019
mov byte [eax + 4], 1
call fcn.00507910
call fcn.00507690
push dword [eax]
call esi
mov edi, eax
test edi, edi
je 0x4520a1
mov ecx, dword [edi + 8]
cmp ecx, 1
jl 0x4520a1
add ecx, 0xffffffff
mov dword [edi + 8], ecx
jne 0x4520a1
call fcn.00507910
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00507910
lea ecx, [eax + 0x18]
call fcn.004c1ae0
call fcn.00507910
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x18]
je 0x452089
call fcn.00507910
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 0x18]
call fcn.00507bb0
mov dword [ebx], 0xffffffff
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4520a1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x6ef9e4], 0
je 0x4520b9
call fcn.004f2a20
mov dword [0x6ef9e4], 0
mov eax, dword [0x6ef96c]
mov dword [0x6ef96c], 0
test eax, eax
je 0x4520d7
push 4
push eax
call fcn.0060223e
add esp, 8
call fcn.004c5b70
push dword [0x6ef9e0]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
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 0x455930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644a70
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
cmp esi, 0x113
jne 0x45599d
cmp dword [ebp + 0xc], 0x7b
jne 0x455972
call fcn.004560a0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push esi
call fcn.004d1f40
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.006021fd
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 0x656
jne 0x4559af
push ecx
call fcn.004567d0
xor eax, eax
jmp 0x455980
cmp esi, 0x69d
jne 0x455a8f
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x455a88
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4559da
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455a76
cmp dword [edi + 0x2b8], 0
mov dword [edi + 0x2b4], 0
je 0x455a5c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x455a06
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044dfa0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x2b8]
push eax
call fcn.004c9b50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x455a5c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455a52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455ab3
push edx
push ecx
call fcn.0060223e
add esp, 8
mov ecx, dword [edi + 0x2c0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [edi + 0x2bc]
push 0
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, esi
call fcn.0044e3b0
push 0x18
push esi
call fcn.0060223e
add esp, 8
xor eax, eax
jmp 0x455980
cmp esi, 0x69a
jne 0x455972
mov ecx, dword [edi + 0x2bc]
test ecx, ecx
je 0x455a88
mov eax, dword [ecx]
push 1
call dword [eax + 0x7c]
xor eax, eax
jmp 0x455980
call fcn.00621ffe
int3

Function at 0x4567d0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
push 0x7b
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
cmp eax, vtable.CMarchDiscountDlg.1.0
jne 0x456838
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456802
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push dword [edi + 0x264]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x657
push dword [edi + 0x264]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
ret 4
push 1
push 0
mov ecx, edi
call edx
jmp 0x456802

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d1f40
Function at 0x45b900
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645048
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6e1c7c]
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 edi, ecx
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00456990
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x640041
lea edx, [eax + 2]
mov dword [ebp - 0x40], 0x62006f
mov dword [ebp - 0x3c], 0x540065
mov dword [ebp - 0x38], 0x6f006f
mov dword [ebp - 0x34], 0x73006c
mov dword [ebp - 0x30], 0x73002e
mov dword [ebp - 0x2c], 0x6f0074
mov dword [ebp - 0x28], 0x610072
mov dword [ebp - 0x24], 0x650067
mov dword [ebp - 0x20], 0x6c002e
mov dword [ebp - 0x1c], 0x2e0031
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b9a1
sub eax, edx
lea ecx, [ebp - 0x5c]
sar eax, 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044e880
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
lea eax, [ebp - 0x5c]
push 0x80
je 0x45ba53
cmp dword [ebp - 0x48], 8
push 3
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push eax
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x2d0
jae 0x45ba11
xor esi, esi
jmp 0x45ba7b
lea esi, [ebx + 1]
push esi
call fcn.006026e6
push esi
push 0
push eax
mov dword [ebp - 0x64], eax
call fcn.00619cc0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
add esp, 0x10
mov dword [ebp - 0x60], 0
push 0
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45ba76
push ebx
push esi
mov ecx, edi
call fcn.0045bae0
jmp 0x45ba76
cmp dword [ebp - 0x48], 8
push 2
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 4], eax
mov dword [edi], 1
mov esi, 1
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x45bab1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45baa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bacf
push edx
push ecx
call fcn.0060223e
add esp, 8
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.006021fd
mov esp, ebp
pop ebp
ret
call fcn.00621ffe
int3
Function at 0x461bf0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x6b735c
push 0xb4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x461c89
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x461c81
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x461c81
cmp dword [esi + 0x14], 8
jb 0x461c44
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461c81
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
Function at 0x461ca0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6459c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
call fcn.0045b8a0
add eax, 8
lea ecx, [ebp - 0x44]
push eax
call fcn.00456990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x2c], 0x720061
mov dword [ebp - 0x28], 0x610069
lea edx, [ecx + 2]
mov dword [ebp - 0x24], 0x630032
mov dword [ebp - 0x20], 0x65002e
mov dword [ebp - 0x1c], 0x650078
mov word [ebp - 0x18], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461d16
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0044e880
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461d6e
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
call fcn.004b9210
test eax, eax
lea eax, [ebp - 0x44]
jne 0x461da4
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x44]
push eax
call fcn.00461bf0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461dc2
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
call fcn.004b9210
test eax, eax
je 0x461dc2
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x461dbe
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0044e410
mov bl, 1
jmp 0x461e34
push 0x10
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x6b7368
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0044e410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x10]
mov edx, 0xbb8
call fcn.004b94a0
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 8
jb 0x461e32
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e89
push edx
push ecx
call fcn.0060223e
add esp, 8
xor bl, bl
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x461e6a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461e60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461e8e
push edx
push ecx
call fcn.0060223e
add esp, 8
mov al, bl
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.006021fd
mov esp, ebp
pop ebp
ret 4
call fcn.00621ffe
call fcn.00621ffe
int3
Function at 0x4625e0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645b1c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a0
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x434], 0
jmp dword [eax*4 + 0x462cd0]

Function at 0x463590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.0046f9b0
cmp dword [eax], 5
jle 0x46367b
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00619cc0
push esi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0062342e
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x38
lea eax, [ebp - 0x248]
mov dword [ebp - 0x24c], 0x3c
push 0
push eax
call fcn.00619cc0
add esp, 0xc
mov dword [ebp - 0x23c], esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x248], 0x40
push eax
mov dword [ebp - 0x240], str.open
mov dword [ebp - 0x230], 1
call esi
test eax, eax
jne 0x46368f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x46368f
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x240], str.runas
push eax
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
push 0xa
push esi
push 0
push 0
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006021fd
mov esp, ebp
pop ebp
ret 4
Function at 0x4636a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645c30
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x3d4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00456990
mov dword [ebp - 4], 0
cmp dword [esi + 0x3b0], 2
jne 0x4636f1
xor esi, esi
jmp 0x4637d8
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call fcn.0046f9b0
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x46370a
mov eax, dword [eax]
push 2
push eax
lea eax, [ebp - 0x18]
push 3
push eax
call fcn.0062355f
add esp, 0x10
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
call fcn.00603260
mov edx, dword [esi + 0x3ac]
mov ecx, dword [esi + 0x3a8]
movsd qword [ebp - 0x58], xmm0
call fcn.00603260
mulsd xmm0, qword [0x6c0890]
comisd xmm0, xmmword [ebp - 0x58]
jbe 0x46376c
mov esi, 0x64
jmp 0x4637d8
call fcn.0046f9b0
add eax, 0x28
lea ecx, [ebp - 0x38]
push eax
call fcn.00456990
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x50]
cmovae edx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 8
cmovae ecx, dword [ebp - 0x50]
push ecx
call fcn.0046d650
mov edx, dword [ebp - 0x24]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x4637d8
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4637ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46382a
push edx
push ecx
call fcn.0060223e
add esp, 8
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x46380e
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463804
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46382f
push edx
push ecx
call fcn.0060223e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006021fd
mov esp, ebp
pop ebp
ret
call fcn.00621ffe
call fcn.00621ffe
int3
Function at 0x46c930
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e1c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x40
call fcn.0060220e
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
add esp, 4
mov dword [esi], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8CMarchMainWnd__AEXV__basic_string__WU__char_traits__W_std__V__allocator__W_2__2_PAX_ZABQAV3_ABV42_AAPAX_std___nbase__X__V_std__.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x46c997
lock inc dword [eax + 8]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov byte [ebp - 4], 1
movq xmm0, qword [edi + 8]
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], ebx
movq qword [ecx], xmm0
mov eax, dword [edi + 0x10]
mov dword [ecx + 8], eax
lea ecx, [ebx + 4]
mov eax, dword [edi + 0x14]
mov dword [ebx], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00456990
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x1c], eax
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

Function at 0x46d040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6e1c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x10c]
mov ebx, ecx
push 0
push eax
call fcn.00619cc0
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x6ef740]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x10d], cl
test cl, cl
jne 0x46d070
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x46d086
lea edi, [ebp - 0x10c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46d096
mov ecx, ebx
lea eax, [ebp - 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0062387e
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006021fd
mov esp, ebp
pop ebp
ret