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

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x154]
test ebx, ebx
push ebp
push esi
push edi
je 0x1093d269
mov eax, dword [ebx]
lea ecx, [esp + 0x124]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
jmp 0x1093d26e
mov eax, 0x10fd11e0
test ebx, ebx
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
je 0x1093d28a
lea eax, [ebx + 0x148]
jmp 0x1093d2a6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [esp + 0x5c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x164]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x30]
xor edi, edi
test ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], edi
jle 0x1093d96e
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov ebp, dword [eax + 0x2c]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebp + ecx + 0xf8]
add ebp, ecx
test ebx, ebx
jne 0x1093d34f
mov ecx, dword [0x110b8a64]
test ecx, ecx
jne 0x1093d31b
push 0x10e44b40
call fcn.10a196a0
add esp, 4
mov dword [0x110b8a64], eax
call fcn.10a19760
mov ecx, dword [0x110b8a64]
mov edx, dword [ecx]
mov esi, dword [ecx + 0x4f0]
mov ebx, ecx
call dword [edx + 0x80]
cmp esi, eax
je 0x1093d346
push 0x206
push str.d:kingsoft_svn_foxprogram_branchescambodia_tftenginecoreincUnClass.h
push str.Defaults.Num__GetPropertiesSize__
call fcn.109bb190
add esp, 0xc
mov eax, dword [ebx + 0x4ec]
mov ebx, dword [eax + 0x30]
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x58]
mov edx, dword [edx + 0x30]
mov eax, dword [0x10fcccac]
mov ecx, dword [eax]
push str.Copy_polygons
push edx
push edi
push eax
call dword [ecx + 0x14]
mov esi, dword [esp + 0x16c]
add esp, 0x10
call fcn.1093d1d0
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x160]
test eax, eax
je 0x1093d396
add eax, 0x27c
jmp 0x1093d3be
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
lea eax, [esp + 0xe8]
fld dword [ebp]
mov ecx, ebx
fsub dword [eax]
fstp dword [esp + 0x20]
fld dword [ebp + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x24]
fld dword [ebp + 8]
fsub dword [eax + 8]
mov eax, dword [ebx]
fstp dword [esp + 0x28]
call dword [eax + 0x80]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov edx, dword [ebx]
mov ecx, ebx
fdivr dword [0x10e45008]
fld st(0)
fmul dword [ebp + 0x18]
fstp dword [esp + 0x34]
fld st(0)
fmul dword [ebp + 0x1c]
fstp dword [esp + 0x38]
fmul dword [ebp + 0x20]
fstp dword [esp + 0x3c]
call dword [edx + 0x84]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov ecx, dword [ebp + 0x100]
mov eax, 2
cmp ecx, eax
fdivr dword [0x10e45008]
mov dword [esp + 0x10], eax
fld st(0)
fmul dword [ebp + 0x24]
fstp dword [esp + 0x50]
fld st(0)
fmul dword [ebp + 0x28]
fstp dword [esp + 0x54]
fmul dword [ebp + 0x2c]
fstp dword [esp + 0x58]
jle 0x1093d94c
lea ecx, [esp + 0x68]
mov dword [esp + 0xe0], ecx
lea eax, [ebp + 0x30]
lea ecx, [esp + 0x80]
lea edx, [esp + 0xf4]
mov dword [esp + 0xd8], eax
mov al, 0xff
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xdc], edx
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
mov byte [esp + 0x32], al
mov byte [esp + 0x33], al
mov dword [esp + 0xac], edx
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
lea ebx, [ebp + 0x48]
jmp 0x1093d4e0
mov edi, dword [esp + 0x158]
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [edi + 4], ecx
jle 0x1093d516
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx + 0x20]
push 0x104
mov ecx, edi
mov dword [edi + 8], eax
call fcn.109b8e40
mov eax, dword [edi]
imul esi, esi, 0x104
mov ecx, dword [esp + 0xd4]
add esi, eax
mov eax, esi
mov dword [eax + 0xf0], ecx
mov edx, dword [ebp + 0x140]
mov dword [eax + 0xf4], edx
mov dword [eax + 0xf8], 1
mov esi, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe0]
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fxch st(2)
fsub dword [edx]
fxch st(1)
fsub dword [edx + 4]
fxch st(2)
fsub dword [edx + 8]
fxch st(1)
fld st(0)
fmul dword [edx + 0xc]
fld st(1)
fmul dword [edx + 0x18]
fxch st(2)
fmul dword [edx + 0x24]
fxch st(4)
fld st(0)
fmul dword [edx + 0x10]
fld st(1)
fmul dword [edx + 0x1c]
fxch st(2)
fmul dword [edx + 0x28]
fxch st(1)
faddp st(3)
faddp st(5)
faddp st(2)
fxch st(2)
fld st(0)
fmul dword [edx + 0x14]
fld st(1)
fmul dword [edx + 0x20]
fxch st(2)
fmul dword [edx + 0x2c]
fxch st(1)
faddp st(4)
faddp st(4)
faddp st(1)
fxch st(1)
fstp dword [edi]
fstp dword [edi + 4]
fstp dword [edi + 8]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xbc], ecx
fld dword [esp + 0xbc]
mov ecx, dword [esp + 0x70]
fsub dword [esp + 0x44]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
lea ecx, [eax + 0x18]
fstp dword [esp + 0x74]
mov esi, dword [esp + 0x74]
fld dword [esp + 0xc0]
mov edx, ecx
fsub dword [esp + 0x48]
mov dword [edx], esi
fstp dword [esp + 0x78]
mov esi, dword [esp + 0x78]
fld dword [esp + 0xc4]
mov dword [edx + 4], esi
fsub dword [esp + 0x4c]
fstp dword [esp + 0x7c]
mov esi, dword [esp + 0x7c]
mov dword [edx + 8], esi
fld dword [ecx]
fsub dword [esp + 0x20]
lea edx, [ebx - 0xc]
fld dword [ecx + 4]
mov dword [esp + 0x40], edx
fsub dword [esp + 0x24]
fld dword [ecx + 8]
fsub dword [esp + 0x28]
fmul dword [esp + 0x3c]
fxch st(1)
fmul dword [esp + 0x38]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [eax + 0xa4]
fld dword [ecx]
fsub dword [esp + 0x20]
fld dword [ecx + 4]
fsub dword [esp + 0x24]
fld dword [ecx + 8]
mov ecx, dword [esp + 0x30]
fsub dword [esp + 0x28]
fmul dword [esp + 0x58]
fxch st(1)
fmul dword [esp + 0x54]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x50]
faddp st(1)
fstp dword [eax + 0xa8]
mov dword [eax + 0xe4], ecx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0x9c]
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fxch st(2)
fsub dword [edx]
fxch st(1)
fsub dword [edx + 4]
fxch st(2)
fsub dword [edx + 8]
fxch st(1)
fld st(0)
fmul dword [edx + 0xc]
fld st(1)
fmul dword [edx + 0x18]
fxch st(2)
fmul dword [edx + 0x24]
fxch st(4)
fld st(0)
fmul dword [edx + 0x10]
fld st(1)
fmul dword [edx + 0x1c]
fxch st(2)
fmul dword [edx + 0x28]
fxch st(1)
faddp st(3)
faddp st(5)
faddp st(2)
fxch st(2)
fld st(0)
fmul dword [edx + 0x14]
fld st(1)
fmul dword [edx + 0x20]
fxch st(2)
fmul dword [edx + 0x2c]
fxch st(1)
faddp st(4)
faddp st(4)
faddp st(1)
fxch st(1)
fstp dword [edi]
fstp dword [edi + 4]
fstp dword [edi + 8]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x90], ecx
fld dword [esp + 0x90]
fsub dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
fstp dword [esp + 0xa0]
fld dword [esp + 0x94]
fsub dword [esp + 0x48]
fstp dword [esp + 0xa4]
fld dword [esp + 0x98]
fsub dword [esp + 0x4c]
fstp dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
lea ecx, [eax + 0xc]
mov edx, ecx
mov dword [edx], esi
mov esi, dword [esp + 0xa4]
mov dword [edx + 4], esi
mov esi, dword [esp + 0xa8]
mov dword [edx + 8], esi
fld dword [ecx]
fsub dword [esp + 0x20]
mov dword [esp + 0x40], ebx
fld dword [ecx + 4]
fsub dword [esp + 0x24]
fld dword [ecx + 8]
fsub dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x38]
fxch st(2)
fmul dword [esp + 0x34]
faddp st(2)
fmul dword [esp + 0x3c]
faddp st(1)
fstp dword [eax + 0x64]
fld dword [ecx]
fsub dword [esp + 0x20]
fld dword [ecx + 4]
fsub dword [esp + 0x24]
fld dword [ecx + 8]
mov ecx, dword [esp + 0x18]
fsub dword [esp + 0x28]
mov dword [eax + 0xe8], ecx
fxch st(2)
fmul dword [esp + 0x50]
fxch st(2)
fmul dword [esp + 0x58]
faddp st(2)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [eax + 0x68]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0xe4]
fld dword [esi]
fld dword [esi + 4]
fld dword [esi + 8]
fxch st(2)
fsub dword [edx]
fxch st(1)
fsub dword [edx + 4]
fxch st(2)
fsub dword [edx + 8]
fxch st(1)
fld st(0)
fmul dword [edx + 0xc]
fld st(1)
fmul dword [edx + 0x18]
fxch st(2)
fmul dword [edx + 0x24]
fxch st(4)
fld st(0)
fmul dword [edx + 0x10]
fld st(1)
fmul dword [edx + 0x1c]
fxch st(2)
fmul dword [edx + 0x28]
fxch st(1)
faddp st(3)
faddp st(5)
faddp st(2)
fxch st(2)
fld st(0)
fmul dword [edx + 0x14]
fld st(1)
fmul dword [edx + 0x20]
fxch st(2)
fmul dword [edx + 0x2c]
fxch st(1)
faddp st(4)
faddp st(4)
faddp st(1)
fxch st(1)
fstp dword [edi]
fstp dword [edi + 4]
fstp dword [edi + 8]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc8], edx
fld dword [esp + 0xc8]
fsub dword [esp + 0x44]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fld dword [esp + 0xcc]
mov ecx, eax
fsub dword [esp + 0x48]
mov dword [ecx], edx
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
fld dword [esp + 0xd0]
mov dword [ecx + 4], edx
fsub dword [esp + 0x4c]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
mov dword [ecx + 8], edx
fld dword [eax]
fsub dword [esp + 0x20]
fld dword [eax + 4]
fsub dword [esp + 0x24]
fld dword [eax + 8]
fsub dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x38]
fxch st(2)
fmul dword [esp + 0x34]
faddp st(2)
fmul dword [esp + 0x3c]
faddp st(1)
fstp dword [eax + 0x24]
fld dword [eax]
fsub dword [esp + 0x20]
fld dword [eax + 4]
fsub dword [esp + 0x24]
fld dword [eax + 8]
fsub dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
fxch st(2)
add ebx, 0xc
fmul dword [esp + 0x50]
fxch st(2)
fmul dword [esp + 0x58]
faddp st(2)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [eax + 0x28]
mov dword [eax + 0xec], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x100]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1093d4e0
mov edi, dword [esp + 0x2c]
add dword [esp + 0x1c], 0x148
mov edx, dword [esp + 0x164]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x30]
inc edi
cmp edi, ecx
mov dword [esp + 0x2c], edi
jl 0x1093d2e0
mov ebx, dword [esp + 0x158]
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x18], ecx
jle 0x1093da56
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov edi, dword [ebx + 4]
mov eax, dword [0x10fcccac]
mov esi, dword [ebx]
mov ebp, dword [esp + 0x14]
mov edx, dword [eax]
push str.Merging_proximate_vertices
push edi
push ecx
push eax
add esi, ebp
call dword [edx + 0x14]
add esp, 0x10
mov ebp, esi
mov dword [esp + 0x10], 3
lea ebx, [ebx]
mov ecx, dword [ebx + 4]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x2c], eax
jle 0x1093da26
mov dword [esp + 0x1c], eax
mov esi, dword [ebx]
add esi, dword [esp + 0x1c]
mov edi, 3
lea esp, [esp]
push esi
push ebp
call fcn.1093cdd0
add esp, 8
test eax, eax
je 0x1093da02
mov eax, esi
mov edx, dword [eax]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add esi, 0xc
dec edi
jne 0x1093d9e0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
inc eax
add edx, 0x104
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edx
jl 0x1093d9d1
mov eax, dword [esp + 0x10]
add ebp, 0xc
dec eax
mov dword [esp + 0x10], eax
jne 0x1093d9c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
inc ecx
add edx, 0x104
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jl 0x1093d990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret