joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418f70
Capabilities:
Get disk size

Disassembly:
sub esp, 0x54
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x50], eax
push edi
push 0x3e
xor edi, edi
lea ecx, [esp + 0x16]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1c], ax
call fcn.00455040
mov edx, dword [esp + 0x68]
push edx
push str..PhysicalDrive_d
lea edx, [esp + 0x24]
call fcn.00401000
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x418fe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0044e200
add esp, 0x54
ret
push edi
lea ecx, [esp + 8]
push ecx
push 8
lea edx, [esp + 0x14]
push edx
push edi
push edi
push 0x7405c
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x419023
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, edi
pop edi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0044e200
add esp, 0x54
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x54]
mov edi, eax
pop edi
xor ecx, esp
call fcn.0044e200
add esp, 0x54
ret

Function at 0x419040
Capabilities:
Get disk information

Disassembly:
sub esp, 0x124
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x120], eax
mov edx, dword [0x4b7480]
push esi
push 0x20
xor eax, eax
push ecx
mov dword [esp + 0x18], edx
mov edx, dword [0x4b7484]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ax, word [esp + 0x134]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x20], ax
lea eax, [esp + 0x14]
push eax
push 0x100
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4190d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0044e200
add esp, 0x124
ret
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044e200
add esp, 0x124
ret
Function at 0x41a330
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a35ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00468be3
push 4
mov dword [esp + 0x20], 0
call fcn.0044293d
mov edi, eax
add esp, 4
test edi, edi
je 0x41a3ae
call fcn.00468a54
mov dword [edi], eax
call fcn.00468882
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00468ba4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41a3a3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00468bcc
jmp 0x41a3b0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x41a8b0
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x41bce0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a7978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
push str.Messages
call fcn.0041e8f0
push eax
call fcn.0041f380
mov dword [edi + 0x3a4], eax
xor eax, eax
mov word [esp + 0x14], ax
push 0xa
mov eax, str.WaitMoment
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.004093f0
mov ecx, esi
mov dword [esp + 0x34], 0
mov edx, dword [edi + 0x3a4]
push ecx
push edx
call fcn.0041cec0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x41bd6a
mov eax, dword [eax + 4]
jmp 0x41bd6d
add eax, 4
mov ecx, dword [edi + 0x614]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp dword [esp + 0x28], esi
jb 0x41bd8e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00442977
add esp, 4
lea edx, [esp + 0xc]
push edx
push 0
push edi
push 0x41bdd0
push 0
push 0
call fcn.0044fc3e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret 4
Function at 0x41ea00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x88
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00455040
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x41ea37
mov eax, dword [edi + 4]
jmp 0x41ea3a
lea eax, [edi + 4]
push eax
push 0x40
lea edx, [esp + 0x10]
push edx
push 0x4b852c
push str.Default
push str.DefaultLanguage
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], esp
lea edx, [eax + 2]
jmp 0x41ea80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ea80
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x28]
call fcn.004093f0
push edi
call fcn.0041e990
mov ecx, dword [esp + 0x88]
pop esi
xor ecx, esp
call fcn.0044e200
add esp, 0x88
ret

