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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10e13f95
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
xor esi, esi
cmp ebp, esi
push edi
jne 0x109f4fda
push 0x3c
push str..UFactory.cpp
push 0x10e47e58
call fcn.109bb190
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x70]
cmp edi, esi
mov dword [esp + 0x4c], esi
je 0x109f505d
mov eax, dword [edi + 0x2c]
cmp eax, esi
je 0x109f500b
jmp 0x109f5000
cmp eax, ebp
je 0x109f5023
mov eax, dword [eax + 0x2c]
cmp eax, esi
jne 0x109f5000
push 0x43
push str..UFactory.cpp
push str.InFactory__SupportedClass__IsChildOf_Class_
call fcn.109bb190
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov esi, ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x24], ecx
jle 0x109f5051
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx + 0x20]
push 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.109b8e40
mov ecx, dword [esp + 0x20]
mov dword [ecx + esi*4], edi
jmp 0x109f519d
lea ecx, [esp + 0x18]
call fcn.109353e0
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [0x1107b730]
jge 0x109f518b
mov eax, dword [0x110a82b8]
test eax, eax
jne 0x109f5096
push 0x10e47eb0
call fcn.109f4eb0
add esp, 4
mov dword [0x110a82b8], eax
call fcn.109f4cc0
mov edx, dword [0x1107b72c]
mov esi, dword [edx + ebx*4]
mov eax, esi
test eax, eax
je 0x109f5172
mov ecx, dword [0x110a82b8]
nop
cmp eax, ecx
je 0x109f50c0
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x109f50b0
jmp 0x109f5172
mov eax, dword [esi]
mov edi, dword [esi + 0x4f0]
mov ecx, esi
call dword [eax + 0x80]
cmp edi, eax
je 0x109f50eb
push 0x206
push str.d:kingsoft_svn_foxprogram_branchescambodia_tftenginecoreincUnClass.h
push str.Defaults.Num__GetPropertiesSize__
call fcn.109bb190
add esp, 0xc
test ebp, ebp
mov esi, dword [esi + 0x4ec]
mov eax, ebp
je 0x109f5172
mov ecx, dword [esi + 0x2c]
lea ebx, [ebx]
cmp eax, ecx
je 0x109f510d
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x109f5100
jmp 0x109f5172
mov eax, dword [esi + 0x68]
test eax, eax
jl 0x109f5172
push 0
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [0x1107b72c]
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
push eax
call fcn.109821a0
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0x28]
mov edi, ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x24], ecx
jle 0x109f516b
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ecx + 0x20]
push 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], edx
call fcn.109b8e40
mov eax, dword [esp + 0x20]
mov dword [eax + edi*4], esi
lea ecx, [esp + 0x18]
call fcn.1090c880
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [0x1107b730]
jl 0x109f5076
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.109f5710
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
mov edi, dword [esp + 0x68]
mov dword [esp + 0x58], 0
jle 0x109f54f5
mov ebx, dword [esp + 0x64]
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov esi, dword [eax + ecx*4]
test byte [esi + 0x64], 1
push 0x10e43c3c
mov dword [esp + 0x14], 0
push edi
je 0x109f5273
call fcn.109b8b60
add esp, 8
test eax, eax
jne 0x109f54e0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [edx + eax*4]
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x24]
mov edx, eax
shr edx, 3
push edi
and edx, 1
push edx
and eax, 1
push eax
mov eax, dword [0x110a36dc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x24]
add edx, 0xc
push edx
mov edx, dword [eax + ecx*4]
mov eax, dword [0x10f43370]
add edx, 0xc
push edx
push str.FactoryCreateNew:__s_with__s___i__i__s_
push 0x2f8
push eax
call fcn.109baec0
mov ecx, dword [esp + 0x94]
add esp, 0x20
push ecx
mov ecx, esi
call fcn.109c70f0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x60]
push 0
push ebx
push ecx
push eax
push ebp
mov ecx, esi
call dword [edx + 0x78]
mov esi, eax
jmp 0x109f54d8
call fcn.109b8b60
add esp, 8
test eax, eax
je 0x109f54e0
test byte [esi + 0x64], 8
push edi
je 0x109f53b1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x28]
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx + 0x24]
mov edx, eax
shr edx, 3
and edx, 1
push edx
and eax, 1
push eax
mov eax, dword [0x110a36dc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x24]
add edx, 0xc
push edx
mov edx, dword [eax + ecx*4]
mov eax, dword [0x10f43370]
add edx, 0xc
push edx
push str.FactoryCreateText:__s_with__s___i__i__s_
push 0x2f8
push eax
call fcn.109baec0
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov ecx, dword [0x10f43384]
push eax
push eax
push ecx
lea edx, [esp + 0x64]
push edi
push edx
mov byte [esp + 0x80], 1
call fcn.109bbe30
add esp, 0x34
test eax, eax
je 0x109f5384
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x109f531d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jmp 0x109f5325
mov dword [esp + 0x14], 0x10e43c3c
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, esi
call fcn.109c70f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x109f533c
dec eax
jmp 0x109f533e
xor eax, eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x18]
lea eax, [edx + eax*2]
push eax
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x20], ecx
call fcn.109b8f30
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x70]
push 0
push ebx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push ebp
push edx
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
xor eax, eax
push 2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.109b8e40
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0
call fcn.109148d0
jmp 0x109f54d4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edx + 0x28]
mov eax, dword [esi + 0x64]
mov ecx, dword [ecx + 0x24]
mov edx, eax
shr edx, 3
and edx, 1
push edx
and eax, 1
push eax
mov eax, dword [0x110a36dc]
mov edx, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x24]
add edx, 0xc
push edx
mov edx, dword [eax + ecx*4]
mov eax, dword [0x10f43370]
add edx, 0xc
push edx
push str.FactoryCreateBinary:__s_with__s___i__i__s_
push 0x2f8
push eax
call fcn.109baec0
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov ecx, dword [0x10f43384]
push eax
push eax
push ecx
lea edx, [esp + 0x58]
push edi
push edx
mov byte [esp + 0x80], 3
call fcn.109bbac0
add esp, 0x34
test eax, eax
je 0x109f54c6
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ebx, ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
jle 0x109f5464
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx + 0x20]
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], eax
call fcn.109b8e40
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x74]
mov byte [ebx + ecx], 0
mov edx, dword [esp + 0x2c]
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.109c70f0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [ecx + edx - 1]
push edx
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], eax
call fcn.109b8f30
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
add esp, 4
push eax
mov eax, dword [esp + 0x6c]
push 0
push ebx
push edx
push eax
mov eax, dword [esp + 0x30]
push ebp
mov ecx, esi
call dword [eax + 0x74]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0
call fcn.10926770
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x109f556a
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x58], ecx
jl 0x109f51c0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x109f551e
xor esi, esi
test eax, eax
jle 0x109f551e
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x109f5519
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x109f5503
push edi
push 0
push 0x10e47eb0
push str.NoFindImport
call fcn.109bb8e0
add esp, 0xc
push eax
mov eax, dword [esp + 0x80]
push eax
call fcn.109baf50
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call fcn.109f5880
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [esi + 0x28]
test eax, eax
je 0x109f557c
cmp eax, ebp
je 0x109f559b
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x109f5571
xor eax, eax
test ebp, ebp
sete al
test eax, eax
jne 0x109f559b
push 0x7f
push str..UFactory.cpp
push str.Result__IsA_Class_
call fcn.109bb190
add esp, 0xc
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x109f55cb
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x109f55cb
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x109f55c2
mov edx, dword [ecx]
push 1
call dword [edx + 0xc]
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x109f55b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call fcn.109f5880
mov ecx, dword [esp + 0x44]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret