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

Disassembly:
push 0xffffffffffffffff
push 0x100b1490
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
xor ebx, ebx
push 2
mov esi, 0xf
push 0x100b9e38
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.10002350
mov dword [esp + 0x94], ebx
push 5
push str.__xml
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.10002350
lea eax, [esp + 0x70]
push eax
push ebp
lea ecx, [esp + 0x24]
lea edi, [esp + 0x20]
mov byte [esp + 0x9c], 1
call fcn.100832d0
test al, al
mov edi, 0x10
sete byte [esp + 0x17]
cmp dword [esp + 0x34], edi
jb 0x100834cb
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x88], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100834f8
mov edx, dword [esp + 0x74]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], bl
je 0x10083505
xor al, al
jmp 0x10083639
push 1
push 0x100b9e30
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.10002350
mov dword [esp + 0x94], 2
push 9
push str.__DOCTYPE
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.10002350
lea eax, [esp + 0x54]
push eax
push ebp
lea ecx, [esp + 0x40]
lea edi, [esp + 0x20]
mov byte [esp + 0x9c], 3
call fcn.100832d0
test al, al
mov edi, 0x10
sete byte [esp + 0x17]
cmp dword [esp + 0x50], edi
jb 0x10083582
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x100835ac
mov edx, dword [esp + 0x58]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jne 0x100834fe
mov ecx, dword [esp + 0x9c]
push 0x3e8
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.10082990
test al, al
je 0x100834fe
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x14]
mov esi, ecx
jbe 0x100835f6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0x18], edi
jb 0x10083600
mov eax, dword [ebp + 4]
jmp 0x10083603
lea eax, [ebp + 4]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x10083616
cmp al, 9
je 0x10083616
cmp al, 0xd
je 0x10083616
cmp al, 0xa
jne 0x1008361f
add ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x100835e5
cmp ecx, dword [ebp + 0x14]
jne 0x10083637
mov ecx, dword [esp + 0x9c]
cmp byte [ecx + 0x1c], bl
je 0x10083637
mov eax, 1
jmp 0x10083639
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 8