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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
push edi
cmp dword [ebx + 0x7c], 1
jle 0x1003d57d
mov eax, dword [ebx + 0x78]
push esi
test eax, eax
je 0x1003d36b
imul edi, eax, 0x18
lea edx, [ebx + 0xc]
mov esi, ebx
add edi, dword [ebx + 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
imul ecx, dword [ebx + 0x78], 0x18
mov esi, edx
mov edi, dword [ebx + 0x88]
add ecx, 0xc
add edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x88]
mov edi, ebx
mov dword [ebx + 0x78], ebp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0xc]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [edx]
mov eax, dword [ebx + 0x14]
lea eax, [eax + ecx*2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx]
test eax, eax
je 0x1003d364
mov edx, dword [ebx + 8]
imul ecx, eax, 0x28
add edx, 0xffffffd8
add edx, ecx
je 0x1003d364
lea esi, [ebx + 0x60]
cmp dword [edx + 0x1c], ebp
jne 0x1003d352
push 6
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x1003d36b
mov ecx, ebp
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x1003d364
inc ecx
cmp ecx, 6
jne 0x1003d354
jmp 0x1003d36b
mov ecx, ebx
call fcn.1003ce10
mov ecx, ebx
call fcn.1003d647
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
cmp dword [ebx + 0x7c], ebp
jle 0x1003d39a
mov eax, dword [ebx]
test eax, eax
jle 0x1003d39a
mov edi, dword [ebx + 8]
imul ecx, eax, 0x28
add edi, 0xffffffd8
add edi, ecx
je 0x1003d39c
mov ebp, dword [edi + 0x1c]
add ebp, dword [edi + 0x18]
jmp 0x1003d39c
mov edi, ebp
cmp dword [ebx + 0x7c], 1
mov dword [esp + 0x18], 1
jle 0x1003d46f
push 0x18
pop eax
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 0x88]
add esi, eax
mov eax, dword [esi]
test eax, eax
jle 0x1003d414
mov edx, dword [esi + 8]
imul ecx, eax, 0x28
cmp dword [ecx + edx - 0xc], 0
jne 0x1003d3de
cmp dword [ecx + edx - 8], 0
jne 0x1003d3de
dec eax
mov dword [esi], eax
test eax, eax
jle 0x1003d414
test edi, edi
je 0x1003d414
mov edx, dword [esi + 8]
xor ecx, ecx
mov eax, dword [edi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x1003d414
inc ecx
cmp ecx, 6
jne 0x1003d3e7
cmp dword [edi + 0x20], 0
jne 0x1003d414
cmp dword [edx + 0x20], 0
jne 0x1003d414
mov eax, dword [edx + 0x1c]
mov ecx, esi
add dword [edi + 0x1c], eax
push dword [esi + 8]
add ebp, dword [edx + 0x1c]
call fcn.10042af3
mov edx, dword [esi]
test edx, edx
jle 0x1003d425
mov edi, dword [esi + 8]
imul ecx, edx, 0x28
add edi, 0xffffffd8
add edi, ecx
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, dword [esi + 0xc]
add dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
test edx, edx
jle 0x1003d452
mov edx, dword [esi + 8]
xor eax, eax
mov dword [edx + eax + 0x18], ebp
lea eax, [eax + 0x28]
mov edx, dword [esi + 8]
add ebp, dword [edx + eax - 0xc]
inc ecx
cmp ecx, dword [esi]
jl 0x1003d43f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 0x18
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [ebx + 0x7c]
jl 0x1003d3b5
mov eax, dword [ebx]
mov ecx, ebx
add eax, dword [esp + 0x14]
push eax
call fcn.10023c87
lea esi, [ebx + 0xc]
mov eax, dword [esi]
mov ecx, esi
add eax, dword [esp + 0x10]
push eax
call fcn.10023b6a
mov eax, dword [ebx]
sub eax, dword [esp + 0x14]
mov ecx, dword [esi]
xor esi, esi
sub ecx, dword [esp + 0x10]
inc esi
mov edx, dword [ebx + 8]
imul ebp, eax, 0x28
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], esi
add ebp, edx
lea eax, [eax + ecx*2]
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x7c], esi
jle 0x1003d528
push 0x18
pop ecx
mov dword [esp + 0x18], ecx
mov edi, dword [ebx + 0x88]
add edi, ecx
mov edx, dword [edi]
test edx, edx
je 0x1003d4eb
imul esi, edx, 0x28
push esi
push dword [edi + 8]
push ebp
call fcn.10097cf0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x18]
add ebp, esi
mov esi, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x1003d514
lea esi, [edx + edx]
push esi
push dword [edi + 0x14]
push eax
call fcn.10097cf0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x18]
add eax, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
inc esi
add ecx, 0x18
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
cmp esi, dword [ebx + 0x7c]
jl 0x1003d4bf
mov edx, dword [ebx + 8]
mov dword [ebx + 0x38], eax
xor ebp, ebp
mov eax, dword [ebx]
test eax, eax
je 0x1003d53c
imul eax, eax, 0x28
cmp dword [eax + edx - 8], ebp
je 0x1003d543
mov ecx, ebx
call fcn.1003ce10
imul edx, dword [ebx], 0x28
lea esi, [ebx + 0x60]
add edx, dword [ebx + 8]
cmp dword [edx - 0xc], ebp
jne 0x1003d55b
push 6
pop ecx
lea edi, [edx - 0x28]
rep movsd dword es:[edi], dword [esi]
jmp 0x1003d575
mov ecx, ebp
mov eax, dword [edx + ecx*4 - 0x28]
cmp eax, dword [esi + ecx*4]
jne 0x1003d56e
inc ecx
cmp ecx, 6
jne 0x1003d55d
jmp 0x1003d575
mov ecx, ebx
call fcn.1003ce10
mov dword [ebx + 0x7c], 1
pop esi
push ebp
mov ecx, ebx
call fcn.10023c87
push ebp
lea ecx, [ebx + 0xc]
call fcn.10023b6a
push ebp
lea ecx, [ebx + 0x18]
call fcn.10042cd0
mov eax, dword [ebx + 0x2c]
lea edi, [ebx + 0x60]
push 6
pop ecx
push ebp
mov eax, dword [eax + 0x28]
mov dword [ebx + 0x24], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x38], ebp
call fcn.10023bf2
push ebp
lea ecx, [ebx + 0x48]
call fcn.10023b8c
push ebp
lea ecx, [ebx + 0x54]
call fcn.10023d1c
push 0xa
pop ecx
xor eax, eax
mov dword [ebx + 0x78], ebp
lea edi, [esp + 0x1c]
mov dword [ebx + 0x7c], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.100235ba
pop edi
pop ebp
mov dword [ebx + 0x8c], 0x3f800000
pop ebx
add esp, 0x38
ret