Function at 0x413a98
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x2d8]
sub esp, 0x33c
mov edi, dword [ecx + 4]
mov dword [ebp - 0x30c], ecx
push 0x2c0
push 0
push eax
call fcn.00428f38
mov eax, dword [ebp - 0x30c]
sub esp, 0xc
push str.htfcdg
push dword [eax + 0x24]
call fcn.004139bc
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x30c]
add esp, 0x18
push 0x43d8f3
push dword [eax + 0x24]
call fcn.00428f8c
and eax, 3
mov dword [ebp - 0x310], eax
pop eax
mov eax, dword [ebp - 0x30c]
pop edx
push 0x43d8f5
push dword [eax + 0x24]
call fcn.00428f8c
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x30c]
pop ecx
pop ebx
push 0x43d8f7
push dword [eax + 0x24]
call fcn.00428f8c
pop esi
mov dword [ebp - 0x328], eax
pop eax
mov eax, dword [ebp - 0x30c]
push 0x43d8f9
push dword [eax + 0x24]
call fcn.00428f8c
mov dword [ebp - 0x2d8], eax
pop eax
mov eax, dword [ebp - 0x30c]
pop edx
push 0x43d8fb
push dword [eax + 0x24]
call fcn.00428f8c
add esp, 0xc
mov dword [ebp - 0x324], eax
xor eax, eax
cmp dword [ebp - 0x310], 3
push dword [ebp - 0x314]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
sete al
push dword [eax*4 + 0x433224]
xor eax, eax
cmp dword [ebp - 0x310], 2
sete al
push dword [eax*4 + 0x433224]
xor eax, eax
cmp dword [ebp - 0x310], 1
sete al
push dword [eax*4 + 0x433224]
xor eax, eax
cmp dword [ebp - 0x310], 0
sete al
push dword [eax*4 + 0x433224]
push 0x43d8fd
push edi
call esi
add esp, 0x1c
add eax, edi
push 0x66
push dword [ebp - 0x2d0]
push eax
call fcn.004138f0
add esp, 0xc
push 0x64
push dword [ebp - 0x2d8]
push eax
call fcn.00413951
pop ecx
pop edx
push str._To:
push eax
mov ebx, eax
call esi
add eax, ebx
add esp, 0xc
push 0x63
push dword [ebp - 0x328]
push eax
call fcn.004138f0
add esp, 0xc
push 0x67
push dword [ebp - 0x324]
push eax
call fcn.00413951
pop ecx
mov ebx, eax
pop edx
push str._br__br__input_typesubmit_valueShow___input_typereset___form__hr_
push eax
call esi
pop ecx
add eax, ebx
mov ecx, dword [ebp - 0x30c]
pop esi
sub eax, edi
push eax
push edi
call fcn.00429114
test byte [0x46579a], 0x80
pop eax
pop edx
jne 0x413c5f
push ecx
push ecx
mov ecx, dword [ebp - 0x30c]
push 3
push dword [0x42e8d4]
call fcn.00429114
pop ebx
pop esi
mov eax, dword [ebp - 0x314]
cmp byte [eax], 0
je 0x4140ff
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x2fc]
sub esp, 0xc
push eax
call fcn.00410d76
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x310]
pop esi
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [eax*4 + 0x4331f0]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x310]
mov eax, dword [eax*4 + 0x4331e0]
mov dword [ebp - 0x33c], eax
pop eax
push str._table_bgcolorf8f8ff_border1__tr__td_Date__td_
push edi
call ebx
add eax, edi
pop edx
mov dword [ebp - 0x318], eax
lea eax, [edi + 0x9000]
pop ecx
push str._td_Total__td_
push eax
mov dword [ebp - 0x330], eax
call fcn.00428f54
pop esi
lea eax, [edi + 0x8000]
mov esi, 0xc0c0e0
pop edx
push str._td__2.2u_c__2.2u_c__td_
push eax
mov dword [ebp - 0x334], eax
call fcn.00428f54
lea eax, [edi + 0x900e]
add esp, 0x10
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], eax
lea eax, [edi + 0x8018]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x33c]
mov edx, dword [ebp - 0x320]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x413dc2
push eax
push esi
push str._td_bgcolor_x__font_size1_classf3__s__font___td_
push dword [ebp - 0x318]
call ebx
add dword [ebp - 0x318], eax
mov eax, esi
add esp, 0xc
and eax, 0xf0f8ff
push eax
push str._td_bgcolor_x___u__c__td_
push dword [ebp - 0x2fc]
call ebx
add esp, 0xc
add dword [ebp - 0x2fc], eax
push esi
push str._td_bgcolor_x__b___u__c__b___td_
push dword [ebp - 0x31c]
call ebx
add dword [ebp - 0x31c], eax
mov ecx, 3
add esp, 0x10
mov eax, dword [ebp - 0x320]
inc dword [ebp - 0x320]
cdq
idiv ecx
mov eax, 0x301020
lea ecx, [edx*8]
sar eax, cl
xor esi, eax
add esi, 0x10101
and esi, 0x3c3c3c
or esi, 0xc3c3c3
jmp 0x413d23
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push eax
push str.__tr__tr_aligncenter_
push dword [ebp - 0x318]
call esi
mov ebx, dword [ebp - 0x318]
add ebx, eax
pop eax
pop edx
push str.__tr__tr_aligncenter_
push dword [ebp - 0x2fc]
sub ebx, edi
call esi
pop ecx
add dword [ebp - 0x2fc], eax
pop eax
push str.__tr___table__hr_
push dword [ebp - 0x31c]
call esi
pop eax
pop edx
mov ecx, dword [ebp - 0x30c]
push ebx
push edi
call fcn.00429114
pop ecx
pop ebx
xor ecx, ecx
mov eax, dword [ebp - 0x32c]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x413e3b
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x33c], eax
jmp 0x413ed6
sub esp, 0xc
push eax
call fcn.004138cd
add esp, 0x10
mov byte [ebp + ecx - 0x2f8], al
inc ecx
jmp 0x413e18
lea eax, [ebp - 0x2d8]
push esi
push esi
push 0x2a
push eax
call fcn.00413a5b
lea eax, [ebp - 0x2d8]
add esp, 0xc
push eax
push dword [ebp - 0x334]
push edi
call dword [sym.imp.USER32.dll_wvsprintfA]
mov ecx, dword [ebp - 0x30c]
push edx
push eax
push edi
call fcn.00429114
sub esp, 0xc
push dword [ebp - 0x2fc]
push 0
push dword [section..bss]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ecx
pop ebx
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
mov eax, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x1f
jg 0x414089
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x324]
cmp eax, dword [ebp - 0x2d8]
je 0x4140eb
mov eax, dword [ebp - 0x320]
push ecx
push dword [0x4657b8]
push 0x43d515
push edi
call eax
pop esi
mov ebx, eax
pop eax
push 0x2e
push edi
call fcn.00403472
add esp, 0x10
test eax, eax
mov dword [ebp - 0x2fc], eax
jne 0x413f0c
add ebx, edi
mov dword [ebp - 0x2fc], ebx
push dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x33c]
push dword [ebp - 0x2d8]
push str._2.2u_2.2u
push dword [ebp - 0x2fc]
call eax
pop ecx
pop ebx
push 0
push edi
call fcn.00403579
test eax, eax
mov dword [ebp - 0x318], eax
pop esi
pop edx
jle 0x413eae
push ecx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [eax + 0x14]
push esi
push eax
call fcn.00428e70
add esp, 0xc
mov dword [ebp - 0x2fc], eax
push ebx
push eax
push dword [ebp - 0x318]
call fcn.004035ff
mov edx, dword [ebp - 0x2fc]
mov byte [edx + eax], 0
lea eax, [ebp - 0x2cc]
push 0x144
push 0
push eax
call fcn.00428f38
pop eax
pop edx
push 0
push dword [ebp - 0x2fc]
mov dword [ebp - 0x2d4], 0
call fcn.004139dc
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x413e51
lea esi, [ebp - 0x2d8]
mov dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x31c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x414082
push edx
push edx
push edi
push ebx
call eax
add esp, 0x10
test eax, eax
mov edx, eax
je 0x414001
mov eax, dword [ebp - 0x31c]
cmp byte [ebp + eax - 0x2f8], 0
mov eax, 1
cmove edx, eax
cmp dword [ebp - 0x310], 0
jne 0x414018
mov eax, dword [ebp - 0x338]
cmp dword [ebx + 8], eax
sete al
jmp 0x41405b
cmp dword [ebp - 0x310], 3
mov dword [ebp - 0x340], edx
jne 0x41403f
push eax
push eax
push dword [ebp - 0x314]
push edi
call fcn.004034d9
add esp, 0x10
test eax, eax
setne al
jmp 0x414055
push eax
push eax
push edi
push dword [ebp - 0x314]
call fcn.00403416
add esp, 0x10
test eax, eax
sete al
mov edx, dword [ebp - 0x340]
test al, al
je 0x414074
mov eax, edx
cdq
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
add dword [esi + 0x150], eax
adc dword [esi + 0x154], edx
add esi, 8
inc dword [ebp - 0x31c]
jmp 0x413fc5
mov ebx, dword [ebx]
jmp 0x413fad
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x324], eax
mov dword [ebp - 0x2d0], 1
jne 0x4140d4
lea ebx, [ebp - 0x188]
push eax
push eax
push 0x28
push ebx
call fcn.00413a5b
add esp, 0xc
push ebx
push dword [ebp - 0x330]
push edi
call dword [sym.imp.USER32.dll_wvsprintfA]
mov ecx, dword [ebp - 0x30c]
push edx
push eax
push edi
call fcn.00429114
pop ecx
pop ebx
jmp 0x4140ff
inc eax
mov edx, 1
cmp eax, 0xc
cmovg eax, edx
mov dword [ebp - 0x2d8], eax
jmp 0x413ec4
mov eax, dword [ebp - 0x328]
cmp eax, dword [ebp - 0x2d0]
jge 0x413ed6
jmp 0x4140a1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret