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

Disassembly:
push 0xffffffffffffffff
push 0x4e2f97
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x7c]
mov esi, ecx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x1e], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00470b60
mov dword [esp + 0x100], ebx
push 0xb
mov edi, 0xf
push 0x4f5b60
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00405f60
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x34]
mov byte [esp + 0x10c], 1
call fcn.00476090
test al, al
sete byte [esp + 0x1b]
mov byte [esp + 0x100], bl
cmp dword [esp + 0x40], 0x10
jb 0x47632f
mov eax, dword [esp + 0x2c]
push eax
call fcn.004b83e9
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x4764fb
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00471750
test al, al
je 0x4764fb
mov ecx, str.strings
lea eax, [esp + 0x7c]
call fcn.004702e0
cmp eax, ebx
je 0x4764fb
mov ecx, str.string
call fcn.004702e0
mov ebp, eax
cmp ebp, ebx
je 0x4764f6
lea ecx, [ecx]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edi, [ebp + 0x44]
mov esi, 0x4f3190
mov byte [esp + 0x100], 3
call fcn.00471700
cmp eax, ebx
je 0x4763c1
cmp dword [eax + 0x48], 0x10
jb 0x4763bc
mov esi, dword [eax + 0x34]
jmp 0x4763c3
lea esi, [eax + 0x34]
jmp 0x4763c3
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4763c8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00405f60
mov esi, str.value
call fcn.00471700
cmp eax, ebx
mov edi, 0x10
je 0x476400
cmp dword [eax + 0x48], edi
jb 0x4763fb
mov edx, dword [eax + 0x34]
jmp 0x476402
lea edx, [eax + 0x34]
jmp 0x476402
xor edx, edx
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x476407
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00405f60
cmp dword [esp + 0x58], ebx
je 0x47649b
cmp dword [esp + 0x74], ebx
je 0x47649b
lea edx, [esp + 0x60]
push edx
lea ebx, [esp + 0x2c]
call fcn.0047cfd0
add esp, 4
mov eax, ebx
push eax
mov byte [esp + 0x104], 4
call fcn.004761b0
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x2c
call fcn.00477b70
push 0xffffffffffffffff
mov ecx, eax
xor esi, esi
push esi
mov eax, ebx
call fcn.004020f0
mov byte [esp + 0x100], 3
cmp dword [esp + 0x40], 8
jb 0x476488
mov edx, dword [esp + 0x2c]
push edx
call fcn.004b83e9
add esp, 4
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], si
xor ebx, ebx
mov ecx, str.string
mov eax, ebp
call fcn.00470320
cmp dword [esp + 0x78], edi
mov ebp, eax
jb 0x4764bc
mov eax, dword [esp + 0x64]
push eax
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x5c], edi
mov esi, 0xf
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
jb 0x4764e0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004b83e9
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov edi, esi
jne 0x476380
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47650c
push eax
call fcn.004b8802
add esp, 4
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xe0], 0x10
mov dword [esp + 0x7c], vtable.TiXmlDocument.0
jb 0x476539
mov edx, dword [esp + 0xcc]
push edx
call fcn.004b83e9
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.004700f0
mov al, byte [esp + 0x1a]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.004b83ee
add esp, 0xf0
ret