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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45981d
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4727f0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x4727f0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418bb1
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x5c]
call fcn.0040d6e0
mov dword [esp + 0x150], ebx
mov ebx, 4
mov eax, esi
call fcn.0041a0f0
cmp eax, 0xffffffff
je 0x41902b
lea ecx, [esp + 0xc4]
push ecx
call fcn.004139a0
mov eax, edi
lea ecx, [esp + 0xc4]
mov byte [esp + 0x150], 1
call fcn.00413a50
test al, al
jne 0x418c76
xor ebx, ebx
mov byte [esp + 0x150], bl
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0xc4], vtable.XmlDocument.0
jb 0x418c3c
mov edx, dword [esp + 0x114]
push edx
call fcn.0041a866
add esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00412e40
cmp dword [esp + 0x6c], 8
jb 0x41903f
mov eax, dword [esp + 0x58]
push eax
jmp 0x419037
lea eax, [esp + 0xc4]
call fcn.004130a0
mov dword [esp + 0x10], eax
lea edi, [esp + 0x14]
lea eax, [esp + 0x10]
call fcn.00414970
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp esi, ebx
je 0x418c10
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test eax, eax
je 0x418c10
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x418c10
cmp esi, ebx
je 0x418c10
cmp esi, ebx
je 0x419008
lea edi, [esi + 0x44]
mov edx, edi
call fcn.00414930
cmp eax, ebx
je 0x418fff
cmp dword [eax + 0x48], 0x10
jb 0x418cf7
mov eax, dword [eax + 0x34]
jmp 0x418cfa
add eax, 0x34
cmp eax, 0xffffffff
je 0x418fff
cmp eax, ebx
je 0x418fff
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
mov edx, dword [esi + 0x28]
push 0x10000
mov word [edx], bx
mov ecx, dword [esi + 0x28]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0xa8]
call fcn.0040d300
mov byte [esp + 0x150], 2
mov eax, dword [edi + 0x50]
cmp eax, edi
je 0x418fcc
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x418fcc
jmp 0x418d64
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x2c], 0x10
jb 0x418d6f
mov eax, dword [eax + 0x18]
jmp 0x418d72
add eax, 0x18
mov edx, dword [esp + 0x18]
mov esi, dword [edx]
mov ecx, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x10000
mov word [ecx], bx
mov edx, dword [esi + 0x28]
push edx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call edi
mov esi, dword [esi + 0x28]
mov eax, esi
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418dc0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x94]
call fcn.0040d6e0
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x48], 0x10
jb 0x418df4
mov eax, dword [eax + 0x34]
jmp 0x418df7
add eax, 0x34
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
mov edx, dword [esi + 0x28]
push 0x10000
mov word [edx], bx
mov ecx, dword [esi + 0x28]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call edi
mov esi, dword [esi + 0x28]
mov eax, esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x418e30
sub eax, ecx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x40]
call fcn.0040d6e0
lea edx, [esp + 0x8c]
push edx
lea esi, [esp + 0x20]
mov byte [esp + 0x154], 4
call fcn.0041a560
add esp, 4
lea ecx, [esp + 0xa8]
push ecx
push eax
lea edi, [esp + 0x78]
mov byte [esp + 0x158], 5
call fcn.0041a620
add esp, 8
mov esi, 8
mov byte [esp + 0x150], 7
cmp dword [esp + 0x34], esi
jb 0x418ea3
mov edx, dword [esp + 0x20]
push edx
call fcn.0041a866
add esp, 4
cmp dword [esp + 0x88], esi
mov edx, dword [esp + 0x74]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x418ec5
lea edx, [esp + 0x74]
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x418ed3
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004184b0
mov eax, dword [esp + 0xa0]
push str.value
mov edi, 5
lea ecx, [esp + 0x90]
call fcn.0041a730
test eax, eax
jne 0x418f32
mov edx, dword [esp + 0xac]
mov eax, 8
cmp dword [esp + 0xc0], eax
jae 0x418f1c
lea edx, [esp + 0xac]
cmp dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
jae 0x418f2a
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004184b0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
cmp dword [eax + 0x44], ebx
jne 0x418f47
cmp dword [eax + 0x28], ebx
jne 0x418f47
xor esi, esi
jmp 0x418f49
mov esi, eax
mov edi, 8
cmp dword [esp + 0x88], edi
mov dword [esp + 0x14], esi
jb 0x418f68
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0041a866
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x418f92
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041a866
add esp, 4
mov byte [esp + 0x150], 2
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x418fc4
mov eax, dword [esp + 0x90]
push eax
call fcn.0041a866
add esp, 4
cmp esi, ebx
jne 0x418d60
mov eax, dword [esp + 0x10]
call fcn.004125d0
mov byte [esp + 0x150], 1
cmp dword [esp + 0xc0], 8
mov dword [esp + 0x10], eax
jb 0x418ffb
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0041a866
add esp, 4
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
jne 0x418cd2
lea ecx, [esp + 0xc4]
mov byte [esp + 0x150], bl
call fcn.00412b80
lea esi, [esp + 0x54]
call fcn.00402790
mov eax, 1
jmp 0x419041
cmp dword [esp + 0x6c], 8
jb 0x41903f
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0041a866
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0043d963
mov esp, ebp
pop ebp
ret 4