Function at 0x41eac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5836
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
push 0x5000
call fcn.0044296c
mov edi, eax
mov eax, dword [0x4d367c]
add esp, 4
cmp dword [0x4d3690], 8
mov dword [esp + 0x10], edi
jae 0x41eb26
mov eax, 0x4d367c
push eax
push 0x2800
push edi
push str.Languages
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ebx, eax
xor esi, esi
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], esi
mov word [esp + 0x34], cx
mov dword [esp + 0x160], esi
xor edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov word [esp + 0x18], dx
mov byte [esp + 0x160], 1
cmp ebx, esi
jbe 0x41ebe6
jmp 0x41eb84
mov edi, dword [esp + 0x10]
push 0x100
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00455040
lea edx, [edi + esi*2]
mov eax, edx
add esp, 0xc
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41eba0
sub eax, edi
sar eax, 1
mov edi, eax
push edi
push edx
lea ecx, [esp + 0x54]
push ecx
call fcn.00450ffb
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
lea esi, [esi + edi + 1]
call fcn.0041f420
cmp esi, ebx
jb 0x41eb80
cmp dword [esp + 0x2c], 8
jb 0x41ebe6
mov eax, dword [esp + 0x18]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
jb 0x41ec11
mov edx, dword [esp + 0x34]
push edx
call fcn.00442977
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0044e200
mov esp, ebp
pop ebp
ret
Function at 0x421c90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push str.Messages
mov esi, ecx
call fcn.0041e8f0
push eax
call fcn.0041f380
mov dword [esi + 0x3a4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
push str.CountFileWnd
mov ecx, esi
call edx
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x421ce0
push 0
push 0
call fcn.0044fc3e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret 4

Function at 0x4226f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push str.Messages
mov esi, ecx
call fcn.0041e8f0
push eax
call fcn.0041f380
mov dword [esi + 0x3a4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
push str.CreateImageWnd
mov ecx, esi
call edx
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x422740
push 0
push 0
call fcn.0044fc3e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret 4

Function at 0x423620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a76e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
push str.Messages
push ecx
call fcn.0041e8f0
add esp, 4
push eax
call fcn.0041f380
mov dword [edi + 0x3a4], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
push str.ExtractISOWnd
mov ecx, edi
call edx
push str.Title
lea ecx, [edi + 0x2c]
call fcn.0046b097
mov ebx, eax
xor eax, eax
mov word [esp + 0x20], ax
xor ebp, ebp
push 7
mov eax, str.MSG0618
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
call fcn.004093f0
mov ecx, esi
mov dword [esp + 0x60], ebp
mov edx, dword [edi + 0x3a4]
push ecx
push edx
call fcn.0041cec0
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x4236d0
mov eax, dword [eax + 4]
jmp 0x4236d3
add eax, 4
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], ebp
jb 0x4236f8
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00442977
add esp, 4
xor edx, edx
push 7
mov eax, str.MSG0619
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], dx
call fcn.004093f0
mov eax, esi
mov dword [esp + 0x60], 1
mov ecx, dword [edi + 0x3a4]
push eax
push ecx
call fcn.0041cec0
cmp dword [eax + 0x18], ebp
jb 0x423740
mov eax, dword [eax + 4]
jmp 0x423743
add eax, 4
mov ecx, dword [edi + 0x5c8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp dword [esp + 0x50], ebp
jb 0x423764
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00442977
add esp, 4
cmp dword [edi + 0x628], 0
je 0x42377c
lea edx, [esp + 0x18]
push edx
push 0
push edi
push 0x423b20
jmp 0x423789
lea eax, [esp + 0x18]
push eax
push 0
push edi
push 0x424030
push 0
push 0
call fcn.0044fc3e
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fc20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a357b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
mov esi, dword [edi + 0x108]
mov eax, dword [esi + 0x524]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x524]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call edx
push str.ReportList
mov ecx, eax
mov dword [esp + 0xa0], 0
call fcn.0046f0be
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x9c], 0xffffffff
call fcn.0046eca2
test bl, bl
je 0x42fce7
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
push 1
push 0
push 0
mov ecx, esi
call edx
mov ecx, eax
call fcn.0046ecbc
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x42fd7c
mov eax, dword [ebp + 0x394]
mov edx, dword [edi + 0x108]
lea ecx, [eax + 0x524]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
call eax
cmp eax, 0xffffffff
je 0x42fd7c
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, 0x4b8bc0
call eax
mov cx, word [eax]
cmp cx, word [esi]
jne 0x42fd3e
test cx, cx
je 0x42fd3a
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x42fd3e
add eax, 4
add esi, 4
test cx, cx
jne 0x42fd18
xor eax, eax
jmp 0x42fd43
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fd7c
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx + 0xa5c]
mov edx, dword [eax + 0x14]
sub edx, dword [eax + 0x10]
sar edx, 2
test edx, edx
jbe 0x42fd7c
cmp byte [eax + 0x24], 0
mov ecx, dword [ebp + 0x394]
mov edx, dword [ecx]
sete bl
movzx esi, bl
push esi
push eax
mov eax, dword [edx + 0x1bc]
call eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 4

