Function at 0x10b3ae9
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x24]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x28]
push edi
mov esi, ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3b7e
test byte [eax + 0x1c], 4
je 0x10b3b7e
cmp byte [eax + 0x19], 4
jb 0x10b3b7e
push 0x100b070
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, esi
call fcn.010aa918
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x200
stosd dword es:[edi], eax
lea eax, [ebp - 0x204]
push ebx
push eax
mov byte [esi + 0x114], bl
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x208]
add esp, 0xc
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x10b3bb5
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
sub eax, ecx
sar eax, 1
inc eax
mov dword [ebp - 0x21c], eax
add eax, eax
push eax
push ebx
call edi
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x10b3be4
push 8
jmp 0x10b443e
push dword [ebp - 0x208]
push dword [ebp - 0x21c]
push eax
call fcn.010a07da
cmp eax, ebx
jge 0x10b3c0e
mov ecx, dword [ebp - 0x20c]
movzx eax, ax
mov dword [ecx], eax
mov ecx, esi
call fcn.010aa918
jmp 0x10b3bdd
push ebx
push 0x60000080
push 3
push ebx
push 1
push 0x80000000
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10b3c77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b3bdd
test byte [ecx + 0x1c], 4
je 0x10b3bdd
cmp byte [ecx + 0x19], 2
jb 0x10b3bdd
push eax
push dword [ebp - 0x208]
push 0x100b070
push 0x49
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010196ed
jmp 0x10b3bdd
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b3caa
test byte [ecx + 0x1c], 4
je 0x10b3caa
cmp byte [ecx + 0x19], 4
jb 0x10b3caa
push eax
push dword [ebp - 0x208]
push 0x100b070
push 0x4a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010196ed
lea eax, [ebp - 0x248]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10b3d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x20c]
mov ecx, esi
mov dword [edi], eax
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3bdd
test byte [eax + 0x1c], 4
je 0x10b3bdd
cmp byte [eax + 0x19], 2
jb 0x10b3bdd
push dword [edi]
push dword [ebp - 0x208]
push 0x100b070
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x10b3c6d
push dword [ebp - 0x20c]
mov ecx, esi
push ebx
push ebx
call fcn.010b18db
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b3d6d
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3d59
test byte [eax + 0x1c], 4
je 0x10b3d59
cmp byte [eax + 0x19], 2
jb 0x10b3d59
push dword [ebp - 0x208]
push 0x100b070
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov edi, dword [ebp - 0x208]
mov ecx, esi
call fcn.010aa918
mov eax, edi
jmp 0x10b443f
mov eax, dword [ebp - 0x248]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x244]
push 0x10024
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x41], 1
call edi
push 0x10000
push ebx
mov dword [esi + 0x44], eax
call edi
push 0x10000
push ebx
mov dword [esi + 0x48], eax
call edi
push 0x10200
push ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x90], bl
call edi
push 0x20000
push ebx
mov dword [esi + 0x94], eax
mov byte [esi + 0xb0], bl
call edi
mov dword [esi + 0xb4], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3e1d
test byte [eax + 0x1c], 4
je 0x10b3e1d
cmp byte [eax + 0x19], 4
jb 0x10b3e1d
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 4]
push 0x100b070
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019e9a
cmp dword [esi + 0x44], ebx
je 0x10b4427
cmp dword [esi + 0x48], ebx
je 0x10b4427
cmp dword [esi + 0x4c], ebx
je 0x10b4427
mov eax, dword [esi + 0x94]
cmp eax, ebx
je 0x10b4427
cmp dword [esi + 0xb4], ebx
je 0x10b4427
push eax
call fcn.0109cd2b
push dword [esi + 0xb4]
mov dword [esi + 0x98], eax
call fcn.0109cd2b
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xb8], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xac], eax
call edi
mov dword [esi + 0xcc], eax
cmp dword [esi + 0xac], ebx
je 0x10b4411
cmp eax, ebx
je 0x10b4411
push 0x10aa76a
push ebx
mov dword [esi + 0xd0], ebx
call fcn.010b6870
mov dword [esi + 0xd4], eax
cmp eax, ebx
je 0x10b4411
mov edi, dword [ebp - 0x20c]
push edi
push dword [ebp - 0x218]
lea edx, [esi + 0xd8]
push edx
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 0x20]
push ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.010b2099
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b3f48
mov ecx, esi
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3f3d
test byte [eax + 0x1c], 4
je 0x10b3f3d
cmp byte [eax + 0x19], 2
jb 0x10b3f3d
push dword [edi]
push dword [ebp - 0x208]
push 0x100b070
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov eax, dword [ebp - 0x208]
jmp 0x10b443f
xor eax, eax
lea edi, [esi + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x218]
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x40], al
cmp byte [esi + 0x28], bl
je 0x10b4013
mov edi, dword [ebp - 0x20c]
push edi
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
call fcn.010afeb9
mov dword [ebp - 0x208], eax
mov ecx, esi
cmp eax, ebx
je 0x10b3fb7
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3f3d
test byte [eax + 0x1c], 4
je 0x10b3f3d
cmp byte [eax + 0x19], 2
jb 0x10b3f3d
push dword [edi]
push dword [ebp - 0x208]
push 0x100b070
push 0x4f
jmp 0x10b3f32
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.010b014c
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b4025
mov ecx, esi
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3f3d
test byte [eax + 0x1c], 4
je 0x10b3f3d
cmp byte [eax + 0x19], 2
jb 0x10b3f3d
push dword [edi]
push dword [ebp - 0x208]
push 0x100b070
push 0x50
jmp 0x10b3f32
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x210], eax
mov edi, dword [0x111124c]
mov edx, 0x111124c
cmp edi, edx
je 0x10b4074
test byte [edi + 0x1c], 4
je 0x10b4074
cmp byte [edi + 0x19], 4
jb 0x10b4074
push dword [esi + 0x24]
movzx eax, byte [esi + 0x28]
push dword [esi + 0x20]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
push 0x100b070
push 0x51
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.010aa678
mov edi, dword [0x111124c]
mov edx, 0x111124c
mov eax, dword [ebp - 0x210]
cmp eax, 0x1fd
jg 0x10b43c5
jl 0x10b4097
cmp dword [ebp - 0x214], 0xffe00000
ja 0x10b43c5
cmp eax, dword [esi + 0x24]
jg 0x10b43c5
jl 0x10b40b1
mov eax, dword [ebp - 0x214]
cmp eax, dword [esi + 0x20]
ja 0x10b43c5
mov ecx, 0x600
mov dword [esi + 0x84], ecx
cmp byte [esi + 0x40], bl
je 0x10b411f
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
push ebx
add eax, 0xffff
push 0x10000
adc ecx, ebx
push ecx
push eax
call fcn.01103260
add eax, 0x107f
shr eax, 0xc
add eax, 3
shl eax, 9
mov dword [esi + 0x84], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b4147
test byte [ecx + 0x1c], 4
je 0x10b4147
cmp byte [ecx + 0x19], 4
jb 0x10b4147
push eax
push 0x100b070
push 0x53
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x10b4142
mov eax, dword [0x111124c]
cmp eax, edx
je 0x10b4147
test byte [eax + 0x1c], 4
je 0x10b4147
cmp byte [eax + 0x19], 4
jb 0x10b4147
push ecx
push 0x100b070
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
push ebx
add eax, 0x1fffff
mov edi, 0x200000
push edi
adc ecx, ebx
push ecx
push eax
call fcn.01103260
mov ecx, dword [esi + 0x84]
lea eax, [eax*4 + 0x1ff]
shr eax, 9
shr ecx, 9
cmp byte [esi + 0x28], bl
je 0x10b4180
lea ecx, [ecx + eax + 1]
jmp 0x10b4182
add ecx, eax
mov dword [esi + 0x88], ecx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b41b3
test byte [eax + 0x1c], 4
je 0x10b41b3
cmp byte [eax + 0x19], 4
jb 0x10b41b3
push ecx
push 0x100b070
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
push ebx
add eax, 0x1fffff
push edi
adc ecx, ebx
push ecx
push eax
call fcn.01103260
mov ecx, dword [ebp - 0x214]
push ebx
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x210]
push 0x10000
push eax
push ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
call fcn.01103340
mov dword [esi + 0x7c], eax
cmp eax, ebx
jne 0x10b41fc
mov dword [esi + 0x7c], 0x10000
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4229
test byte [eax + 0x1c], 4
je 0x10b4229
cmp byte [eax + 0x19], 4
jb 0x10b4229
push dword [esi + 0x7c]
push 0x100b070
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
movzx eax, byte [esi + 0x28]
neg eax
sbb eax, eax
and eax, 0x10000
cdq
add eax, dword [esi + 0x18]
push ebx
adc edx, dword [esi + 0x1c]
add eax, 0x1fffff
push edi
adc edx, ebx
push edx
push eax
call fcn.01103260
lea ecx, [eax - 1]
mov dword [esi + 0x80], ecx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4281
test byte [eax + 0x1c], 4
je 0x10b4281
cmp byte [eax + 0x19], 4
jb 0x10b4281
push ecx
push 0x100b070
push 0x57
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov edi, dword [ebp - 0x20c]
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x210]
mov ecx, esi
push dword [ebp - 0x214]
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call fcn.010afc3c
push dword [ebp - 0x21c]
mov dword [ebp - 0x208], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x208], ebx
je 0x10b4315
mov ecx, esi
call fcn.010aa918
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b3f3d
test byte [eax + 0x1c], 4
je 0x10b3f3d
cmp byte [eax + 0x19], 2
jb 0x10b3f3d
push dword [edi]
push dword [ebp - 0x208]
push 0x100b070
push 0x58
jmp 0x10b3f32
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
cmp edx, ebx
je 0x10b4345
cmp dword [ebp - 0x224], ebx
je 0x10b4345
mov dword [edx], eax
mov eax, dword [ebp - 0x224]
mov dword [eax], ecx
jmp 0x10b4373
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b436f
test byte [eax + 0x1c], 4
je 0x10b436f
cmp byte [eax + 0x19], 4
jb 0x10b436f
push 0x100b070
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov byte [esi + 0x68], 1
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x23c]
mov dword [eax], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov dword [edx], ecx
mov cl, byte [esi + 0x40]
mov edx, dword [ebp - 0x240]
mov byte [edx], cl
mov ecx, dword [ebp - 0x214]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x210]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x234]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x230]
mov dword [eax + 4], ecx
xor eax, eax
jmp 0x10b443f
cmp edi, edx
je 0x10b440d
test byte [edi + 0x1c], 4
je 0x10b440d
cmp byte [edi + 0x19], 2
jb 0x10b440d
push dword [esi + 0x20]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov cl, 0x20
call fcn.01103310
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
push dword [ebp - 0x210]
sar eax, 0x1f
push 0x100b070
push 0x52
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0107bd73
push 2
jmp 0x10b4421
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
push 3
pop edi
jmp 0x10b3d5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
mov ecx, esi
call fcn.010aa918
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x24