joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a26b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], ecx
mov word [ebp - 0x20c], dx
call fcn.00426240
add esp, 0xc
push 0
push 0x19
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4945ac
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0041c018
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c018
push str..lnk
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041c018
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
add esp, 0x24
push edx
push ebx
lea eax, [ebp - 0x20c]
push eax
mov edx, esi
call fcn.00410750
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b847
mov esp, ebp
pop ebp
ret 4

Function at 0x410640
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4a26b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
xor eax, eax
push 0x206
mov dword [ebp - 0x218], ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x214], edx
mov word [ebp - 0x20c], ax
call fcn.00426240
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4945ac
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c018
push esi
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041c018
add esp, 0x18
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4945ac
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c018
push ebx
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0041c018
push str..lnk
lea edx, [ebp - 0x20c]
push 0x104
push edx
call fcn.0041c018
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
add esp, 0x24
push eax
push ecx
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push edx
mov edx, edi
call fcn.00410750
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b847
mov esp, ebp
pop ebp
ret 8
Function at 0x410d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480a00
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4a26b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
mov esi, ecx
xor eax, eax
xor edi, edi
push 0x494594
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
call fcn.00401740
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.00402520
push 1
push 0x494550
lea ecx, [ebp - 0x48]
call fcn.00402400
xor ecx, ecx
mov esi, 8
push esi
mov word [ebp - 0x2c], cx
push str.regsvr32
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00401740
push 0x40
mov byte [ebp - 4], 1
xor eax, eax
lea edx, [ebp - 0x9c]
push edi
push edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00426240
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
cmp dword [ebp - 0x38], edi
je 0x410ddc
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x410ddc
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410de7
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0xa0]
push edx
push eax
push edi
push 0x4000000
push edi
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410e27
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410e13
lea edi, [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00404c90
mov esi, 8
jmp 0x410e33
mov eax, dword [ebp - 0x58]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x18], esi
jb 0x410e44
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041bd41
add esp, 4
cmp dword [ebp - 0x34], esi
jb 0x410e55
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041bd41
add esp, 4
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.0041b847
mov esp, ebp
pop ebp
ret
Function at 0x410e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480a00
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4a26b4]
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
xor ebx, ebx
push ebx
mov esi, ecx
xor eax, eax
mov edi, 7
push 0x4930c0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.00401740
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
jb 0x410ecc
mov esi, dword [esi]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410ee0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401740
push 0x40
mov byte [ebp - 4], 1
xor eax, eax
lea edx, [ebp - 0x9c]
push ebx
push edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00426240
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
mov esi, 8
cmp dword [ebp - 0x38], ebx
jne 0x410f35
xor eax, eax
jmp 0x410f40
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x410f40
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410f4b
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0xa0]
push edx
push eax
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410f8e
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x410f77
lea edi, [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00404c90
mov edi, 7
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x410f9f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041bd41
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x410fbc
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041bd41
add esp, 4
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.0041b847
mov esp, ebp
pop ebp
ret
Function at 0x411170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
mov esi, eax
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
mov edi, ecx
call fcn.00426240
add esp, 0xc
cmp byte [ebp + 8], 0
mov dword [ebp - 0x58], 0x44
jne 0x4111b3
xor ecx, ecx
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], cx
cmp dword [esi + 0x10], 0
jne 0x4111bd
xor esi, esi
jmp 0x4111c5
cmp dword [esi + 0x14], 8
jb 0x4111c5
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4111cf
mov eax, dword [edi]
jmp 0x4111d1
mov eax, edi
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x58]
push ecx
push esi
push 0
push 0x4000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41120f
cmp dword [edi + 0x14], 8
jb 0x4111fc
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00404c90
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x411221
mov edx, dword [ebp - 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b4a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x47c320
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x4a5dbc]
test eax, eax
jne 0x41b4d4
xor esi, esi
jmp 0x41b4dd
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x30], 0
test esi, esi
je 0x41b527
cmp dword [esi + 0x14], 0
jne 0x41b569
cmp dword [esi + 0x10], 0
jne 0x41b570
push 0x41afb0
push 0x4a5db4
call fcn.0041b1b0
mov eax, dword [0x4a5dbc]
add esp, 8
test eax, eax
je 0x41b61d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x41b555
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b555
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x10], 0
je 0x41b5b0
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x41b59e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x41b570
cmp dword [esi + 0x14], 0
je 0x41b4f9
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41b5d5
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x41b606
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b606
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b606
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x41b5ba
jmp 0x41b4f3
lea ecx, [esp + 0x18]
call fcn.0041b856
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x34], 1
call fcn.00402fe0
int3
Function at 0x41b710
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x47c378
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x41b650
push 0
push 0
call fcn.00422ccf
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x41b77b
lea ecx, [esp + 0x10]
call fcn.0041b856
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00402fe0
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x41b79e
cmp eax, 0xffffffff
je 0x41b79e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x41b847
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a26b4]
jne 0x41b851
repz ret
jmp fcn.00422d6f
Function at 0x42a95e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a26b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425901
and dword [ebp - 0x14], 0
cmp dword [0x4a6b80], 0
mov dword [ebp - 0x18], eax
jne 0x42aa11
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42aab9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48a4c8
push ebx
call edi
test eax, eax
je 0x42aab9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a6b80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a6b84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a6b88], eax
call edi
push eax
call esi
mov dword [0x4a6b90], eax
test eax, eax
je 0x42aa11
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a6b8c], eax
mov eax, dword [0x4a6b8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42aa6a
cmp dword [0x4a6b90], ecx
je 0x42aa6a
push eax
call esi
push dword [0x4a6b90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42aa6a
test ebx, ebx
je 0x42aa6a
call edi
test eax, eax
je 0x42aa61
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42aa61
test byte [ebp - 8], 1
jne 0x42aa6a
or dword [ebp + 0x10], 0x200000
jmp 0x42aa9d
mov eax, dword [0x4a6b84]
cmp eax, dword [ebp - 0x18]
je 0x42aa9d
push eax
call esi
test eax, eax
je 0x42aa9d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42aa9d
mov eax, dword [0x4a6b88]
cmp eax, dword [ebp - 0x18]
je 0x42aa9d
push eax
call esi
test eax, eax
je 0x42aa9d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a6b80]
call esi
test eax, eax
je 0x42aab9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42aabb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b847
leave
ret
Function at 0x42ea10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47c558
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4a26b4]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0x42ea5f
mov eax, dword [edi]
jmp 0x42ea61
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x42ea81
push esi
push edi
push ebx
call fcn.0042e8f0
add esp, 0xc
jmp 0x42ebc0
test eax, 0x400
je 0x42eb8e
cmp dword [edi + 0x14], 8
jb 0x42ea96
mov esi, dword [edi]
jmp 0x42ea98
mov esi, edi
mov ebx, 7
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x48], eax
call fcn.0042f710
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42eac0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402400
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 1
jae 0x42eaf1
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 3
jb 0x42eb25
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041bd41
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0x42eb56
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.0042e8f0
add esp, 0xc
mov eax, esi
jmp 0x42ebc2
push edi
call fcn.0042de80
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0x42eb7c
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x42ebc2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0x42eba4
mov dword [esi], 0
call fcn.00430950
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0x42ebbc
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0041b847
add esp, 0x3c
ret
Function at 0x42ebe0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x47c588
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a26b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x8c]
jb 0x42ec2a
mov eax, dword [edi]
jmp 0x42ec2c
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42ec4f
cmp esi, ebx
je 0x42ec48
mov dword [esi], ebx
call fcn.00430950
mov dword [esi + 4], eax
mov al, 1
jmp 0x42eced
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.00430950
mov dword [esp + 0x18], eax
cmp ebp, 0xb7
jne 0x42ec91
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.0042ea10
add esp, 0xc
cmp dword [eax], 3
jne 0x42ec91
cmp esi, ebx
je 0x42eceb
mov dword [esi], ebx
call fcn.00430950
jmp 0x42ece8
cmp esi, ebx
jne 0x42ece1
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00408130
mov dword [esp + 0x80], ebx
call fcn.00430950
push eax
push ebp
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.0042e500
push 0x49a59c
lea eax, [esp + 0x40]
push eax
call fcn.0041e04b
call fcn.00430950
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0041b847
add esp, 0x70
ret

Function at 0x42efc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c600
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x48773c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00403d40
mov byte [esp + 0x38], 1
call fcn.0041a020
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00403df0
mov dword [esi], vtable.windows_file_codecvt.0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x42fb10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47c7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a26b4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov eax, 7
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esp + 0xc], esi
mov word [esi], dx
mov dword [esp + 0x24], eax
xor eax, eax
mov word [esp + 0x10], ax
mov eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], edx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42fb76
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401740
mov byte [esp + 0x38], 1
call fcn.0042f710
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004036d0
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x42fbbf
mov edx, dword [esp + 0x10]
push edx
call fcn.0041bd41
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041b847
add esp, 0x30
ret 8
Function at 0x42fd30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47c85a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a26b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a26b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov esi, ecx
mov dword [esp + 0x18], ebp
call fcn.0042fbe0
mov esi, dword [esi + 0x10]
mov dword [esp + 0x80], ebp
cmp dword [esp + 0x54], esi
je 0x42fe1a
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
cmp esi, 1
jbe 0x42fdd1
mov eax, edx
cmp ecx, 8
jae 0x42fdab
lea eax, [esp + 0x34]
movzx eax, word [eax]
cmp eax, 0x2f
je 0x42fdb8
cmp eax, 0x5c
jne 0x42fdd1
mov eax, edx
cmp ecx, 8
jae 0x42fdc3
lea eax, [esp + 0x34]
movzx eax, word [eax + 2]
cmp eax, 0x2f
je 0x42fde4
cmp eax, 0x5c
je 0x42fde4
mov eax, edx
cmp ecx, 8
jae 0x42fddc
lea eax, [esp + 0x34]
cmp word [eax + esi*2 - 2], 0x3a
jne 0x42fe1a
push 0xffffffffffffffff
xor ecx, ecx
push ebp
lea edx, [esp + 0x3c]
mov word [esp + 0x20], cx
mov esi, 7
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
call fcn.004015e0
lea eax, [esp + 0x18]
mov byte [esp + 0x80], 1
lea ebx, [esi - 6]
jmp 0x42fe3e
mov esi, 7
xor eax, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], ax
mov ebx, 2
lea eax, [esp + 0x58]
mov dword [esp + 0x80], ebx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebp
push ebp
mov word [edi], cx
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.004015e0
or ebx, 4
test bl, 2
je 0x42fe77
and ebx, 0xfffffffd
cmp dword [esp + 0x6c], 8
jb 0x42fe77
mov edx, dword [esp + 0x58]
push edx
call fcn.0041bd41
add esp, 4
test bl, 1
je 0x42fe9f
cmp dword [esp + 0x2c], 8
jb 0x42fe90
mov eax, dword [esp + 0x18]
push eax
call fcn.0041bd41
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], 8
jb 0x42feb3
mov edx, dword [esp + 0x34]
push edx
call fcn.0041bd41
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0041b847
add esp, 0x70
ret 4