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

Disassembly:
push 0xffffffffffffffff
push 0x55c134
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x384], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x39c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3b0]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x299]
push ebx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2a0], bl
call fcn.004afb50
lea ecx, [esp + 0x2a0]
push ecx
push esi
call fcn.0046ec40
add esp, 0x14
lea ecx, [esp + 0x44]
call fcn.004cfa60
push 1
lea edx, [esp + 0x298]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3ac], ebx
call fcn.004d09b0
test al, al
jne 0x416b25
mov eax, dword [esp + 0x78]
cmp eax, 0x65a92c
mov dword [esp + 0x44], vtable.TiXmlDocument.0
mov dword [esp + 0x3a4], 0xffffffff
je 0x416b15
push eax
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x44]
call fcn.004cf6f0
xor eax, eax
jmp 0x416e35
push str.TheJieQi
lea ecx, [esp + 0x48]
call fcn.004cefc0
cmp eax, ebx
je 0x416aee
push str.SettingJieQi
mov ecx, eax
call fcn.004cf090
cmp eax, ebx
je 0x416aee
mov ecx, eax
call fcn.004cf060
push 0x206
mov edi, eax
lea eax, [esp + 0x92]
push ebx
push eax
mov word [esp + 0x98], bx
call fcn.004afb50
add esp, 0xc
cmp edi, ebx
je 0x416e00
push 0x78
call fcn.00492548
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x3a4], 1
je 0x416b99
mov ecx, eax
call fcn.004176c0
jmp 0x416b9b
xor eax, eax
push str.jieqi
mov ecx, edi
mov byte [esp + 0x3a8], bl
mov dword [esp + 0x18], eax
call fcn.004d0690
push 0x574678
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004d0690
push 0x574670
mov ecx, edi
mov esi, eax
call fcn.004d0690
push 0x574668
mov ecx, edi
mov ebp, eax
call fcn.004d0690
cmp esi, ebx
mov dword [esp + 0x24], eax
je 0x416bf7
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.0046ec80
add esp, 8
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], bx
lea esi, [eax + 2]
jmp 0x416c20
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x416c20
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00402120
mov ecx, dword [esp + 0x30]
call fcn.004177b0
push 0x104
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004afb50
add esp, 0xc
cmp ebp, ebx
je 0x416c71
lea ecx, [esp + 0x8c]
push ecx
push ebp
call fcn.0046ec80
add esp, 8
sub esp, 0x1c
mov ecx, esp
mov esi, 7
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], bx
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x416c93
sub eax, ebp
sar eax, 1
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00402120
mov ecx, dword [esp + 0x30]
call fcn.00417810
push 0x104
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004afb50
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
je 0x416ce8
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.0046ec80
add esp, 8
sub esp, 0x1c
mov ecx, esp
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], bx
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x416d05
sub eax, ebp
sar eax, 1
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00402120
mov ecx, dword [esp + 0x30]
call fcn.00417870
push 0x104
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004afb50
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0x416d5a
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.0046ec80
add esp, 8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x8c]
push edx
call fcn.00417780
mov ecx, edi
call fcn.004cf0d0
mov edi, eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
jmp 0x416d90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416d90
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x30]
call fcn.00402120
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x3ac], 2
call edx
cmp dword [esp + 0x40], 8
mov byte [esp + 0x3a4], bl
jb 0x416deb
mov eax, dword [esp + 0x2c]
push eax
call fcn.00492573
add esp, 4
cmp edi, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jne 0x416b76
mov eax, dword [esp + 0x78]
cmp eax, 0x65a92c
mov dword [esp + 0x3a4], 0xffffffff
mov dword [esp + 0x44], vtable.TiXmlDocument.0
je 0x416e27
push eax
call fcn.00492573
add esp, 4
lea ecx, [esp + 0x44]
call fcn.004cf6f0
mov eax, 1
mov ecx, dword [esp + 0x39c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x384]
xor ecx, esp
call fcn.004aeca3
add esp, 0x394
ret 8