Function at 0x41d11a
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 0x41d3b9
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 0x41d197
push dword [ebp + 8]
push 2
call fcn.00404ac5
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 0x41d3b8
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 0x41d3b6
push esi
mov esi, dword [esp + 0x20]
push eax
push esi
call fcn.00403eb1
test eax, eax
jns 0x41d1e6
push dword [ebp + 8]
push 4
call fcn.00404ac5
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
jmp 0x41d3ab
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 0x41d3b8
cmp ebx, 0x22
je 0x41d344
cmp ebx, 0x27
je 0x41d344
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
cmp ebx, 0x2f
jne 0x41d250
mov al, byte [eax]
cmp al, bl
jne 0x41d23f
push esi
call fcn.0041cd5b
mov esi, eax
jmp 0x41d351
cmp al, 0x2a
jne 0x41d250
push 0
lea eax, [esi + 2]
push eax
call fcn.0041ec2e
jmp 0x41d238
push ebx
call fcn.0041ced9
test eax, eax
je 0x41d33e
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 0x41d2c7
mov esi, dword [esp + 0x3c]
mov ebx, eax
mov edi, dword [esp + 0x18]
mov ebp, ecx
push ebx
call fcn.0041cfcd
test eax, eax
je 0x41d2ab
inc edi
cmp esi, 1
jle 0x41d2a4
mov byte [ebp], bl
inc ebp
dec esi
movzx ebx, byte [edi]
test ebx, ebx
jne 0x41d28f
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 0x41d2ca
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.0041da66
test eax, eax
je 0x41d34c
inc dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x41d30f
push ebp
call fcn.0041d5b2
push dword [ebp + 8]
call fcn.00403e93
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x41d394
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
cmp edx, ecx
jbe 0x41d325
sub edx, ecx
push edx
push ecx
push eax
call fcn.00403f17
push 0
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.00408519
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jmp 0x41d34c
mov esi, dword [esp + 0x20]
jmp 0x41d34c
push esi
call fcn.0041ec74
mov esi, eax
cmp ebx, 0x20
jbe 0x41d364
cmp dword [esp + 0x24], 0x23
jne 0x41d360
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 0x41d20e
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x41d38e
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jbe 0x41d38e
sub esi, ecx
push esi
push ecx
push eax
call fcn.00403f17
mov esi, dword [esp + 0x10]
jmp 0x41d3b8
push dword [ebp + 8]
push 3
call fcn.00404ac5
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 0x41d38e
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