Function at 0x4903f0
Capabilities:
Get file size

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [0x4ee010]
push 0
push eax
push 0x14e
push 0x9ef
push ecx
mov dword [esp + 0x30], edi
call esi
mov edx, dword [edi + 0xc]
mov eax, dword [0x4ee010]
push 0
push edx
push 0x14e
push 0x9ee
push eax
call esi
mov ecx, dword [edi + 0xc]
mov edx, dword [0x4ee010]
push 0
push ecx
push 0x150
push 0x9ee
push edx
call esi
mov ecx, dword [0x4ee010]
push 0
mov ebx, eax
mov eax, dword [edi + 0x10]
push eax
push 0x14e
push 0x9f0
push ecx
call esi
mov edx, dword [edi + 0x10]
mov eax, dword [0x4ee010]
push 0
push edx
push 0x150
push 0x9f0
push eax
call esi
mov ecx, eax
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.00490060
cmp dword [edi + 4], 0
mov edx, dword [0x4ee010]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [0x4ed530], eax
push 1
je 0x490510
push 0xb67
push edx
call esi
mov eax, dword [0x4ee010]
push 0
push 0xb66
push eax
call esi
mov ecx, dword [0x4ee010]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Input_File
push 0xb65
push ecx
call esi
mov edx, dword [0x4ee010]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
push str.Bin_Stacker_Splitter___Split_Mode
push edx
call ebp
mov eax, dword [0x4ee010]
push str.Split
push 1
push eax
call esi
push str.Bin_Layout___Output_Files
jmp 0x490568
push 0xb66
push edx
call esi
mov eax, dword [0x4ee010]
push 0
push 0xb67
push eax
call esi
mov ecx, dword [0x4ee010]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Output_File
push 0xb65
push ecx
call esi
mov edx, dword [0x4ee010]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
push str.Bin_Stacker_Splitter___Stack_Mode
push edx
call ebp
mov eax, dword [0x4ee010]
push str.Stack
push 1
push eax
call esi
push str.Bin_Layout___Input_Files
mov ecx, dword [0x4ed530]
push ecx
call ebp
mov eax, dword [0x4ee010]
lea edx, [edi + 0x14]
push edx
push 0x9fb
push eax
call esi
cmp ebx, 0x40
jle 0x490593
mov dword [esp + 0x18], 0x40
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x4906e7
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ebp, [edi + 0x118]
mov ecx, dword [esp + 0x10]
inc ecx
movzx esi, cx
mov ecx, dword [0x4ed530]
lea edx, [esp + 0x28]
push edx
mov eax, esi
or eax, 0x30000
push eax
push 0x530
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0x104
call ebx
cmp dword [edi + 4], 0
jne 0x490679
mov dword [esp + 0x14], 0
test ebp, ebp
je 0x490643
cmp byte [ebp], 0
je 0x490643
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x49062c
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
test edi, edi
je 0x490637
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
js 0x49065e
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push edx
push 0x4bc388
lea eax, [esp + 0x38]
push 0x14
push eax
call fcn.004010b0
add esp, 0x10
jmp 0x49068d
push eax
push str.Error_
lea ecx, [esp + 0x38]
push 0x14
push ecx
call fcn.004010b0
mov edi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x49068d
push 0x4bc38c
lea edx, [esp + 0x34]
push 0x14
push edx
call fcn.004010b0
add esp, 0xc
mov eax, dword [0x4ed530]
push 1
or esi, 0x20000
push esi
push 0x537
push eax
call ebx
mov eax, dword [0x4ed530]
lea edx, [esp + 0x20]
push edx
push esi
push 0x530
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x14
call ebx
mov eax, dword [esp + 0x10]
inc eax
add ebp, 0x104
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x18]
jl 0x4905af
call fcn.0048ff40
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042dbe7
add esp, 0x3c
ret