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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1c], edi
je 0x4713f5
cmp dword [esi + 0x24], edi
jbe 0x4713f5
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], edi
jmp 0x471140
test byte [eax + 0x18], 1
je 0x47113d
cmp dword [eax + 8], edi
je 0x47113d
inc dword [ebp - 8]
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x47112f
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x38]
jbe 0x47117f
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x47115e
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x34], 0
pop ecx
mov eax, dword [ebp - 8]
shl eax, 3
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi + 0x34], eax
jne 0x471179
mov edi, 0x8007000e
jmp 0x47117f
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
test edi, edi
mov eax, dword [esi + 0x2c]
jl 0x4711c4
xor edx, edx
test eax, eax
je 0x4711ae
test byte [eax + 0x18], 1
je 0x4711a9
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4711a9
mov ebx, dword [esi + 0x34]
mov dword [edx + ebx], ecx
mov ecx, dword [esi + 0x34]
mov dword [edx + ecx + 4], eax
add edx, 8
mov eax, dword [eax + 0xc]
jmp 0x471188
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x4711c4
mov eax, dword [esi + 0x34]
lea ecx, [eax + ecx*8]
push ecx
push eax
call fcn.00471044
pop ecx
pop ecx
xor ebx, ebx
and dword [ebp - 4], ebx
test edi, edi
mov dword [ebp - 0x10], ebx
jl 0x47142d
mov eax, dword [ebp - 8]
cmp ebx, eax
jge 0x4713f1
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + ebx*8 + 4]
dec eax
cmp ebx, eax
mov dword [ecx + 0x1c], esi
je 0x471208
test ebx, ebx
jle 0x4713e5
mov eax, dword [esi + 0x34]
lea eax, [eax + ebx*8]
mov ecx, dword [eax - 8]
inc ecx
cmp dword [eax], ecx
jbe 0x4713e5
mov eax, ebx
sub eax, dword [ebp - 4]
cmp eax, 1
jle 0x4712ec
mov eax, dword [esi + 0x34]
lea eax, [eax + ebx*8]
mov ecx, dword [eax - 8]
inc ecx
cmp dword [eax], ecx
jne 0x471228
inc ebx
mov dword [ebp - 0x10], ebx
mov eax, ebx
sub eax, dword [ebp - 4]
mov ecx, esi
push eax
mov dword [ebp - 0x14], eax
call fcn.0046fe53
mov edi, eax
test edi, edi
jl 0x4713e2
mov eax, dword [ebp - 4]
mov ebx, dword [esi + 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x471250
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x471286
push dword [esi + 0x14]
lea ecx, [esi + 0x44]
push ebx
call fcn.00472a9d
mov edi, eax
test edi, edi
jl 0x47127c
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [eax + ecx*8 + 4]
mov edx, dword [ecx]
lea eax, [esi + 0x44]
push eax
call dword [edx + 4]
mov edi, eax
add ebx, dword [esi + 0x14]
inc dword [ebp - 0xc]
test edi, edi
jge 0x47124d
test edi, edi
mov ebx, dword [ebp - 0x10]
jne 0x4712cf
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ecx*8 + 4]
call fcn.0047007e
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push edi
push edi
push dword [eax + 4]
push dword [eax]
push ecx
call dword [edx + 0x14]
mov edi, eax
test edi, edi
jne 0x4712cf
mov edx, dword [esi + 0x14]
imul edx, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edi
push edx
push dword [esi + 0x3c]
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jl 0x4713e2
mov ecx, dword [ebp - 4]
jmp 0x4712e6
mov eax, dword [esi + 0x34]
mov eax, dword [eax + ecx*8 + 4]
and dword [eax + 0x18], 0xfffffffe
inc ecx
cmp ecx, ebx
jl 0x4712da
jmp 0x471369
push 1
mov ecx, esi
call fcn.0046fe53
mov edi, eax
test edi, edi
jl 0x4713e2
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 4]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 4]
mov edi, eax
test edi, edi
jne 0x471355
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ecx*8 + 4]
call fcn.0047007e
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push edi
push edi
push dword [eax + 4]
push dword [eax]
push ecx
call dword [edx + 0x14]
mov edi, eax
test edi, edi
jne 0x471355
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edi
push dword [esi + 0x14]
push dword [esi + 0x3c]
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jl 0x4713e2
mov eax, dword [esi + 0x34]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*8 + 4]
and dword [eax + 0x18], 0xfffffffe
cmp dword [ebp - 4], ebx
je 0x4713e2
mov eax, dword [ebp - 8]
dec eax
cmp ebx, eax
jne 0x4713e2
push 1
mov ecx, esi
call fcn.0046fe53
mov edi, eax
test edi, edi
jl 0x4713e2
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ebx*8 + 4]
mov eax, dword [ecx]
lea edx, [esi + 0x44]
push edx
call dword [eax + 4]
mov edi, eax
test edi, edi
jne 0x4713d5
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ebx*8 + 4]
call fcn.0047007e
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push edi
push edi
push dword [eax + 4]
push dword [eax]
push ecx
call dword [edx + 0x14]
mov edi, eax
test edi, edi
jne 0x4713d5
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edi
push dword [esi + 0x14]
push dword [esi + 0x3c]
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
jl 0x4713e2
mov eax, dword [esi + 0x34]
mov eax, dword [eax + ebx*8 + 4]
and dword [eax + 0x18], 0xfffffffe
mov dword [ebp - 4], ebx
inc ebx
test edi, edi
mov dword [ebp - 0x10], ebx
jge 0x4711d4
test edi, edi
jl 0x47142d
cmp dword [esi + 0x10], 0
je 0x47142d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ebx, [esi + 0x70]
mov ecx, ebx
mov edi, eax
call fcn.0041c4e4
test eax, eax
je 0x471425
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0047097a
test edi, edi
jl 0x47142d
and dword [esi + 0x10], 0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret