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

Disassembly:
sub esp, 0xf0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
cmp esi, 0xe
push edi
jge 0x100f03eb
mov esi, 0xe
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.100aa350
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub ebx, edi
mov edi, dword [esp + 0x8c]
inc ebx
sub edi, ecx
inc edi
call fcn.100a0c60
mov ecx, eax
lea eax, [ebx + ebx]
lea esi, [esi + esi*2]
mov dword [esp + 0x74], ecx
cdq
shl esi, 2
idiv esi
mov ebp, eax
inc ebp
cmp ebp, 2
jge 0x100f0446
mov ebp, 2
lea edx, [edi + 0xc]
mov eax, 0x4ec4ec4f
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
imul esi, ebp
mov eax, esi
mov dword [esp + 0x6c], esi
shl eax, 5
push eax
push ecx
mov dword [esp + 0x64], eax
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x38], eax
jne 0x100f049e
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x5c]
push esi
push ecx
push 0xfffffc18
push 0xf5c
push str.C:_accusoftgear_sourceDISPLAYwipes.c
call fcn.10046940
jmp 0x100f0d09
mov edx, dword [esp + 0x108]
push edx
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x100f0cfa
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.100ab330
lea edx, [esp + 0xb4]
mov eax, dword [esp + 0x18]
push edx
push 0
push edi
push ebx
push eax
call fcn.100ab490
lea ecx, [esp + 0xb8]
xor ebx, ebx
mov edx, dword [esp + 0x18]
push ecx
push ebx
push 0xd
push 0xc
push edx
mov dword [esp + 0x78], eax
call fcn.100ab490
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
lea eax, [esp + 0xc0]
push eax
push ebx
push 0xd
push 0xd
push ecx
call fcn.100ab490
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
push ebx
push 0xd
push 0xc
push eax
call fcn.100ab490
lea ecx, [esp + 0x98]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push 0xd
push 0xc
push edx
mov dword [esp + 0x7c], eax
call fcn.100ab490
mov edi, eax
lea eax, [esp + 0xa8]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push 0xd
push 0xc
push ecx
mov dword [esp + 0xb4], edi
call fcn.100ab490
lea edx, [esp + 0xc4]
push edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
push ebx
push 0xd
push 0xc
push eax
call fcn.100ab490
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push 0xd
push 0xc
push edx
mov dword [esp + 0x58], eax
call fcn.100ab490
mov dword [esp + 0x48], eax
lea eax, [esp + 0xbc]
push eax
mov ecx, dword [esp + 0x1c]
push ebx
push 0xd
push 0xc
push ecx
call fcn.100ab490
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
push ebx
push 0xd
push 0xc
push eax
call fcn.100ab490
lea ecx, [esp + 0x90]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push 0xd
push 0xc
push edx
mov dword [esp + 0x44], eax
call fcn.100ab490
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xac]
push eax
push ebx
push 0xd
push 0xc
push ecx
call fcn.100ab490
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
push edx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
push eax
call sym.GEAR32PO.OCX_IG_display_image
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
push 0
mov bl, 0xff
push ecx
push edx
mov dword [esp + 0x70], 0xd
mov dword [esp + 0x6c], 0xc
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2a], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x28], 0
call fcn.100aa280
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x44]
push eax
push 0
push 0
push ecx
call fcn.100ef590
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x44]
push edx
push 0
push 2
push eax
call fcn.100ef590
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x58]
push 0
push ecx
push edx
call fcn.100aa280
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x34]
push eax
push 0
push 0
push ecx
call fcn.100ef840
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x34]
push edx
push 0
push 1
push eax
call fcn.100ef840
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x34]
push ecx
push 0
push 2
push edx
call fcn.100ef840
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x58]
push 0
push eax
push ecx
call fcn.100aa280
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x2c]
push edx
push 0
push 0
push eax
call fcn.100efb20
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x2c]
push ecx
push 0
push 1
push edx
call fcn.100efb20
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push 0
push 2
push ecx
call fcn.100efb20
lea edx, [esp + 0x4c]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push 0
push edx
push eax
call fcn.100aa280
lea ecx, [esp + 0x14]
push ecx
push 0
mov edx, dword [esp + 0x50]
push 0
push edx
call fcn.100ef590
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x48]
push eax
push 0
push 2
push ecx
call fcn.100ef590
lea edx, [esp + 0x4c]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x58]
push 0
push edx
push eax
call fcn.100aa280
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x30]
push ecx
push 0
push 0
push edx
call fcn.100ef840
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x30]
push eax
push 0
push 1
push ecx
call fcn.100ef840
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x30]
push edx
push 0
push 2
push eax
call fcn.100ef840
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x58]
push 0
push ecx
push edx
call fcn.100aa280
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
push 0
push 0
push ecx
call fcn.100efb20
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x28]
push edx
push 0
push 1
push eax
call fcn.100efb20
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x28]
push ecx
push 0
push 2
push edx
call fcn.100efb20
mov byte [esp + 0x26], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x24], 0
mov al, 0x7f
mov ebx, dword [esp + 0x68]
mov byte [esp + 0x1e], al
mov byte [esp + 0x1d], al
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x58]
push 0
push eax
push ebx
mov byte [esp + 0x34], 0
call fcn.100aa280
lea ecx, [esp + 0x1c]
push ecx
push 0
push 2
push ebx
call fcn.100ef590
lea edx, [esp + 0x24]
push edx
push 0
push 0
push ebx
call fcn.100ef590
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x58]
push 0
push eax
push edi
call fcn.100aa280
lea ecx, [esp + 0x1c]
push ecx
push 0
push 2
push edi
call fcn.100ef840
lea edx, [esp + 0x1c]
push edx
push 0
push 1
push edi
call fcn.100ef840
lea eax, [esp + 0x24]
push eax
push 0
push 0
push edi
call fcn.100ef840
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x10]
mov ebx, dword [esp + 0x5c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x58]
push 0
push ecx
push ebx
call fcn.100aa280
lea edx, [esp + 0x1c]
push edx
push 0
push 2
push ebx
call fcn.100efb20
lea eax, [esp + 0x1c]
push eax
push 0
push 1
push ebx
call fcn.100efb20
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push ebx
call fcn.100efb20
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xd0], ecx
xor ecx, ecx
mov dword [esp + 0xe8], edi
test esi, esi
mov dword [esp + 0xec], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], edx
mov dword [esp + 0x40], ecx
jle 0x100f0a6c
mov eax, ebp
shl eax, 5
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, ecx
xor edi, edi
cdq
idiv ebp
test ebp, ebp
mov ebx, 0xfffffff4
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x60], eax
jle 0x100f0a50
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov esi, eax
mov eax, dword [esp + 0x88]
cdq
lea ecx, [ebp - 1]
idiv ecx
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, edi
lea ecx, [ebp - 1]
imul eax, dword [esp + 0x88]
mov esi, edx
cdq
idiv ecx
mov edx, dword [esp + 0x20]
push edx
add esi, eax
mov eax, dword [esp + 0x64]
push eax
push ebx
push eax
push esi
call fcn.100eee00
inc edi
mov ebx, esi
mov ecx, dword [esp + 0x20]
add ecx, 0x20
cmp edi, ebp
mov dword [esp + 0x20], ecx
jl 0x100f09f4
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x3c]
add ecx, ebp
add edx, eax
cmp ecx, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
jl 0x100f09d2
xor edx, edx
xor ebx, ebx
xor eax, eax
test esi, esi
jle 0x100f0a8f
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x10]
mov ecx, dword [edi]
cmp ecx, edx
jle 0x100f0a87
mov edx, ecx
mov ebx, eax
inc eax
add edi, 0x20
cmp eax, esi
jl 0x100f0a7d
lea edx, [esp + 0xc8]
push edx
call fcn.100ab480
shl ebx, 5
mov eax, dword [esp + 0x38]
xor edi, edi
add ebx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0xb0], ebx
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jle 0x100f0bbe
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0xf0]
push edx
push eax
call fcn.100ab260
lea eax, [edi - 1]
test eax, eax
jge 0x100f0ae5
mov eax, 2
test esi, esi
jle 0x100f0b79
mov esi, dword [esp + 0x38]
lea ecx, [edi*4]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + ecx + 0xcc]
mov ebp, dword [esp + ecx + 0xd8]
mov ecx, dword [esp + ecx + 0xe4]
shl eax, 2
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + eax + 0xcc]
mov eax, dword [esp + eax + 0xd8]
mov dword [esp + 0x70], edx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x40]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push esi
call fcn.100efe00
add esi, 0x20
dec edi
jne 0x100f0b2e
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb0]
mov edi, dword [esp + 0x20]
inc edi
cmp edi, 2
mov dword [esp + 0x20], edi
jle 0x100f0b8f
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push eax
push ecx
call fcn.100ea340
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x14]
cmp edx, eax
jg 0x100f0ac4
mov eax, dword [esp + 0x80]
push 0xcc0020
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov edx, dword [esp + 0x9c]
mov edi, esp
mov esi, dword [esp + 0xa0]
sub esp, 0x10
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
mov edi, esp
mov dword [edi], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x88]
push esi
push eax
call fcn.100abb80
mov ecx, dword [esp + 0xb4]
push ecx
push esi
call fcn.100ab610
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.100ab610
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.100ab610
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call fcn.100ab610
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.100ab610
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.100ab610
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.100ab610
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x78]
push edx
push eax
call fcn.100ab610
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x7c]
push ecx
push edx
call fcn.100ab610
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x68]
push eax
push ecx
call fcn.100ab610
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
push edx
push eax
call fcn.100ab610
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x5c]
push ecx
push edx
call fcn.100ab610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10c]
push eax
push ecx
call fcn.100ab360
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x74]
push edx
push esi
call fcn.100a1010
push esi
call fcn.100a12c0
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x14