Function at 0x100bff30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
lea eax, [esp + 0x4c]
push edi
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.100abd50
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x80]
push edx
mov ebp, 1
push eax
push ecx
mov dword [esp + 0x40], ebp
call fcn.100ab3c0
lea edx, [esp + 0x30]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
call fcn.100ab410
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x84]
mov eax, ecx
sub ebx, esi
shr eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
xor edi, edi
dec edx
mov dword [esp + 0x44], esi
cmp edx, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
ja case.default.0x100bffc3
jmp dword [edx*4 + 0x100c0350]
shr ecx, 2
sub eax, ecx
sar eax, 2
mov ecx, eax
mov eax, dword [esp + 0x88]
cmp eax, edi
mov dword [esp + 0x84], ecx
je 0x100c00ec
shr esi, 2
mov eax, ebx
mov dword [esp + 0x18], 4
sub eax, esi
cdq
idiv ecx
mov dword [esp + 0x1c], eax
jmp 0x100c00ec
shr ecx, 2
sub eax, ecx
mov dword [esp + 0x84], eax
fild dword [esp + 0x84]
fmul qword [0x101136c8]
call sub.MSVCRT.dll__ftol
jmp 0x100c002c
shr ecx, 2
sub eax, ecx
sar eax, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
cmp eax, edi
je 0x100c00ec
mov dword [esp + 0x18], 2
jmp 0x100c00bc
shr ecx, 2
sub eax, ecx
mov dword [esp + 0x84], eax
fild dword [esp + 0x84]
fmul qword [0x101136d0]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
cmp eax, edi
je 0x100c00ec
shr esi, 2
mov eax, ebx
mov dword [esp + 0x18], ebp
sub eax, esi
cdq
idiv dword [esp + 0x84]
mov dword [esp + 0x1c], eax
jmp 0x100c00ec
shr ecx, 2
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
cmp eax, edi
je 0x100c00ec
mov dword [esp + 0x18], ebp
shr esi, 2
mov eax, ebx
sub eax, esi
cdq
idiv dword [esp + 0x84]
mov dword [esp + 0x1c], eax
jmp 0x100c00ec
add eax, ecx
add ebx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x3c], eax
ja 0x100c0101
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x7c]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], ebx
jbe 0x100c032f
mov esi, dword [esp + 0x78]
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
jne 0x100c0149
push edi
push ebx
push 0xfffff40c
push 0x280
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
jmp 0x100c030c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
lea ecx, [edx + 1]
xor edx, edx
div ecx
test edx, edx
jne 0x100c0172
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], edi
inc eax
mov dword [esp + 0x2c], eax
cmp ebx, edi
je 0x100c019e
mov eax, ebx
xor edx, edx
div dword [esp + 0x3c]
test edx, edx
jne 0x100c019e
mov edx, dword [esp + 0x80]
mov dword [esp + 0x88], edi
push edx
mov dword [esp + 0x30], edi
call fcn.100ab3f0
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x84]
shr ecx, 2
mov edx, eax
push 1
sub edx, ecx
mov ecx, dword [esp + 0x34]
shr ecx, 2
sub eax, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov eax, dword [esi]
lea edx, [esp + 0x58]
mov dword [esp + 0x58], edi
push edx
push eax
mov dword [esp + 0x64], edi
call fcn.100841a0
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
sub ebp, ecx
mov ecx, dword [esp + 0x18]
sub ebx, edx
cmp ecx, edi
jne 0x100c01fe
mov edi, dword [esp + 0x20]
sub edi, ebx
sar edi, 1
jmp 0x100c021d
mov eax, dword [esp + 0x88]
xor edx, edx
imul eax, dword [esp + 0x20]
div ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
shr edi, 3
add ecx, eax
add edi, ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], edi
test eax, eax
jne 0x100c0233
mov ecx, dword [esp + 0x24]
sub ecx, ebp
sar ecx, 1
jmp 0x100c0251
mov eax, dword [esp + 0x2c]
xor edx, edx
imul eax, dword [esp + 0x24]
div dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
shr ecx, 3
add edx, eax
add ecx, edx
mov dword [esp + 0x58], ecx
add ebp, ecx
mov ecx, dword [esi]
lea eax, [esp + 0x64]
add ebx, edi
push eax
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
call fcn.10043990
lea edx, [esp + 0x48]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
call fcn.10083ce0
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push ecx
call fcn.10083c10
mov eax, dword [esi]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.100439b0
mov edx, dword [esi]
push 0
mov ecx, dword [esp + 0x84]
push ecx
push edx
call fcn.100bf5f0
mov ecx, dword [esi]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.100439b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.10083c10
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x100c0306
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x94]
inc edx
push edx
push ecx
call eax
test eax, eax
je 0x100c032f
mov ebx, dword [esp + 0x38]
xor edi, edi
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
inc ebx
add esi, 4
inc ecx
cmp ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x88], ecx
jb 0x100c0122
lea edx, [esp + 0x50]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.100abde0
call sym.GEAR32PO.OCX_GPb_AF_error_check
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x1c