Function at 0x41de88
Capabilities:
Get file size

Disassembly:
sub esp, 0x38
or dword [esp + 4], 0xffffffff
or dword [esp + 0xc], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
push 0x1b66
push 0x698
mov dword [esp + 0x30], ebx
mov esi, ebx
mov dword [esp + 0x28], ebx
call fcn.00401286
mov edi, eax
mov dword [esp + 0x3c], edi
test edi, edi
je 0x41e127
push ebp
mov ebp, dword [esp + 0x4c]
lea eax, [edi + 0x658]
mov dword [esp + 0x30], eax
push dword [ebp + 8]
call fcn.00403edb
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x41df05
push dword [ebp + 8]
push 2
call fcn.00404b1d
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push edi
push dword [ebp]
call fcn.00403461
jmp 0x41e126
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push 0x1b67
lea eax, [esi + 1]
push eax
call fcn.00401286
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e124
push esi
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00403eb1
test eax, eax
jns 0x41df54
push dword [ebp + 8]
push 4
call fcn.00404b1d
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
jmp 0x41e119
mov ebx, dword [esp + 0x10]
push esi
mov byte [eax + ebx], 0
call fcn.00403e76
or dword [esp + 0x1c], 0xffffffff
mov esi, ebx
mov dword [esp + 0x28], ebx
movzx ebx, byte [ebx]
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x41e126
cmp ebx, 0x22
je 0x41e0b2
cmp ebx, 0x27
je 0x41e0b2
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp ebx, 0x2f
jne 0x41dfbe
mov al, byte [eax]
cmp al, bl
jne 0x41dfad
push esi
call fcn.0041dac9
mov esi, eax
jmp 0x41e0bf
cmp al, 0x2a
jne 0x41dfbe
push 0
lea eax, [esi + 2]
push eax
call fcn.0041f985
jmp 0x41dfa6
push ebx
call fcn.0041dc47
test eax, eax
je 0x41e0ac
movzx eax, byte [esi]
lea ecx, [edi + 0x618]
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], eax
test eax, eax
je 0x41e035
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov edi, dword [esp + 0x18]
mov ebp, ecx
push ebx
call fcn.0041dd3b
test eax, eax
je 0x41e019
inc edi
cmp esi, 1
jle 0x41e012
mov byte [ebp], bl
inc ebp
dec esi
movzx ebx, byte [edi]
test ebx, ebx
jne 0x41dffd
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x4c]
test esi, esi
jle 0x41e038
mov ecx, dword [esp + 0x20]
mov byte [ecx], 0
push dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
lea eax, [edi + 0x618]
push dword [esp + 0x34]
push eax
push ebp
call fcn.0041e7d4
test eax, eax
je 0x41e0ba
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x41e07d
push ebp
call fcn.0041e320
push dword [ebp + 8]
call fcn.00403e93
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x41e102
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
cmp edx, ecx
jbe 0x41e093
sub edx, ecx
push edx
push ecx
push eax
call fcn.00403f17
push 0
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00408685
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jmp 0x41e0ba
mov esi, dword [esp + 0x20]
jmp 0x41e0ba
push esi
call fcn.0041f9cb
mov esi, eax
cmp ebx, 0x20
jbe 0x41e0d2
cmp dword [esp + 0x24], 0x23
jne 0x41e0ce
xor eax, eax
cmp ebx, 0x23
cmove ebx, eax
mov dword [esp + 0x24], ebx
movzx ebx, byte [esi]
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x41df7c
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x41e0fc
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jbe 0x41e0fc
sub esi, ecx
push esi
push ecx
push eax
call fcn.00403f17
mov esi, dword [esp + 0x10]
jmp 0x41e126
push dword [ebp + 8]
push 3
call fcn.00404b1d
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push edi
push dword [ebp]
call fcn.00403461
jmp 0x41e0fc
mov esi, eax
pop ebp
push dword [esp + 0x18]
call fcn.00403e76
push dword [esp + 0x10]
call fcn.00403e76
push edi
call fcn.00404070
push esi
call fcn.00404070
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
add esp, 0x38
ret 4