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

Disassembly:
sub esp, 0xcc
push edi
mov edi, dword [esp + 0xd8]
push edi
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x100edadb
mov ecx, dword [esp + 0xe0]
mov eax, 2
push esi
push ebp
cmp ecx, eax
push ebx
jge 0x100ed6d6
mov dword [esp + 0xec], eax
mov esi, dword [esp + 0xe8]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.100ab330
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.100aa350
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
sub esi, ebx
mov ebx, dword [esp + 0x28]
sub ebx, ecx
lea edx, [esp + 0x40]
inc esi
inc ebx
push edx
push 0
push ebx
push esi
push eax
call fcn.100ab490
lea ecx, [esp + 0x48]
mov ebp, eax
mov edx, dword [esp + 0x14]
push ecx
push 0
push ebx
push esi
push edx
mov dword [esp + 0x24], ebp
call fcn.100ab490
mov esi, eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
or eax, 0xffffffff
push ebp
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x24]
push edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], ecx
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x20], 0
call sym.GEAR32PO.OCX_IG_display_image
lea eax, [esp + 0x3c]
push eax
call fcn.100ab480
xor edi, edi
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x100eda63
mov eax, dword [esp + 0xec]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x94]
push eax
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0xfc]
lea eax, [esp + 0x8c]
push edx
push eax
push ecx
lea edx, [esp + 0x38]
push edi
push edx
call fcn.100ed610
push 0xcc0020
mov ebp, ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov ebx, dword [esp + 0x40]
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x74]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.100abbd0
push 0xcc0020
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x94]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x98]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x34]
push ecx
push esi
call fcn.100abbd0
push 0xcc0020
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xa8]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x34]
push edx
push esi
call fcn.100abbd0
test ebx, ebx
jle 0x100ed9a4
push 0xcc0020
mov eax, dword [esp + 0xb4]
sub esp, 0x10
mov ecx, dword [esp + 0xcc]
mov edx, esp
sub esp, 0x10
mov dword [edx], ebp
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x34]
push eax
push esi
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
call fcn.100abb80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
inc ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x9c]
push eax
add edx, 2
push ecx
push esi
mov dword [esp + 0xb0], edx
call fcn.100abc40
push 0xcc0020
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xc4]
sub esp, 0x10
lea eax, [edx - 1]
mov edx, esp
sub esp, 0x10
mov dword [edx], ebp
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xec]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, esp
push esi
mov dword [edx], ebp
mov ebp, dword [esp + 0xe8]
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [edx + 0xc], ecx
call fcn.100abb80
lea ecx, [esp + 0xcc]
mov edx, dword [esp + 0xe8]
push ecx
push edx
call fcn.100ab260
push edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.100ea340
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add edi, edx
cmp edi, eax
jl 0x100ed80b
mov ebp, dword [esp + 0x10]
push 0xcc0020
mov ecx, dword [esp + 0xb4]
sub esp, 0x10
mov edx, dword [esp + 0xcc]
mov edi, esp
sub esp, 0x10
mov dword [edi], ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov edi, esp
push ebp
mov dword [edi], ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [edi + 0xc], edx
call fcn.100abb80
mov ecx, dword [esp + 0x40]
push ecx
push ebp
call fcn.100ab610
mov edx, dword [esp + 0x48]
push edx
push esi
call fcn.100ab610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe8]
push eax
push ecx
call fcn.100ab360
pop ebx
pop ebp
pop esi
call fcn.10046b40
pop edi
add esp, 0xcc
ret 0x14
push 0
push edi
push 0xffffffffffffffff
push 0x995
push str.C:_accusoftgear_sourceDISPLAYwipes.c
call fcn.10046940
call fcn.10046b40
pop edi
add esp, 0xcc
ret 0x14