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

Disassembly:
push 0xffffffffffffffff
push 0x5e3254
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x384], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
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.004e9ba0
lea ecx, [esp + 0x2a0]
push ecx
push esi
call fcn.004a60f0
add esp, 0x14
lea ecx, [esp + 0x44]
call fcn.0050a330
push 1
lea edx, [esp + 0x298]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3ac], ebx
call fcn.0050b280
test al, al
jne 0x417465
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], vtable.TiXmlDocument.0
mov dword [esp + 0x3a4], 0xffffffff
cmp eax, 0x712674
je 0x417455
push eax
call fcn.004ca5d9
add esp, 4
lea ecx, [esp + 0x44]
call fcn.00509fc0
xor eax, eax
jmp 0x417787
push str.TheJieQi
lea ecx, [esp + 0x48]
call fcn.005098b0
cmp eax, ebx
je 0x41742e
push str.SettingJieQi
mov ecx, eax
call fcn.00509980
cmp eax, ebx
je 0x41742e
mov ecx, eax
call fcn.00509950
push 0x206
mov edi, eax
lea ecx, [esp + 0x92]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x98], ax
call fcn.004e9ba0
add esp, 0xc
cmp edi, ebx
je 0x417752
push 0x78
call fcn.004ca5aa
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3a4], 1
cmp eax, ebx
je 0x4174db
mov ecx, eax
call fcn.004180a0
jmp 0x4174dd
xor eax, eax
push str.jieqi
mov ecx, edi
mov byte [esp + 0x3a8], bl
mov dword [esp + 0x18], eax
call fcn.0050af60
push 0x6008d8
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0050af60
push 0x6008d0
mov ecx, edi
mov esi, eax
call fcn.0050af60
push 0x6008c8
mov ecx, edi
mov ebp, eax
call fcn.0050af60
mov dword [esp + 0x24], eax
cmp esi, ebx
je 0x417539
lea edx, [esp + 0x8c]
push edx
push esi
call fcn.004a6130
add esp, 8
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
lea eax, [esp + 0xa8]
mov dword [esp + 0x34], esp
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x417560
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00401c70
mov ecx, dword [esp + 0x30]
call fcn.004181a0
push 0x104
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004e9ba0
add esp, 0xc
cmp ebp, ebx
je 0x4175b1
lea ecx, [esp + 0x8c]
push ecx
push ebp
call fcn.004a6130
add esp, 8
sub esp, 0x1c
mov ecx, esp
mov esi, 7
xor edx, edx
lea eax, [esp + 0xa8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], dx
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4175d5
sub eax, ebp
sar eax, 1
push eax
lea eax, [esp + 0xac]
push eax
call fcn.00401c70
mov ecx, dword [esp + 0x30]
call fcn.00418200
push 0x104
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.004e9ba0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
je 0x41762a
lea edx, [esp + 0x8c]
push edx
push eax
call fcn.004a6130
add esp, 8
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
lea eax, [esp + 0xa8]
mov dword [esp + 0x34], esp
lea ebp, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x417650
sub eax, ebp
sar eax, 1
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00401c70
mov ecx, dword [esp + 0x30]
call fcn.00418260
push 0x104
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.004e9ba0
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0x4176a5
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.004a6130
add esp, 8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x8c]
push edx
call fcn.00418170
mov ecx, edi
call fcn.005099c0
mov edi, eax
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x8c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
lea edx, [eax + 2]
jmp 0x4176e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4176e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401c70
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x3ac], 2
call eax
cmp dword [esp + 0x40], 8
mov byte [esp + 0x3a4], bl
jb 0x41773b
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
cmp edi, ebx
jne 0x4174b8
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3a4], 0xffffffff
mov dword [esp + 0x44], vtable.TiXmlDocument.0
cmp eax, 0x712674
je 0x417779
push eax
call fcn.004ca5d9
add esp, 4
lea ecx, [esp + 0x44]
call fcn.00509fc0
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.004e8c89
add esp, 0x394
ret 8