Function at 0x432fd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x210
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x14], ax
call fcn.00455040
add esp, 0xc
push 0
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433035
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.004093f0
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044e200
add esp, 0x210
ret
Function at 0x433070
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x418
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00455040
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.00455040
add esp, 0x18
mov dword [esp + 4], 1
test esi, esi
je 0x433205
xor ecx, ecx
cmp cx, word [esi]
je 0x433205
push 0x104
lea edx, [esp + 0xc]
push esi
push edx
call fcn.00450ffb
lea eax, [esp + 0x14]
add esp, 0xc
xor edx, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4330f5
sub eax, esi
sar eax, 1
test eax, eax
jle 0x433143
jmp 0x433110
mov eax, 0x5c
cmp ax, word [esp + edx*2 + 8]
jne 0x433126
mov ecx, 0x2f
mov word [esp + edx*2 + 8], cx
lea eax, [esp + 8]
inc edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433130
sub eax, esi
sar eax, 1
cmp edx, eax
jl 0x433110
lea edx, [esp + 8]
push 0x2f
push edx
call fcn.004511aa
mov esi, eax
add esp, 8
test esi, esi
je 0x4331eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
jmp 0x433170
lea eax, [esp + 0x14]
cmp esi, eax
je 0x4331d4
movzx edi, word [esi]
mov edx, eax
push 0x104
push edx
lea eax, [esp + 0x224]
xor ecx, ecx
push eax
mov word [esi], cx
call fcn.00450ffb
lea ecx, [esp + 0x228]
add esp, 0xc
test ecx, ecx
je 0x4331bd
xor edx, edx
cmp dx, word [esp + 0x21c]
je 0x4331bd
mov eax, ecx
push eax
call ebp
cmp eax, 0xffffffff
je 0x4331bd
test al, 0x10
jne 0x4331d1
push 0
lea ecx, [esp + 0x220]
push ecx
call ebx
mov dword [esp + 0x10], eax
test eax, eax
je 0x4331e8
mov word [esi], di
add esi, 2
push 0x2f
push esi
call fcn.004511aa
mov esi, eax
add esp, 8
test esi, esi
jne 0x433170
pop edi
pop ebp
pop ebx
mov eax, dword [esp + 4]
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0044e200
add esp, 0x418
ret
mov ecx, dword [esp + 0x418]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044e200
add esp, 0x418
ret

Function at 0x434b90
Capabilities:
Create process on windows

Disassembly:
test byte [0x4d3670], 1
jne 0x434bb2
or dword [0x4d3670], 1
call fcn.0041b6c0
push 0x4a88c0
call fcn.0044f061
add esp, 4
mov eax, dword [0x4d3354]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x434bd0
Capabilities:
Create process on windows

