Function at 0x4324e0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x44ed90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov al, byte [esp + 0x60]
test al, al
mov dword [esp + 0x58], ebp
je 0x43252b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0041cc70
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x432540
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0041ccd0
mov dword [esp + 0x18], eax
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4327cf
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
mov word [ecx], 0x5c
mov ecx, dword [esp + 0x14]
add ecx, 2
cmp ebx, ebp
mov dword [esp + 0x14], ecx
mov eax, ebx
jne 0x43256e
mov eax, 0x460d50
mov edx, dword [esp + 0x14]
push edx
push eax
call fcn.00412130
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x14], eax
jne 0x4325c8
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
je 0x4325b7
mov dl, byte [esp + 0x70]
test dl, dl
je 0x4325a0
push eax
push ecx
call fcn.00412130
add esp, 8
jmp 0x4325b7
push ecx
push 0x45d848
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [ecx + eax*2]
push 0x460d44
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
cmp ebx, ebp
mov ebp, dword [esp + 0x68]
sete bl
test bl, bl
mov byte [esp + 0x70], bl
je 0x4326c4
mov esi, ebp
neg esi
sbb esi, esi
mov byte [esp + 0x60], 1
add esi, 3
lea esp, [esp]
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
call fcn.00432800
mov eax, dword [0x45d0f4]
test eax, eax
mov byte [esp + 0x58], 1
je 0x432611
call fcn.004101a0
mov al, byte [0x574448]
neg al
mov ecx, edi
sbb eax, eax
and eax, 0x574428
push eax
push 0x20000100
push esi
push 3
push 0xc0000000
lea eax, [esp + 0x40]
push eax
call fcn.00417760
test al, al
je 0x43266e
test ebp, ebp
je 0x432653
mov eax, dword [edi]
push 0
push ebp
push eax
call fcn.00417720
add esp, 0xc
test al, al
je 0x43266e
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
setne al
test al, al
je 0x43266e
mov bl, 1
jmp 0x432670
xor bl, bl
mov al, byte [esp + 0x4c]
test al, al
mov byte [esp + 0x58], 0
je 0x432688
push 0
lea ecx, [esp + 0x3c]
call fcn.004220a0
test bl, bl
jne 0x4326ae
mov al, byte [esp + 0x60]
test al, al
je 0x4326ba
mov edx, dword [esp + 0x10]
push edx
call fcn.004322b0
add esp, 4
test al, al
je 0x4326ba
mov byte [esp + 0x60], bl
jmp 0x4325f0
mov ebp, dword [esp + 0x24]
mov bl, byte [esp + 0x70]
mov eax, ebp
jmp 0x4326d2
mov bl, byte [esp + 0x70]
xor ebp, ebp
mov eax, ebp
jmp 0x4326d2
push edi
push ebp
push esi
call fcn.004322e0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x4326fd
test bl, bl
je 0x4326e3
test ebp, ebp
mov eax, 0x1d
jne 0x4326e8
mov eax, 0x1e
mov ecx, dword [esp + 0x10]
push 0x4608fc
push ecx
push 0x460904
push eax
jmp 0x4327c7
test ebp, ebp
je 0x4327cf
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x43275f
mov edx, dword [esp + 0x10]
push edx
add edi, 0x1c
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
push 1
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x43275b
test esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x10]
jbe 0x43274d
sub ecx, eax
mov edx, esi
mov edi, edi
mov bx, word [eax]
mov word [ecx + eax], bx
add eax, 2
dec edx
jne 0x432740
mov eax, dword [edi + 4]
mov dword [edi + 8], esi
lea esi, [eax + esi*2]
mov word [esi], 0
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
push ebp
push 4
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.0040da10
test al, al
je 0x4327b6
push ebp
push 0
push 0
mov ecx, esi
call fcn.0040dab0
mov esi, eax
test esi, esi
je 0x4327a3
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x58], 0xffffffff
je 0x43279f
mov ecx, dword [esp + 0x20]
push eax
call fcn.00411bb0
mov eax, esi
jmp 0x4327eb
mov ecx, dword [esp + 0x10]
push 0x4608fc
push ecx
push 0x460904
push 0x20
jmp 0x4327c7
mov edx, dword [esp + 0x10]
push 0x4608fc
push edx
push 0x460904
push 0x1f
call fcn.0042f770
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x58], 0xffffffff
je 0x4327e9
mov ecx, dword [esp + 0x20]
push eax
call fcn.00411bb0
xor eax, eax
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14