Function at 0x49a870
Capabilities:
Copy file
Get disk size
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x20], 0x2df
mov dword [ebp - 8], 0x37
mov dword [ebp - 0x18], 0x15c
mov dword [ebp - 0x24], 0x1e4
mov dword [ebp - 0x74], 0x2db
mov dword [ebp - 0x1c], 0x5f
mov dword [ebp - 0x58], 0x2bc
mov dword [ebp - 0x10], 0xf1
mov dword [ebp - 0x70], 0xf5
mov dword [ebp - 0x84], 0x2d1
mov dword [ebp - 4], 0x148
mov dword [ebp - 0x78], 0x239
mov dword [ebp - 0x68], 0x275
mov dword [ebp - 0x30], 0x24b
mov dword [ebp - 0x6c], 0x29e
mov dword [ebp - 0x28], 0x84
mov dword [ebp - 0x54], 0x60
mov dword [ebp - 0x2c], 0x25f
mov dword [ebp - 0x48], 0x6a
mov dword [ebp - 0xc], 0xaa
mov dword [ebp - 0x88], 0x26d
mov dword [ebp - 0x64], 0x1ca
mov dword [ebp - 0x14], 0x1c5
mov dword [ebp - 0x34], 0xc7
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x64]
jge 0x49a938
mov dword [ebp - 0x38], 1
jmp 0x49a93f
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x10]
jge 0x49a950
mov dword [ebp - 0x3c], 1
jmp 0x49a957
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x2c]
jge 0x49a971
mov dword [ebp - 0x40], 1
jmp 0x49a978
mov dword [ebp - 0x40], 0
mov ecx, dword [0x4f580c]
and ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x3c]
or ecx, dword [ebp - 0x40]
je 0x49a992
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
jge 0x49a9ac
mov dword [ebp - 0x44], 1
jmp 0x49a9b3
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x44]
je 0x49a9df
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 8]
mov ecx, dword [0x4f580c]
imul ecx, dword [ebp - 0x2c]
or eax, ecx
je 0x49a9df
mov edx, dword [0x4f580c]
add edx, 1
mov dword [0x4f580c], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x214
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x1e3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x30]
add edx, 0x18d
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0xc]
add eax, 0x72
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x2b8
mov dword [ebp - 0xc], ecx
mov edx, dword [0x4f5808]
sub edx, 0x1ec
mov dword [0x4f5808], edx
mov eax, dword [ebp - 4]
add eax, 0x95
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc3
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 0x316
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x4f5808]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004230a0
add esp, 0x24
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x49aa8b
mov ecx, dword [ebp - 0x48]
sub ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x34]
jge 0x49aaa5
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 0x34]
jge 0x49aab6
mov dword [ebp - 0x4c], 1
jmp 0x49aabd
mov dword [ebp - 0x4c], 0
mov eax, dword [0x4f580c]
cmp eax, dword [ebp - 0x24]
jge 0x49aad0
mov dword [ebp - 0x50], 1
jmp 0x49aad7
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x50]
je 0x49aaeb
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push 0x50b6
push 0xcfa1
push 0x5113
push 0x3dd0
call fcn.00409080
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x5015e8], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x2c
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4f5808]
add ecx, 0x7e
mov dword [0x4f5808], ecx
mov edx, dword [ebp - 8]
add edx, 0x32a
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x24]
add eax, 0x14c
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x7a
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [0x4f5808]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00419190
add esp, 0x14
mov ecx, dword [0x5015fc]
push ecx
mov edx, dword [0x5015ec]
push edx
mov eax, dword [0x5015f8]
push eax
mov ecx, dword [0x5015e4]
push ecx
mov edx, dword [0x5015e8]
push edx
push 0xc551
push 0xa239
push 0x199e
push 0xb5c1
call fcn.00492520
add esp, 0x10
push eax
mov eax, dword [0x5015e8]
push eax
call fcn.0049af40
add esp, 8
call eax
test eax, eax
je 0x49aed9
mov ecx, dword [0x4f5810]
sub ecx, 1
mov dword [0x4f5810], ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x10]
add eax, 0x11
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2d
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
add edx, 0x47
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
add eax, 0x45
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x290
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00414220
add esp, 0x14
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov esp, ebp
pop ebp
ret