Function at 0x10b39a8
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 [0x111027c]
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 [0x111024c]
cmp eax, 0x111024c
je 0x10b3a3d
test byte [eax + 0x1c], 4
je 0x10b3a3d
cmp byte [eax + 0x19], 4
jb 0x10b3a3d
push 0x100b080
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov ecx, esi
call fcn.010aa7d9
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 0x10b3a74
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 0x10b3aa3
push 8
jmp 0x10b42fd
push dword [ebp - 0x208]
push dword [ebp - 0x21c]
push eax
call fcn.010a06c8
cmp eax, ebx
jge 0x10b3acd
mov ecx, dword [ebp - 0x20c]
movzx eax, ax
mov dword [ecx], eax
mov ecx, esi
call fcn.010aa7d9
jmp 0x10b3a9c
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 0x10b3b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b3a9c
test byte [ecx + 0x1c], 4
je 0x10b3a9c
cmp byte [ecx + 0x19], 2
jb 0x10b3a9c
push eax
push dword [ebp - 0x208]
push 0x100b080
push 0x49
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
jmp 0x10b3a9c
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b3b69
test byte [ecx + 0x1c], 4
je 0x10b3b69
cmp byte [ecx + 0x19], 4
jb 0x10b3b69
push eax
push dword [ebp - 0x208]
push 0x100b080
push 0x4a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
lea eax, [ebp - 0x248]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10b3bcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x20c]
mov ecx, esi
mov dword [edi], eax
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3a9c
test byte [eax + 0x1c], 4
je 0x10b3a9c
cmp byte [eax + 0x19], 2
jb 0x10b3a9c
push dword [edi]
push dword [ebp - 0x208]
push 0x100b080
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x10b3b2c
push dword [ebp - 0x20c]
mov ecx, esi
push ebx
push ebx
call fcn.010b179a
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b3c2c
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3c18
test byte [eax + 0x1c], 4
je 0x10b3c18
cmp byte [eax + 0x19], 2
jb 0x10b3c18
push dword [ebp - 0x208]
push 0x100b080
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov edi, dword [ebp - 0x208]
mov ecx, esi
call fcn.010aa7d9
mov eax, edi
jmp 0x10b42fe
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 [0x111024c]
cmp eax, 0x111024c
je 0x10b3cdc
test byte [eax + 0x1c], 4
je 0x10b3cdc
cmp byte [eax + 0x19], 4
jb 0x10b3cdc
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 4]
push 0x100b080
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01100308
cmp dword [esi + 0x44], ebx
je 0x10b42e6
cmp dword [esi + 0x48], ebx
je 0x10b42e6
cmp dword [esi + 0x4c], ebx
je 0x10b42e6
mov eax, dword [esi + 0x94]
cmp eax, ebx
je 0x10b42e6
cmp dword [esi + 0xb4], ebx
je 0x10b42e6
push eax
call fcn.0109cc1a
push dword [esi + 0xb4]
mov dword [esi + 0x98], eax
call fcn.0109cc1a
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 0x10b42d0
cmp eax, ebx
je 0x10b42d0
push 0x10aa62b
push ebx
mov dword [esi + 0xd0], ebx
call fcn.010b66c0
mov dword [esi + 0xd4], eax
cmp eax, ebx
je 0x10b42d0
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.010b1f58
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b3e07
mov ecx, esi
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3dfc
test byte [eax + 0x1c], 4
je 0x10b3dfc
cmp byte [eax + 0x19], 2
jb 0x10b3dfc
push dword [edi]
push dword [ebp - 0x208]
push 0x100b080
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
mov eax, dword [ebp - 0x208]
jmp 0x10b42fe
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 0x10b3ed2
mov edi, dword [ebp - 0x20c]
push edi
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
call fcn.010afd78
mov dword [ebp - 0x208], eax
mov ecx, esi
cmp eax, ebx
je 0x10b3e76
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3dfc
test byte [eax + 0x1c], 4
je 0x10b3dfc
cmp byte [eax + 0x19], 2
jb 0x10b3dfc
push dword [edi]
push dword [ebp - 0x208]
push 0x100b080
push 0x4f
jmp 0x10b3df1
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.010b000b
mov dword [ebp - 0x208], eax
cmp eax, ebx
je 0x10b3ee4
mov ecx, esi
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3dfc
test byte [eax + 0x1c], 4
je 0x10b3dfc
cmp byte [eax + 0x19], 2
jb 0x10b3dfc
push dword [edi]
push dword [ebp - 0x208]
push 0x100b080
push 0x50
jmp 0x10b3df1
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x210], eax
mov edi, dword [0x111024c]
mov edx, 0x111024c
cmp edi, edx
je 0x10b3f33
test byte [edi + 0x1c], 4
je 0x10b3f33
cmp byte [edi + 0x19], 4
jb 0x10b3f33
push dword [esi + 0x24]
movzx eax, byte [esi + 0x28]
push dword [esi + 0x20]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
push 0x100b080
push 0x51
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.010aa501
mov edi, dword [0x111024c]
mov edx, 0x111024c
mov eax, dword [ebp - 0x210]
cmp eax, 0x1fd
jg 0x10b4284
jl 0x10b3f56
cmp dword [ebp - 0x214], 0xffe00000
ja 0x10b4284
cmp eax, dword [esi + 0x24]
jg 0x10b4284
jl 0x10b3f70
mov eax, dword [ebp - 0x214]
cmp eax, dword [esi + 0x20]
ja 0x10b4284
mov ecx, 0x600
mov dword [esi + 0x84], ecx
cmp byte [esi + 0x40], bl
je 0x10b3fde
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.01103080
add eax, 0x107f
shr eax, 0xc
add eax, 3
shl eax, 9
mov dword [esi + 0x84], eax
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10b4006
test byte [ecx + 0x1c], 4
je 0x10b4006
cmp byte [ecx + 0x19], 4
jb 0x10b4006
push eax
push 0x100b080
push 0x53
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x10b4001
mov eax, dword [0x111024c]
cmp eax, edx
je 0x10b4006
test byte [eax + 0x1c], 4
je 0x10b4006
cmp byte [eax + 0x19], 4
jb 0x10b4006
push ecx
push 0x100b080
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
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.01103080
mov ecx, dword [esi + 0x84]
lea eax, [eax*4 + 0x1ff]
shr eax, 9
shr ecx, 9
cmp byte [esi + 0x28], bl
je 0x10b403f
lea ecx, [ecx + eax + 1]
jmp 0x10b4041
add ecx, eax
mov dword [esi + 0x88], ecx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4072
test byte [eax + 0x1c], 4
je 0x10b4072
cmp byte [eax + 0x19], 4
jb 0x10b4072
push ecx
push 0x100b080
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
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.01103080
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.01103160
mov dword [esi + 0x7c], eax
cmp eax, ebx
jne 0x10b40bb
mov dword [esi + 0x7c], 0x10000
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b40e8
test byte [eax + 0x1c], 4
je 0x10b40e8
cmp byte [eax + 0x19], 4
jb 0x10b40e8
push dword [esi + 0x7c]
push 0x100b080
push 0x56
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
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.01103080
lea ecx, [eax - 1]
mov dword [esi + 0x80], ecx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4140
test byte [eax + 0x1c], 4
je 0x10b4140
cmp byte [eax + 0x19], 4
jb 0x10b4140
push ecx
push 0x100b080
push 0x57
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
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.010afafd
push dword [ebp - 0x21c]
mov dword [ebp - 0x208], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x208], ebx
je 0x10b41d4
mov ecx, esi
call fcn.010aa7d9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b3dfc
test byte [eax + 0x1c], 4
je 0x10b3dfc
cmp byte [eax + 0x19], 2
jb 0x10b3dfc
push dword [edi]
push dword [ebp - 0x208]
push 0x100b080
push 0x58
jmp 0x10b3df1
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 0x10b4204
cmp dword [ebp - 0x224], ebx
je 0x10b4204
mov dword [edx], eax
mov eax, dword [ebp - 0x224]
mov dword [eax], ecx
jmp 0x10b4232
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b422e
test byte [eax + 0x1c], 4
je 0x10b422e
cmp byte [eax + 0x19], 4
jb 0x10b422e
push 0x100b080
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
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 0x10b42fe
cmp edi, edx
je 0x10b42cc
test byte [edi + 0x1c], 4
je 0x10b42cc
cmp byte [edi + 0x19], 2
jb 0x10b42cc
push dword [esi + 0x20]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov cl, 0x20
call fcn.01103130
push eax
push dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
push dword [ebp - 0x210]
sar eax, 0x1f
push 0x100b080
push 0x52
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.01019e4d
push 2
jmp 0x10b42e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
push 3
pop edi
jmp 0x10b3c1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20c]
mov dword [ecx], eax
mov ecx, esi
call fcn.010aa7d9
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x24