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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x49777a
sub esp, 0x100
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x18]
lea ebp, [eax + 0x18]
test edx, edx
je 0x497740
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
cmp esi, 2
jl 0x49771b
mov dword [esp + 0x64], ebp
movzx ebp, byte [edi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x49771b
movzx ebp, byte [edi + 1]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x497711
cmp esi, 2
je 0x4976bb
mov ebp, 2
cmp ebp, esi
ja 0x497773
mov dword [esp + 0x28], esi
sub esi, ebp
mov dword [esp + 0x2c], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
lea esi, [ebp + edi]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x497603
mov dword [esp + 0x34], ebp
movzx ebp, byte [ebp + edi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x497603
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x497603
mov dword [esp + 0x3c], edi
dec edx
mov dword [eax + 0x1c], edx
dec ecx
mov dword [eax + 0x20], ecx
mov edx, dword [0x583e20]
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
test edx, edx
jne 0x4975df
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov edx, 1
jmp 0x496e0b
inc edx
cmp edx, esi
jge 0x4975d2
jae 0x49776c
movzx ebx, byte [edx + ecx]
cmp bl, 0x3d
jne 0x496e0a
lea ebx, [edx + 1]
cmp ebx, esi
ja 0x497765
sub esi, ebx
mov ebp, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebx, esi
add ebx, ecx
mov esi, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
mov edi, dword [eax + 0x14]
lea ebx, [0x4cf540]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call dbg.runtime.mapaccess2_faststr
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x496fb0
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x496fa3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x496edd
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call dbg.flag.(*FlagSet).usage
mov eax, dword [0x5734bc]
mov ecx, dword [0x5734b8]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0x100
ret
cmp eax, 1
jne 0x496eeb
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x496ea5
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x4ce800]
mov dword [esp], eax
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x104]
mov dword [esp], eax
lea eax, [0x4f07dd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.flag.(*FlagSet).failf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0x100
ret
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
jmp 0x496edd
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ebx, [0x4d4920]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call dbg.runtime.assertI2I2
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
jne 0x497335
movzx eax, byte [esp + 0x23]
test al, al
je 0x4972c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test al, al
je 0x49720d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x497149
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
je 0x497142
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0044b78a
lea ecx, [0x4ce800]
mov dword [esp], ecx
lea ebx, [esp + 0x70]
mov dword [esp + 4], ebx
call dbg.runtime.convT2Estring
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
lea ecx, [0x4ce800]
mov dword [esp], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp], ecx
lea ecx, [0x4f045d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xd0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call dbg.flag.(*FlagSet).failf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ecx
add esp, 0x100
ret
mov edx, eax
jmp 0x497061
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x10]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x4971cc
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x4cf540]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call dbg.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x583e20]
test ecx, ecx
jne 0x4971ba
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov byte [esp + 0x108], 1
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0x100
ret
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x497195
mov dword [esp + 0x5c], edx
call dbg.runtime.makemap_small
mov eax, dword [0x583e20]
mov ecx, dword [esp]
test eax, eax
jne 0x4971f1
mov eax, dword [esp + 0x104]
mov dword [eax + 0x10], ecx
jmp 0x49715a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x104]
jmp 0x49715a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x4ce800]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x104]
mov dword [esp], eax
lea eax, [0x4eee41]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x80]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.flag.(*FlagSet).failf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
add esp, 0x100
ret
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x20]
test edx, edx
jle 0x496ff2
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
dec edx
mov dword [ecx + 0x1c], edx
lea edx, [ebp - 1]
mov dword [ecx + 0x20], edx
mov ebp, dword [0x583e20]
neg edx
sar edx, 0x1f
and edx, 8
add edx, ebx
test ebp, ebp
jne 0x49730c
mov dword [ecx + 0x18], edx
mov ecx, esi
mov edx, eax
mov eax, 1
jmp 0x496ffa
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x104]
mov esi, dword [esp + 0x30]
jmp 0x4972fe
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x496fe5
movzx eax, byte [esp + 0x23]
test al, al
je 0x4974ab
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x497149
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x94], edx
je 0x4973c4
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ecx
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.0044b78a
lea ecx, [0x4ce800]
mov dword [esp], ecx
lea edx, [esp + 0x98]
mov dword [esp + 4], edx
call dbg.runtime.convT2Estring
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
lea ecx, [0x4ce800]
mov dword [esp], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call dbg.runtime.convT2Estring
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp], ecx
lea ecx, [0x4f0d05]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xe8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call dbg.flag.(*FlagSet).failf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ecx
add esp, 0x100
ret
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
lea ecx, [0x4ea098]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x497149
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
je 0x4974fc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [0x4ce800]
mov dword [esp], eax
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x104]
mov dword [esp], eax
lea eax, [0x4eeead]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0xc0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call dbg.flag.(*FlagSet).failf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0x100
ret
mov edx, esi
xor esi, esi
xor ebp, ebp
xor ebx, ebx
jmp 0x496e43
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x104]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jmp 0x496dff
mov dword [esp + 0xb0], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea eax, [0x4ce800]
mov dword [esp], eax
lea eax, [esp + 0xb0]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x104]
mov dword [esp], eax
lea eax, [0x4eca1c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call dbg.flag.(*FlagSet).failf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0x100
ret
dec edx
mov dword [eax + 0x1c], edx
dec ecx
mov dword [eax + 0x20], ecx
mov edx, dword [0x583e20]
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
test edx, edx
jne 0x4976ff
mov dword [eax + 0x18], ecx
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0x100
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4976da
mov ebp, 1
jmp 0x496d88
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0x100
ret
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
add esp, 0x100
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.flag.(*FlagSet).parseOne