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

Disassembly:
push 0xffffffffffffffff
push 0x4e3127
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.00470b00
mov dword [esp + 0x100], ebx
push 0xb
mov edi, 0xf
push str.strings.xml
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00405e70
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.00476080
test al, al
sete byte [esp + 0x1b]
mov byte [esp + 0x100], bl
cmp dword [esp + 0x40], 0x10
jb 0x47631f
mov eax, dword [esp + 0x2c]
push eax
call fcn.004b84d9
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x4764eb
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00471740
test al, al
je 0x4764eb
mov ecx, str.strings
lea eax, [esp + 0x7c]
call fcn.00470280
cmp eax, ebx
je 0x4764eb
mov ecx, str.string
call fcn.00470280
mov ebp, eax
cmp ebp, ebx
je 0x4764e6
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, 0x4f31a0
mov byte [esp + 0x100], 3
call fcn.004716f0
cmp eax, ebx
je 0x4763b1
cmp dword [eax + 0x48], 0x10
jb 0x4763ac
mov esi, dword [eax + 0x34]
jmp 0x4763b3
lea esi, [eax + 0x34]
jmp 0x4763b3
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4763b8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00405e70
mov esi, str.value
call fcn.004716f0
cmp eax, ebx
mov edi, 0x10
je 0x4763f0
cmp dword [eax + 0x48], edi
jb 0x4763eb
mov edx, dword [eax + 0x34]
jmp 0x4763f2
lea edx, [eax + 0x34]
jmp 0x4763f2
xor edx, edx
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4763f7
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00405e70
cmp dword [esp + 0x58], ebx
je 0x47648b
cmp dword [esp + 0x74], ebx
je 0x47648b
lea edx, [esp + 0x60]
push edx
lea ebx, [esp + 0x2c]
call fcn.0047d090
add esp, 4
mov eax, ebx
push eax
mov byte [esp + 0x104], 4
call fcn.004761a0
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x2c
call fcn.00477b60
push 0xffffffffffffffff
mov ecx, eax
xor esi, esi
push esi
mov eax, ebx
call fcn.00402090
mov byte [esp + 0x100], 3
cmp dword [esp + 0x40], 8
jb 0x476478
mov edx, dword [esp + 0x2c]
push edx
call fcn.004b84d9
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.004702c0
cmp dword [esp + 0x78], edi
mov ebp, eax
jb 0x4764ac
mov eax, dword [esp + 0x64]
push eax
call fcn.004b84d9
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 0x4764d0
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004b84d9
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 0x476370
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4764fc
push eax
call fcn.004b88f2
add esp, 4
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xe0], 0x10
mov dword [esp + 0x7c], vtable.TiXmlDocument.0
jb 0x476529
mov edx, dword [esp + 0xcc]
push edx
call fcn.004b84d9
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.00470090
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.004b84de
add esp, 0xf0
ret