Function at 0x10024568
Capabilities:
Get file size

Disassembly:
mov eax, 0x1006540f
call fcn.10064688
sub esp, 0x9c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x4c], edx
xor ebx, ebx
mov dword [ebp - 0x28], esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [esi + 0x10], ebx
jne 0x10024594
xor al, al
jmp 0x10024ab4
mov dword [edx], ebx
mov dword [ebp - 0x30], 0x8b108f82
mov dword [ebp - 0x18], 0xc3eee2fd
mov dword [ebp - 0x18], 0xf7d65121
mov dword [ebp - 0x18], 0x999d94b4
mov dword [ebp - 0x18], 0x1d21f1eb
mov dword [ebp - 0x50], 0xec17e5c2
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], 0x5f07c70a
mov dword [ebp - 0x18], eax
mov eax, 0x714ffd81
mov dword [ebp - 0x18], 0xa4c924b5
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x1c], 0x13de
cmp dword [ebp - 0x1c], 0x140c
jle 0x10024670
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x14], ebx
mov eax, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
add eax, ebx
lea ecx, [esi + edi]
and eax, ecx
mov ecx, 0x1060e618
cdq
push edx
push eax
call fcn.1001b046
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x27bf
jl 0x10024622
inc ebx
push 0
mov dword [ebp - 0x14], ebx
cmp ebx, 0x4a8c
pop ebx
jl 0x1002461a
inc esi
cmp esi, 0x1119
jl 0x10024617
inc edi
cmp edi, 0x1e09
jl 0x10024615
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0xfffffffb
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], 0x1117
jge 0x10024692
mov edx, 0x10009130
mov ecx, 0x1060e618
call fcn.1001d551
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 0xdc0f
mov dword [ebp - 0x20], 0x6a77
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x14], ebx
jmp 0x100246ea
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x40], 0xae3d4752
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x100246dc
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x40], ebx
jne 0x10024743
mov eax, dword [ebp - 0x54]
xor edx, edx
push 2
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
mov eax, dword [ebp - 0x40]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x44]
setg cl
sub ecx, eax
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x6c]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, eax
mov eax, dword [ebp - 0x28]
sub ecx, eax
jne 0x10024743
mov edx, ebx
jmp 0x10024746
xor edx, edx
inc edx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
push 0x10
setge cl
pop edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], edi
jmp 0x100247af
mov dword [ebp - 0x30], ebx
jmp 0x100247a6
push 1
lea ecx, [ebp - 0x60]
call fcn.1001b277
mov dword [ebp - 0x14], ebx
jmp 0x1002477f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 0x3f559cd
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1002476f
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], 0
je 0x10024793
call fcn.10024348
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
mov dword [eax], ecx
lea ecx, [ebp - 0x60]
call fcn.1001b2f9
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x30
jne 0x10024760
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xfffffff8
jl 0x1002475b
cmp dword [esi + 0x14], edi
jb 0x100247be
mov ecx, dword [esi]
jmp 0x100247c0
mov ecx, esi
mov dword [ebp - 0x48], ecx
cmp dword [esi + 0x14], edi
jb 0x100247cc
mov edx, dword [esi]
jmp 0x100247ce
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, eax
je 0x10024ab2
mov al, byte [ecx]
cmp al, 0x30
jl 0x100247f6
cmp al, 0x39
jg 0x100247f6
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x4c]
call fcn.10024356
mov ecx, dword [ebp - 0x48]
inc ecx
jmp 0x100247c0
mov dword [ebp - 0x20], 0xad313dd3
mov dword [ebp - 0x20], 0x1c
cmp dword [ebp - 0x20], 0xffffffee
jne 0x100248e3
call fcn.1002436a
mov dword [ebp - 0x24], 0x1025
cmp dword [ebp - 0x24], 0x13e9
jle 0x100248be
push 0xd33
push ebx
push ebx
push 0x13e0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov edi, ebx
mov dword [ebp - 0x30], ebx
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov eax, edi
mov ecx, ebx
cdq
idiv esi
mov dword [ebp - 0x28], ecx
mov eax, edx
mov dword [ebp - 0x14], eax
mov edi, ecx
mov esi, 0x7e97
mov ecx, edi
sar eax, cl
lea ecx, [ebp - 0x90]
cdq
push edx
push eax
call fcn.1000d5ba
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10024875
mov eax, dword [eax]
push eax
call fcn.1004f716
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.1001b6c7
mov eax, dword [ebp - 0x14]
dec edi
dec esi
jne 0x10024859
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x2ac1
jl 0x10024852
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x74dc
jl 0x10024843
inc edi
mov dword [ebp - 0x30], edi
cmp edi, 0x4407
jl 0x1002483e
call fcn.1002438b
cmp dword [ebp - 0x24], 0xf55
jge 0x100248d7
push 0x10009174
call fcn.1004f716
pop ecx
or dword [ebp - 4], 0xffffffff
dec dword [ebp - 0x20]
jmp 0x10024804
mov eax, dword [ebp - 0x4c]
xor esi, esi
inc esi
mov dword [eax], ebx
mov dword [ebp - 0x2c], 0xfffffff9
mov dword [ebp - 0x24], 0xaed23b61
mov dword [ebp - 0x3c], 0xb0b4ef66
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0xcc511ec1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x2f1f
cmp dword [ebp - 0x1c], 0x2f9d
jle 0x100249b6
mov edi, ebx
mov dword [ebp - 0x14], ebx
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov eax, edi
mov dword [ebp - 0x18], ebx
cdq
mov edi, ebx
idiv esi
mov dword [ebp - 0x28], 0x5fa1
mov dword [ebp - 0x34], edx
mov esi, ebx
mov dword [ebp - 0x24], 0x509c
mov eax, esi
lea ecx, [ebp - 0xa8]
cdq
push edx
push eax
call fcn.1000d5ba
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10024969
mov eax, dword [eax]
push eax
call fcn.1004f716
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.1001b6c7
add esi, edi
dec dword [ebp - 0x24]
jne 0x1002494f
add edi, dword [ebp - 0x34]
dec dword [ebp - 0x28]
jne 0x10024946
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x6132
jl 0x10024932
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x326f
jl 0x1002492d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
xor esi, esi
inc esi
mov dword [ebp - 0x18], 4
cmp dword [ebp - 0x1c], 0x2b50
jge 0x100249d1
push 0x10009194
call fcn.1004f716
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x100249e4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x100249da
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], esi
sbb eax, eax
xor edx, edx
neg eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
lea ecx, [ebp - 0x3c]
setl dl
sub edx, 0x29b85755
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x2c]
call fcn.100243da
mov dword [ebp - 0x18], 0x4a00
cmp dword [ebp - 0x18], 0x4bfb
jle 0x1002458d
mov esi, ebx
mov dword [ebp - 0x3c], ebx
mov edi, ebx
mov eax, edi
mov dword [ebp - 0x28], 0x7adc
mov dword [ebp - 0x24], eax
and eax, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], eax
mov esi, eax
mov eax, esi
mov ecx, 0x1060e618
or eax, ebx
cdq
push edx
push eax
call fcn.1001b046
inc ebx
cmp ebx, 0x2725
jl 0x10024a6c
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
dec eax
dec dword [ebp - 0x28]
push 0
mov dword [ebp - 0x24], eax
pop ebx
jne 0x10024a62
inc edi
cmp edi, 0x5c53
jl 0x10024a56
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, 0x405c
jl 0x10024a54
jmp 0x1002458d
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret