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

Disassembly:
sub esp, 0x4c
push esi
mov esi, dword [esp + 0x58]
push esi
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
jne 0x100ecfb1
push eax
push esi
push 0xffffffffffffffff
push 0x810
push str.C:_accusoftgear_sourceDISPLAYwipes.c
call fcn.10046940
call fcn.10046b40
pop esi
add esp, 0x4c
ret 0x14
mov esi, dword [esp + 0x5c]
push edi
push ebp
lea eax, [esp + 0x10]
push ebx
push eax
push esi
call fcn.100ab330
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.100aa350
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
sub esi, eax
mov ecx, dword [esp + 0x6c]
sub edi, ebx
inc esi
inc edi
mov eax, edi
cdq
idiv ecx
mov ebp, eax
mov eax, esi
cdq
idiv ecx
lea ecx, [ebp + 1]
mov dword [esp + 0x30], ebp
mov ebx, eax
mov eax, 0x51eb851f
inc ebx
imul ecx, ebx
imul ecx
sar edx, 7
mov eax, edx
mov dword [esp + 0x20], ebx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
jne 0x100ed029
mov edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
call fcn.100a0c60
lea ecx, [ebx*4]
mov dword [esp + 0x2c], eax
push ecx
push eax
mov dword [esp + 0x30], ecx
call fcn.100a0c80
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x100ed1c1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push 0
push edi
push esi
push edx
call fcn.100ab490
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
push eax
call sym.GEAR32PO.OCX_IG_display_image
lea ecx, [esp + 0x34]
push ecx
call fcn.100ab480
test ebx, ebx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
jle 0x100ed09f
mov ecx, ebx
or eax, 0xffffffff
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
mov dword [esp + 0x64], 1
jle 0x100ed1a6
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + edx*4]
cmp eax, ecx
jge 0x100ed19c
mov edi, dword [esp + 0x64]
test edi, edi
je 0x100ed0dd
inc eax
mov dword [ebp + edx*4], eax
jmp 0x100ed0f5
add eax, 3
add esi, 2
cmp eax, ecx
mov dword [ebp + edx*4], eax
jle 0x100ed0f5
mov edi, ecx
mov dword [ebp + edx*4], ecx
sub edi, eax
add esi, edi
mov eax, dword [esp + 0x6c]
mov ecx, edx
imul ecx, eax
xor ebx, ebx
lea edi, [ecx + eax - 1]
mov eax, dword [ebp + edx*4]
inc eax
mov edx, dword [esp + 0x48]
imul eax, dword [esp + 0x6c]
dec eax
cmp eax, edx
jle 0x100ed119
mov eax, edx
push 0xcc0020
sub edx, eax
sub esp, 0x10
mov ebp, esp
sub esp, 0x10
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x78]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0xc], edx
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
call fcn.100abb80
inc esi
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x100ed194
mov ebx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, esi
cdq
idiv ebx
inc eax
push eax
mov eax, dword [esp + 0x14]
cdq
idiv ebx
mov edx, dword [esp + 0x74]
inc eax
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.100ea340
mov dword [esp + 0x64], eax
jmp 0x100ed198
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jl 0x100ed0b5
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100a12c0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.100ab610
jmp 0x100ed1df
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 0xfffffc18
push 0x868
push str.C:_accusoftgear_sourceDISPLAYwipes.c
call fcn.10046940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
push eax
push ecx
call fcn.100ab360
call fcn.10046b40
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x4c
ret 0x14