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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5b924c
sub esp, 0xac
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x5b8879
cmp dword [edx + 4], 2
jne 0x5b8879
mov eax, dword [0x802130]
mov ecx, dword [0x802134]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xac
ret
mov edx, dword [ecx + 0x64]
mov ebx, dword [ecx + 0x68]
test edx, edx
je 0x5b88a7
mov dword [ecx + 0x64], 0
mov ebp, dword [0x84d1a0]
test ebp, ebp
je 0x5b889e
mov ebp, dword [ecx + 0x68]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [ecx + 0x68], 0
jmp 0x5b88d0
mov dword [esp], ecx
call sym.encoding_xml._Decoder_.rawToken
mov eax, dword [esp + 4]
test eax, eax
jne 0x5b88c3
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x5b8a2f
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xb0]
mov edx, eax
movzx ebp, byte [ecx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5b894b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x24], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.encoding_xml._Decoder_.autoClose
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x5b8936
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0xb0]
mov dword [ebp + 0x64], ebx
mov ebx, dword [0x84d1a0]
test ebx, ebx
jne 0x5b8920
mov ebx, dword [esp + 0x70]
jmp 0x5b8931
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x70]
mov dword [edi], ebx
mov eax, dword [ebp + 0x68]
mov dword [edi + 4], eax
mov dword [ebp + 0x68], ebx
jmp 0x5b8945
mov ebp, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
mov ebx, edx
mov edx, ecx
mov ecx, ebp
test edx, edx
je 0x5b8ae4
mov ebp, dword [edx + 8]
cmp ebp, 0x1e0f2d50
je 0x5b8990
cmp ebp, 0x8529c1a6
jne 0x5b8ae4
lea ebp, [0x637600]
cmp edx, ebp
jne 0x5b8ae4
lea edi, [esp + 0x54]
mov esi, ebx
call fcn.0046c52a
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
jmp 0x5b8b1a
lea eax, [0x624d40]
cmp edx, eax
jne 0x5b8ae4
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [ebx]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebp
mov dword [esp], ecx
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call sym.encoding_xml._Decoder_.popElement
movzx eax, byte [esp + 8]
test al, al
je 0x5b89f7
lea eax, [0x624d40]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call sym.runtime.convT
mov ebx, dword [esp + 8]
lea edx, [0x624d40]
jmp 0x5b8ae4
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x78]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xac
ret
mov eax, dword [esp + 0x10]
cmp dword [0x802130], ecx
je 0x5b8a3f
xor edx, edx
jmp 0x5b8a6c
mov dword [esp + 0x78], eax
mov dword [esp + 0x30], ecx
mov edx, dword [0x802134]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x78]
test dl, dl
je 0x5b8ab9
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x48]
test ebx, ebx
je 0x5b8ab9
cmp dword [ebx + 4], 2
je 0x5b8ab9
nop
lea eax, [0x62b960]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xe
lea ecx, [0x654788]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x6aab64]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xac
ret
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xac
ret
mov ebx, dword [esp + 0xa8]
lea ecx, [ebx + 0x18]
dec edx
test edx, edx
jle 0x5b8ec5
mov dword [esp + 0x38], edx
mov dword [esp + 0xa8], ecx
lea edi, [esp + 0x7c]
mov esi, ecx
call fcn.0046c534
cmp dword [esp + 0x80], 5
jne 0x5b8d05
mov ebx, dword [esp + 0x7c]
cmp dword [ebx], 0x6e6c6d78
jne 0x5b8d05
cmp byte [ebx + 4], 0x73
jne 0x5b8d05
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x70]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
lea ebp, [0x61c260]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess2_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [eax]
mov dword [esp + 0x40], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
movzx ebp, byte [esp + 0x14]
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
nop
test edx, edx
je 0x5b8bf1
mov ebp, dword [0x84d1a0]
mov ebx, dword [edx]
test ebp, ebp
je 0x5b8bec
mov ebp, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ecx + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
mov edi, ebp
mov dword [ecx + 0x4c], ebx
jmp 0x5b8c1e
mov dword [esp + 0x74], esi
mov dword [esp + 0x28], edi
lea eax, [0x635520]
mov dword [esp], eax
call sym.runtime.newobject
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x28]
test byte [edx], al
mov ebx, dword [0x84d1a0]
mov ebp, dword [ecx + 0x48]
test ebx, ebx
je 0x5b8c60
mov ebx, edi
call sym.runtime.gcWriteBarrier8
mov dword [edi], ebp
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [ecx + 0x48]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], esi
mov eax, dword [edx + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov edi, ebx
mov dword [edx], ebp
mov dword [edx + 4], 1
mov dword [ecx + 0x48], edx
mov dword [edx + 0x14], edi
mov dword [edx + 0x10], esi
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
movzx eax, byte [esp + 0x1b]
mov byte [edx + 0x18], al
mov eax, dword [ecx + 0x70]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xa4], esi
lea edi, [0x61c260]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x84d1a0]
test ecx, ecx
jne 0x5b8ce6
mov edx, dword [esp + 0xa4]
jmp 0x5b8cf9
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xa4]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x38]
lea ebp, [0x637600]
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x5b8b0f
cmp dword [esp + 0x88], 5
jne 0x5b8b0f
mov ebx, dword [esp + 0x84]
cmp dword [ebx], 0x6e6c6d78
jne 0x5b8b0f
cmp byte [ebx + 4], 0x73
jne 0x5b8b0f
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x70]
lea edx, [0x61c260]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.runtime.mapaccess2_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
movzx ebp, byte [esp + 0x14]
xchg ebp, eax
mov byte [esp + 0x1a], al
xchg ebp, eax
nop
nop
test edx, edx
je 0x5b8db6
mov esi, dword [0x84d1a0]
mov edi, dword [edx]
test esi, esi
je 0x5b8db1
mov esi, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ecx + 0x4c]
mov dword [edi + 4], ebp
movzx ebp, byte [esp + 0x1a]
mov edi, esi
mov dword [ecx + 0x4c], edi
jmp 0x5b8de4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], eax
lea eax, [0x635520]
mov dword [esp], eax
call sym.runtime.newobject
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x1a]
test byte [edx], al
mov esi, dword [0x84d1a0]
mov edi, dword [ecx + 0x48]
test esi, esi
je 0x5b8e20
mov esi, edi
call sym.runtime.gcWriteBarrier7
mov dword [edi], esi
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edi + 8], edx
mov ebp, dword [ecx + 0x48]
mov dword [edi + 0xc], ebp
mov ebp, dword [edx + 0x10]
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebx
mov ebp, dword [edx + 8]
mov dword [edi + 0x18], ebp
movzx ebp, byte [esp + 0x1a]
mov edi, esi
mov dword [edx], edi
mov dword [edx + 4], 1
mov dword [ecx + 0x48], edx
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0xc], eax
mov dword [edx + 8], ebx
xchg ebp, eax
mov byte [edx + 0x18], al
xchg ebp, eax
mov eax, dword [ecx + 0x70]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa4], ebx
lea ebp, [0x61c260]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x84d1a0]
test ecx, ecx
jne 0x5b8ea1
mov edx, dword [esp + 0xa4]
jmp 0x5b8eb4
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xa4]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x38]
lea ebp, [0x637600]
jmp 0x5b8b0f
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x4c]
mov esi, dword [esp + 0x54]
mov dword [esp + 0xa4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xa0], edi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], ecx
nop
test ebx, ebx
je 0x5b8f1f
mov ebp, dword [0x84d1a0]
mov edi, dword [ebx]
test ebp, ebp
je 0x5b8f1a
mov ebp, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov esi, dword [edx + 0x4c]
mov dword [edi + 4], esi
mov esi, dword [esp + 0xa4]
mov edi, ebp
mov dword [edx + 0x4c], edi
jmp 0x5b8f4b
mov dword [esp + 0x34], eax
lea eax, [0x635520]
mov dword [esp], eax
call sym.runtime.newobject
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
test byte [ebx], al
mov ebp, dword [0x84d1a0]
mov edi, dword [edx + 0x48]
test ebp, ebp
je 0x5b8f94
mov ebp, edi
call sym.runtime.gcWriteBarrier8
mov dword [edi], ebp
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov ecx, dword [edx + 0x48]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], esi
mov ecx, dword [ebx + 8]
mov dword [edi + 0x14], ecx
mov ecx, esi
mov esi, dword [esp + 0xa0]
mov dword [edi + 0x18], esi
mov esi, dword [ebx + 0x10]
mov dword [edi + 0x1c], esi
mov esi, ecx
mov edi, ebp
mov ecx, dword [esp + 0x38]
mov dword [ebx], edi
mov dword [ebx + 4], 0
mov dword [edx + 0x48], ebx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 8], esi
mov ebp, dword [esp + 0xa0]
mov dword [ebx + 0x10], ebp
mov ebx, dword [esp + 0x58]
nop
mov ebp, dword [esp + 0x54]
cmp ebx, 5
jne 0x5b8fd4
cmp dword [ebp], 0x6e6c6d78
jne 0x5b8fd4
cmp byte [ebp + 4], 0x73
je 0x5b9086
cmp ebx, 3
jne 0x5b8ffb
cmp word [ebp], 0x6d78
jne 0x5b8ffb
cmp byte [ebp + 2], 0x6c
jne 0x5b8ffb
mov dword [esp + 0x58], 0x24
lea eax, [0x65f3c8]
mov dword [esp + 0x54], eax
jmp 0x5b9018
test ebx, ebx
jne 0x5b9018
cmp dword [esp + 0x60], 5
jne 0x5b9018
mov ebx, dword [esp + 0x5c]
cmp dword [ebx], 0x6e6c6d78
jne 0x5b9018
cmp byte [ebx + 4], 0x73
je 0x5b9086
mov eax, dword [edx + 0x70]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
lea ebp, [0x61c260]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x5b9060
mov edx, dword [esp + 0x10]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0xb0]
jmp 0x5b9086
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x5b907f
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x1c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
jmp 0x5b9086
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x38], ebx
xor eax, eax
jmp 0x5b9093
inc eax
cmp eax, ebx
jge 0x5b9221
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jae 0x5b9246
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x9c], ebp
lea esi, [eax + eax*2]
lea edi, [ebp + esi*8]
mov dword [esp + 0x98], edi
mov ecx, dword [edi + 4]
lea edi, [ebp + esi*8]
mov ebp, dword [edi]
cmp ecx, 5
jne 0x5b90dd
cmp dword [ebp], 0x6e6c6d78
jne 0x5b90dd
cmp byte [ebp + 4], 0x73
je 0x5b9092
test ecx, ecx
je 0x5b9092
mov dword [esp + 0x2c], eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x34], esi
cmp ecx, 3
jne 0x5b9137
cmp word [ebp], 0x6d78
jne 0x5b9137
cmp byte [ebp + 2], 0x6c
jne 0x5b9137
mov ecx, dword [esp + 0x9c]
lea ebp, [ecx + esi*8 + 4]
mov dword [ebp], 0x24
mov ebp, dword [0x84d1a0]
test ebp, ebp
je 0x5b912f
mov ebp, dword [edi]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov edi, dword [esp + 0x94]
lea ebp, [0x65f3c8]
mov dword [edi], ebp
mov eax, dword [edx + 0x70]
mov ecx, dword [edi]
mov ebx, dword [esp + 0x98]
mov ebp, dword [ebx + 4]
lea esi, [0x61c260]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x5b91b5
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 4]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x9c]
lea ebp, [esi + ebp*8 + 4]
mov edx, dword [edx]
mov dword [ebp], ebx
mov ebx, dword [0x84d1a0]
test ebx, ebx
jne 0x5b9197
mov ebx, dword [esp + 0x94]
jmp 0x5b91aa
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov ebx, dword [esp + 0xb0]
jmp 0x5b9212
mov edx, dword [esp + 0x98]
mov edx, dword [edx + 4]
test edx, edx
jne 0x5b920b
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x9c]
lea edx, [ebx + edx*8 + 4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x18]
mov dword [edx], ebp
mov edx, dword [0x84d1a0]
test edx, edx
jne 0x5b91f4
mov edx, dword [esp + 0x94]
jmp 0x5b9207
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov edx, dword [esp + 0x94]
mov ebp, dword [edx]
mov dword [edi + 4], ebp
mov dword [edx], esi
jmp 0x5b9212
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov ebx, dword [esp + 0x38]
jmp 0x5b9092
lea eax, [0x637600]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call sym.runtime.convT
mov ebx, dword [esp + 8]
lea edx, [0x637600]
jmp 0x5b8ae4
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.encoding_xml._Decoder_.Token