Function at 0x41efc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d24f6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x4ff0f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp esi, 0xffffffff
je 0x41f62a
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41f62a
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], ebx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x60], edi
test edi, edi
ja 0x41f62a
test ebx, ebx
jbe 0x41f62a
test edi, edi
ja 0x41f62a
jb 0x41f046
cmp ebx, 0xc800000
ja 0x41f62a
mov dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x40]
push ecx
call fcn.0044a8c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x41f616
mov byte [ebp - 4], 2
cmp ebx, 0x44
jne 0x41f0f3
test edi, edi
jne 0x41f0f3
push ebx
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x30]
call fcn.00454850
add esp, 4
mov byte [ebp - 4], 3
mov edi, dword [ebp + 0x28]
call fcn.00407b00
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00405410
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x41f0f3
call fcn.00405560
push edi
lea eax, [ebp - 0x24]
push eax
mov esi, 0x512d78
call fcn.00420b00
mov dword [ebp - 0x5c], 0
mov ecx, dword [0x512d90]
mov dword [ebp - 0x58], ecx
mov edx, dword [0x512d78]
mov dword [ebp - 0x5c], edx
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x24]
call fcn.00433e50
test al, al
je 0x41f0f3
mov esi, edi
call fcn.0043e4e0
add eax, 4
mov edi, dword [ebp + 0xc]
call fcn.00407b00
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x41f616
mov ebx, dword [ebp - 0x18]
push ebx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.00449980
mov byte [ebp - 4], 5
lea esi, [ebp - 0xac]
call fcn.00449a50
cmp eax, 1
jne 0x41f606
mov edx, dword [ebp + 0x1c]
mov byte [edx], al
mov eax, dword [ebp - 0x6c]
cmp eax, 1
je 0x41f152
cmp eax, 2
jne 0x41f606
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], ebx
cmp byte [ebp + 0x24], 0
je 0x41f206
cmp dword [ebp - 0x18], 0
ja 0x41f206
jb 0x41f17f
cmp ecx, 0x3200000
ja 0x41f206
mov bl, 6
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x38]
lea esi, [ebp + 0x24]
call fcn.00454850
add esp, 4
mov byte [ebp - 4], 7
call fcn.00407b00
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00405410
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x41f1ff
call fcn.00405560
push edi
lea ecx, [ebp - 0x24]
push ecx
mov esi, 0x512d78
call fcn.00420b00
mov dword [ebp - 0x54], 0
mov edx, dword [0x512d90]
mov dword [ebp - 0x50], edx
mov eax, dword [0x512d78]
mov dword [ebp - 0x54], eax
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x24]
call fcn.00433e50
test al, al
je 0x41f1ff
mov esi, edi
call fcn.0043e4e0
add eax, 4
mov edi, dword [ebp + 0xc]
call fcn.00407b00
mov dword [ebp - 4], 5
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx - 0xc], edi
jne 0x41f606
lea ecx, [ebp + 0x24]
call fcn.00405840
mov byte [ebp - 4], 9
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
lea edx, [ebp + 0x1c]
push edx
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00449c40
mov edx, dword [ebp + 0x28]
cmp edx, edi
je 0x41f2d2
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x41f2d2
lea esi, [ecx + edx]
xor eax, eax
cmp eax, dword [ebp - 0x18]
ja 0x41f2d2
jb 0x41f268
cmp esi, dword [ebp - 0x1c]
ja 0x41f2d2
cmp ecx, 0x100000
mov ebx, ecx
jb 0x41f277
mov ebx, 0x100000
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edi, dword [ebp - 0x1c]
call fcn.00420750
mov bl, 0xa
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x28]
push ecx
call fcn.00455290
add esp, 0x14
mov byte [ebp - 4], 0xb
lea edi, [ebp + 0x24]
call fcn.00407b00
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x28]
call fcn.00405410
mov eax, edi
mov edi, dword [ebp + 0x18]
call fcn.00407b00
mov byte [ebp - 4], 9
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov edx, dword [ebp + 0x24]
cmp dword [edx - 0xc], edi
je 0x41f357
mov dword [ebp - 0x2c], 0
mov eax, dword [0x512dd0]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x512db8]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp - 0x48]
push eax
mov esi, 0x512db8
call fcn.00406390
lea esi, [ebp - 0x2c]
mov edi, eax
call fcn.00421500
test al, al
je 0x41f323
push 0
mov ecx, dword [ebp + 0x24]
push ecx
push 0
call fcn.00426d40
test al, al
je 0x41f357
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x41f5fa
mov ecx, dword [ebp + 0x20]
mov byte [ecx], 1
jmp 0x41f5fa
mov edx, dword [ebp + 0x24]
cmp dword [edx - 0xc], 0
je 0x41f3ce
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov esi, 0x512d28
call fcn.00420b00
mov dword [ebp - 0x48], 0
mov edx, dword [0x512d40]
mov dword [ebp - 0x44], edx
mov eax, dword [0x512d28]
mov dword [ebp - 0x48], eax
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x2c]
call fcn.00433e50
test al, al
je 0x41f3ce
mov esi, edi
call fcn.0043e4e0
add eax, 4
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x28]
push ecx
call fcn.004486a0
add esp, 8
mov byte [ebp - 4], 0xc
mov ebx, dword [eax]
mov edi, dword [ebp + 0xc]
call fcn.0041ff50
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x28]
call fcn.00405410
mov ebx, edi
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
jne 0x41f5a3
lea eax, [ebp - 0x11c]
push eax
call fcn.0041d7b0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x88]
mov edi, dword [ecx + 0x28]
lea eax, [ebp - 0xac]
call fcn.00449ce0
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xd8], edx
xor esi, esi
mov dword [ebp - 0x4c], esi
cmp esi, dword [ebp - 0x70]
jae 0x41f47e
lea eax, [ebp - 0x34]
push eax
call fcn.0041d750
mov bl, 0xf
mov byte [ebp - 4], bl
mov ecx, esi
lea eax, [ebp - 0xac]
call fcn.00449b80
mov dword [ebp - 0x30], eax
lea ecx, [ebp + 0x28]
push ecx
lea edx, [ebp - 0xac]
push edx
mov ecx, esi
call fcn.00449ba0
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x34]
call fcn.00407b00
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x28]
call fcn.00405410
mov ebx, edi
lea edi, [ebp - 0xd4]
call fcn.00420910
mov byte [ebp - 4], 0xe
mov eax, ebx
push eax
call fcn.0040d080
inc esi
jmp 0x41f413
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00449d70
mov dword [ebp - 4], 0xd
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0x18]
call fcn.00405840
mov byte [ebp - 4], 0x12
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x41f4c6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x10c], 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp + 0x28]
push ecx
push esi
call fcn.0044fbf0
mov byte [ebp - 4], 0x13
call fcn.00407b00
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x28]
call fcn.00405410
push 0xf
lea ecx, [ebp + 0x1c]
call fcn.00440490
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
lea edx, [ebp + 0x28]
push edx
call fcn.00448560
mov byte [ebp - 4], 0x15
push edi
call fcn.004057e0
add esp, 0xc
mov bl, al
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x28]
call fcn.00405410
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x1c]
call fcn.00405410
test bl, bl
je 0x41f584
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0x28]
call fcn.00405900
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0x28]
call fcn.00405a60
push 0
push str.c:windows_
lea ecx, [ebp + 0x28]
call fcn.00405a20
test eax, eax
jne 0x41f578
push 0x4e3f07
mov ecx, edi
call fcn.00405470
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x28]
call fcn.00405410
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x18]
call fcn.00405410
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0041f660
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
je 0x41f5fa
push ebx
call fcn.0041ffe0
xor ecx, ecx
mov edx, 0x4e9d74
mov esi, ebx
call fcn.00405530
cmp eax, 0xffffffff
je 0x41f5fa
lea ecx, [eax + 1]
mov edx, 0x4e9d78
call fcn.00405530
cmp eax, 0xffffffff
je 0x41f5fa
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
mov edx, ebx
call fcn.00420380
mov byte [ebp - 4], 0x17
mov edi, ebx
call fcn.00407b00
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
call fcn.00405410
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x24]
call fcn.00405410
mov byte [ebp - 4], 1
lea edx, [ebp - 0xac]
push edx
call fcn.00449a00
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.0044a9b0
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24