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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445890
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x45a4d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x45a4d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x18], edi
call fcn.0040aba0
xor ebx, ebx
mov ecx, edi
cmp edi, ebx
je 0x40b613
cmp dword [ecx + 8], ebx
je 0x40b762
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x40b603
mov dword [esp + 0x14], ebx
mov esi, ebx
cmp eax, ebx
je 0x40b878
mov cl, byte [eax]
cmp cl, bl
je 0x40b878
cmp cl, 0x3c
jne 0x40b878
inc eax
call fcn.0040aba0
mov ecx, eax
lea eax, [edi + 0x14]
mov dword [esp + 0x1c], eax
call fcn.0040ac90
mov edi, eax
cmp edi, ebx
je 0x40b866
cmp byte [edi], bl
je 0x40b866
push 0x44d368
lea ecx, [esp + 0x24]
call fcn.00401dd0
mov eax, dword [esp + 0x1c]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x28]
mov dword [esp + 0xa0], ebx
call fcn.00402680
mov ecx, esi
push ecx
mov edx, 0x44d354
call fcn.00401ea0
mov edi, edi
cmp byte [edi], bl
je 0x40b859
mov eax, edi
call fcn.0040aba0
mov esi, eax
cmp esi, ebx
je 0x40b83c
mov al, byte [esi]
cmp al, bl
je 0x40b83c
cmp al, 0x2f
je 0x40b776
cmp al, 0x3e
je 0x40b7ad
mov eax, 0xf
mov dword [esp + 0x3c], vtable.TiXmlAttribute.0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x98], 1
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edx
call fcn.0040be00
mov edi, eax
cmp edi, ebx
je 0x40b816
cmp byte [edi], bl
je 0x40b816
mov ebx, dword [esp + 0x64]
mov eax, 0x10
cmp dword [esp + 0x78], eax
jae 0x40b732
lea ebx, [esp + 0x64]
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x5c], eax
jae 0x40b740
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x18]
push eax
call fcn.00409420
lea esi, [esp + 0x3c]
mov byte [esp + 0x98], 0
call fcn.0040a390
xor ebx, ebx
jmp 0x40b690
mov esi, dword [ecx + 8]
neg esi
sbb esi, esi
not esi
and esi, ecx
mov dword [esp + 0x14], esi
jmp 0x40b619
inc esi
cmp byte [esi], 0x3e
je 0x40b79c
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x40b78e
mov eax, 8
call fcn.00408c60
lea ecx, [esp + 0x20]
call fcn.00401e40
jmp 0x40b8a5
lea ecx, [esp + 0x20]
call fcn.00401e40
lea eax, [esi + 1]
jmp 0x40b8a7
mov ecx, dword [esp + 0x18]
inc esi
push esi
push ecx
call fcn.0040b8d0
mov esi, eax
cmp esi, ebx
je 0x40b78e
cmp byte [esi], bl
je 0x40b78e
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x40b7d2
lea eax, [esp + 0x24]
push ebx
mov ecx, esi
call fcn.0040adc0
add esp, 4
test al, al
je 0x40b7f6
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.00401e40
lea eax, [esi + edi]
jmp 0x40b8a7
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x40b808
mov eax, 9
call fcn.00408c60
lea ecx, [esp + 0x20]
call fcn.00401e40
jmp 0x40b8a5
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x40b828
mov eax, 4
call fcn.00408c60
lea esi, [esp + 0x3c]
call fcn.0040a390
lea ecx, [esp + 0x20]
call fcn.00401e40
jmp 0x40b8a5
mov edx, dword [esp + 0x14]
cmp edx, ebx
je 0x40b84e
mov eax, 7
call fcn.00408c60
lea ecx, [esp + 0x20]
call fcn.00401e40
jmp 0x40b8a5
lea ecx, [esp + 0x20]
call fcn.00401e40
mov eax, edi
jmp 0x40b8a7
cmp esi, ebx
je 0x40b8a5
mov eax, 5
mov edx, esi
call fcn.00408c60
jmp 0x40b8a5
cmp esi, ebx
je 0x40b8a5
mov byte [esi + 0x38], 1
mov dword [esi + 0x3c], 4
mov edx, dword [str.Error_parsing_Element.]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b892
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.00402770
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0042dcb1
mov esp, ebp
pop ebp
ret 4