Function at 0x47e660
Capabilities:
Create thread
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebba5
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x51eed4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov eax, dword [ebp + 0x44]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0xf8]
push eax
call fcn.004c0518
add esp, 4
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x47e700
mov ecx, dword [ebp - 0xf8]
push ecx
push 0
mov edx, dword [ebp - 0xfc]
push edx
call fcn.004bfe20
add esp, 0xc
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1f0], eax
jmp 0x47e70a
mov dword [ebp - 0x1f0], 0
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov eax, dword [ebp + 0x44]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp - 0x100]
push eax
call fcn.004c0518
add esp, 4
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x47e770
mov ecx, dword [ebp - 0x100]
push ecx
push 0
mov edx, dword [ebp - 0x104]
push edx
call fcn.004bfe20
add esp, 0xc
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1f4], eax
jmp 0x47e77a
mov dword [ebp - 0x1f4], 0
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0xd8], ecx
mov byte [0x521b94], 0
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x12c], 0
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 0x130], 0
mov dword [eax + 0x134], 0
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 0x29c]
mov ecx, dword [ebp - 0x1ec]
mov ecx, dword [ecx + 0x29c]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1fc]
push edx
mov ecx, dword [ebp - 0x1ec]
add ecx, 8
call fcn.00405f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00402bb0
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x29c]
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x29c]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x204]
push edx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x24
call fcn.00405f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.00402bb0
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x29c]
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x29c]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x40
call fcn.00405f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.00402bb0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x15c], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00402b70
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.004876d0
add esp, 0x20
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x218], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x5c
call fcn.00405f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.00402bb0
lea ecx, [ebp + 0x28]
push ecx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x78
call fcn.00480d10
mov edx, dword [ebp - 0x1ec]
mov al, byte [ebp + 0x48]
mov byte [edx + 0x138], al
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x5c
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x17c], esp
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x180], esp
push ecx
mov ecx, edx
call fcn.00402b70
mov dword [ebp - 0x21c], eax
push esi
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x29c]
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 0x29c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0xd4]
call fcn.004897d0
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x19c]
push edx
push str.fileid
lea ecx, [ebp - 0xd4]
call fcn.004897b0
mov ecx, eax
call fcn.00402230
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x98
call fcn.00405f40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.00402bb0
lea edx, [ebp - 0x1b8]
push edx
push str.host
lea ecx, [ebp - 0xd4]
call fcn.004897b0
mov ecx, eax
call fcn.00402230
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0xb4
call fcn.00405f40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
call fcn.00402bb0
lea edx, [ebp - 0x1d4]
push edx
push str.salt
lea ecx, [ebp - 0xd4]
call fcn.004897b0
mov ecx, eax
call fcn.00402230
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0xd0
call fcn.00405f40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d4]
call fcn.00402bb0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x78
call fcn.00480e10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47eb18
cmp dword [ebp - 0x18], 0xffffffff
jne 0x47eb81
push 0x47bb80
push str.Open_Error
push 0x522b20
call fcn.0040f920
add esp, 8
mov ecx, eax
call fcn.004806d0
push str.FALSE
mov ecx, dword [ebp + 8]
call fcn.00480c70
mov edx, dword [ebp - 0x1e8]
or edx, 1
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.0047db70
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00402bb0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00480cf0
mov eax, dword [ebp + 8]
jmp 0x47eef3
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0xe4]
call fcn.00481e90
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x78
call fcn.00480de0
movzx eax, word [eax]
push eax
push str._c:_
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00485c10
add esp, 0xc
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0xe4]
call fcn.004bcb10
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebp - 0xe8]
imul eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx + 0x94], eax
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 0x94]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048e270
add esp, 8
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [eax]
mov dword [edx + 0xf0], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0xf4], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe4]
call fcn.00487c30
mov ecx, dword [ebp - 0x1ec]
push 0
push 0x20000
mov edx, dword [ecx + 0xf4]
push edx
mov eax, dword [ecx + 0xf0]
push eax
call fcn.004c05f0
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx + 0xf8], eax
mov edx, dword [ebp - 0x1ec]
push 0
push 0x20000
mov eax, dword [edx + 0xf4]
push eax
mov ecx, dword [edx + 0xf0]
push ecx
call fcn.004c0530
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], edx
mov edx, dword [ebp - 0x248]
or edx, dword [ebp - 0x244]
je 0x47ece7
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0xf8]
add ecx, 1
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0xf8], ecx
mov eax, dword [ebp - 0x1ec]
cmp dword [eax + 0xf8], 0
jne 0x47ed11
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0xf8]
add edx, 1
mov eax, dword [ebp - 0x1ec]
mov dword [eax + 0xf8], edx
mov dword [ebp - 0xf0], 0
jmp 0x47ed2c
mov ecx, dword [ebp - 0xf0]
add ecx, 1
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
cmp edx, dword [ebp + 0x44]
jae 0x47ed78
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*4]
push edx
push 0
mov eax, dword [ebp - 0x1ec]
add eax, 8
push eax
push 0x479090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xd8]
mov dword [edx + ecx*4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47ed1d
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0xf4], 0
jmp 0x47eda8
mov edx, dword [ebp - 0xf4]
add edx, 1
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp + 0x44]
jge 0x47edcb
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47ed99
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x521b94], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1d8]
push eax
call fcn.004c0415
add esp, 4
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1dc]
push edx
call fcn.004c0415
add esp, 4
mov eax, dword [ebp - 0x1ec]
add eax, 0xb4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push eax
call fcn.00402b70
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1ec]
add edx, 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push edx
call fcn.00402b70
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x29c]
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x29c]
mov edx, dword [edx]
mov byte [ebp - 4], 7
mov eax, dword [edx + 0x54]
call eax
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx + 0x298], 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.00480cb0
mov eax, dword [ebp - 0x1e8]
or eax, 1
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00480cf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.0047db70
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00402bb0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00480cf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004be1d6
mov esp, ebp
pop ebp
ret 0x44