Disassembly:
test byte [0x4d3670], 1
jne 0x434bf2
or dword [0x4d3670], 1
call fcn.0041b6c0
push 0x4a88c0
call fcn.0044f061
add esp, 4
mov eax, dword [0x4d3340]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x435d00
Capabilities:
Check if file exists
Get file attributes
Get hostname
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4a5e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x424], eax
push esi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.00432fd0
push 0xffffffffffffffff
push 0
mov ecx, 0x4d34a8
mov dword [esp + 0x440], 0
call fcn.004083f0
mov esi, 8
mov dword [esp + 0x438], 0xffffffff
cmp dword [esp + 0x28], esi
jb 0x435d7d
mov eax, dword [esp + 0x14]
push eax
call fcn.00442977
add esp, 4
xor ecx, ecx
mov word [esp + 0x14], cx
push 0x17
mov eax, 0x4ba6e8
mov ecx, 0x4d34a8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00409310
mov eax, dword [0x4d34ac]
cmp dword [0x4d34c0], esi
jae 0x435db7
mov eax, 0x4d34ac
test eax, eax
je 0x435dd2
xor edx, edx
cmp dx, word [eax]
je 0x435dd2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435dd2
test al, 0x10
jne 0x435df2
mov ecx, dword [0x4d34ac]
cmp dword [0x4d34c0], esi
jae 0x435de5
mov ecx, 0x4d34ac
call fcn.00433070
test eax, eax
je 0x435e7a
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x10], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435e11
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
mov esi, 0x4d34e0
call fcn.004093f0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x230]
push eax
mov dword [esp + 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435e54
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x230]
mov esi, 0x4d34fc
call fcn.004093f0
call fcn.00437420
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0044e200
add esp, 0x434
ret
Function at 0x4376f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 0x24]
add edi, 0x18
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edi
cmp ebx, dword [edi + 0x10]
jbe 0x43771a
call fcn.0044ea2b
mov esi, dword [edi]
add ebx, 4
mov dword [esp + 0x10], ebx
mov edi, dword [edi + 0x10]
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0xc], edi
jbe 0x437734
call fcn.0044ea2b
mov eax, dword [ebx]
test esi, esi
je 0x43773e
cmp esi, eax
je 0x437743
call fcn.0044ea2b
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp eax, edi
je 0x437806
test esi, esi
jne 0x4377f7
call fcn.0044ea2b
xor eax, eax
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffc
cmp ecx, dword [eax + 0x10]
jb 0x437772
call fcn.0044ea2b
mov eax, dword [esp + 0x10]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x437782
mov eax, dword [eax]
test eax, eax
je 0x4377cf
xor ecx, ecx
cmp cx, word [eax]
je 0x4377cf
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4377cf
test esi, esi
jne 0x4377fe
call fcn.0044ea2b
xor eax, eax
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffc
cmp ecx, dword [eax + 0x10]
jb 0x4377b5
call fcn.0044ea2b
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], edi
jb 0x4377c0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4377cf
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x437802
call fcn.0044ea2b
xor eax, eax
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffc
cmp ecx, dword [eax + 0x10]
jb 0x4377eb
call fcn.0044ea2b
add dword [esp + 0x10], 0x1c
mov edi, ebx
jmp 0x437723
mov eax, dword [esi]
jmp 0x437761
mov eax, dword [esi]
jmp 0x4377a4
mov eax, dword [esi]
jmp 0x4377da
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0xc], edi
jbe 0x437813
call fcn.0044ea2b
mov esi, dword [ebx]
mov ecx, ebx
mov ebx, dword [ecx + 0xc]
cmp ebx, dword [ecx + 0x10]
jbe 0x437828
call fcn.0044ea2b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push edi
push esi
push ebx
push eax
lea ebx, [esp + 0x24]
mov esi, ecx
call fcn.00408760
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437b20
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x178
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x3f
lea eax, [esp + 0x45]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x4c], 0
call fcn.00455040
add esp, 0xc
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x437b71
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x28]
call fcn.004093f0
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x437b9b
lea eax, [esp + 0x28]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x437bc3
mov esi, 0x57
jmp 0x437cb4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jne 0x437bde
mov dword [esp + 0x14], 0x57
jmp 0x437ca9
push esi
mov dword [esp + 0x24], esi
call fcn.0044ed5f
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
push esi
add eax, edi
push eax
push ebx
call ebp
test eax, eax
je 0x437c86
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x437c86
add edi, eax
sub esi, eax
jne 0x437bf5
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x44]
mov edx, ebp
call fcn.0041b660
add esp, 4
xor esi, esi
lea edi, [esp + 0x80]
lea esp, [esp]
movzx edx, byte [esp + esi + 0x40]
push edx
push str._02X
push edi
call fcn.0044f2d4
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x40
jl 0x437c40
mov eax, dword [esp + 0x18c]
lea edx, [esp + 0x80]
mov ecx, 0x80
sub edx, eax
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x437c94
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x437c72
jmp 0x437c9c
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], 0x1e
jmp 0x437c30
mov dword [esp + 0x14], 0x57
test ebp, ebp
je 0x437ca9
push ebp
call fcn.0044ec82
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x3c], 8
jb 0x437cc8
mov eax, dword [esp + 0x28]
push eax
call fcn.00442977
add esp, 4
mov ecx, dword [esp + 0x184]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e200
add esp, 0x178
ret 4