Function at 0x100259e7
Capabilities:
Get file size

Disassembly:
mov eax, 0x10067548
call fcn.100668e8
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x18], 7
xor edi, edi
inc edi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], 0xab3921de
mov dword [ebp - 0x1c], 0x9507
mov dword [ebp - 0x28], 0xffffffff
push 3
call fcn.10019f2a
xor ebx, ebx
mov dword [ebp - 0x28], ebx
jmp 0x10025a3c
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 3
jl 0x10025a30
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setne dl
mov dword [ebp - 0x28], edx
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setg cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x68]
setne dl
mov dword [eax], edx
cmp dword [ebp - 0x18], edx
jl 0x10025ccb
mov dword [ebp - 0x30], 0xae07ea4c
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ebx
jmp 0x10025cbf
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x40], 0x4b7c80bf
mov dword [ebp - 0x50], 0xd3f7cc82
mov dword [ebp - 0x18], ebx
jmp 0x10025cb2
mov dword [ebp - 0x38], 0x1d4c3f1
mov dword [ebp - 0x20], 0x5d7d231d
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], ebx
je 0x10025bfd
mov dword [ebp - 0x34], 0xe526954e
mov dword [ebp - 0x3c], 0xbb265d63
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], 0xd9cc1323
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 2
jg 0x10025c5c
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x44], 0xadaf8d98
mov dword [ebp - 0x28], ebx
cmp dword [esi + 8], ebx
je 0x10025bc3
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x5e0e
mov eax, dword [ebp - 0x3c]
setle dl
xor ecx, ecx
cmp eax, edx
setl cl
xor edx, edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
setle dl
xor eax, eax
cmp edx, 0xffff
mov edx, dword [ebp - 0x34]
setne al
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x38]
cmp edx, eax
setge cl
mov dword [ebp - 0x38], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xcc68
setg cl
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], ebx
jne 0x10025bb0
mov edx, ebx
cmp dword [ebp - 0x3c], ebx
je 0x10025bb2
mov edx, edi
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
mov edx, edi
setl cl
add ecx, dword [ebp - 0x44]
jne 0x10025bc5
mov edx, ebx
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp edx, eax
setne cl
mov dword [ebp - 0x44], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x10025b26
jmp 0x10025c5c
mov dword [ebp - 0x3c], 0x8dbec8b2
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x44]
cmp dword [eax], 7
sbb eax, eax
xor edx, edx
inc eax
add ecx, eax
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x34]
setge dl
sub edx, 0xfffffff6
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x3c]
setl dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x30], ebx
je 0x10025c76
cmp dword [ebp - 0x30], 0x225765c9
jle 0x10025c72
cmp dword [ebp - 0x40], ebx
je 0x10025c76
mov edx, edi
jmp 0x10025c78
mov edx, ebx
mov eax, dword [ebp - 0x44]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x20]
setle cl
xor edx, edx
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, 6
setne cl
xor eax, eax
cmp ecx, edx
setge al
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x30
jle 0x10025ade
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x18
jle 0x10025ac1
jmp 0x10025cdb
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x10025cdb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x68]
call fcn.10019fac
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x50], 0x50ba1bf2
mov dword [ebp - 0x34], ebx
jmp 0x10025d00
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x5c], 0xfffffffd
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 2
jl 0x10025cf2
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], ebx
jl 0x10025e5b
push 3
lea ecx, [ebp - 0x74]
call fcn.10019f2a
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
jmp 0x10025d34
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], 7
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 3
jl 0x10025d24
mov dword [ebp - 0x40], 0x486b
cmp dword [ebp - 0x40], 0x4ac3
jle 0x10025dd3
mov eax, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
xor edi, edi
and dword [ebp - 0x50], 0
mov esi, ebx
mov ebx, dword [ebp - 0x50]
mov ecx, edi
shl esi, cl
and esi, eax
mov eax, esi
lea ecx, [ebp - 0x8c]
or eax, ebx
cdq
push edx
push eax
call fcn.1000d08a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10025d83
mov eax, dword [eax]
push eax
call fcn.10051966
pop ecx
push 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001a37a
inc ebx
cmp ebx, 0x56bf
jl 0x10025d67
mov ebx, dword [ebp - 0x44]
inc edi
mov eax, dword [ebp - 0x3c]
cmp edi, 0x72c9
jl 0x10025d58
inc ebx
mov dword [ebp - 0x44], ebx
cmp ebx, 0xd48
jl 0x10025d56
inc eax
mov dword [ebp - 0x3c], eax
push 0
pop ebx
cmp eax, 0x19d0
jl 0x10025d53
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x40], 0x477d
jge 0x10025dea
push 0x10009198
call fcn.10051966
pop ecx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x70669599
mov eax, dword [ebp + eax*4 - 0x5c]
cmp eax, 0x12af048
mov eax, dword [ebp - 0x1c]
sete cl
sub edx, ecx
imul edx, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x1c]
imul ecx, edx, 3
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setle dl
sub edx, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x1c]
neg edx
sbb edx, edx
inc edx
mov ecx, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 0x1c]
add ecx, 0x86a1283a
add ecx, edx
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x5c]
cmp ecx, eax
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
setle dl
or dword [ebp - 4], 0xffffffff
mov dword [eax + 8], edx
call fcn.10019fac
dec dword [ebp - 0x1c]
jns 0x10025d12
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret