Function at 0x4ea040
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 0x4eaaaa
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 0x4eaa70
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
cmp esi, 2
jl 0x4eaa4b
mov dword [esp + 0x64], ebp
movzx ebp, byte [edi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x4eaa4b
movzx ebp, byte [edi + 1]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x4eaa41
cmp esi, 2
je 0x4ea9eb
mov ebp, 2
cmp ebp, esi
ja 0x4eaaa3
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 0x4ea933
mov dword [esp + 0x34], ebp
movzx ebp, byte [ebp + edi]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x4ea933
xchg ebp, eax
cmp al, 0x3d
xchg ebp, eax
je 0x4ea933
mov dword [esp + 0x3c], edi
dec edx
mov dword [eax + 0x1c], edx
dec ecx
mov dword [eax + 0x20], ecx
mov edx, dword [0x5e13d0]
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
test edx, edx
jne 0x4ea90f
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov edx, 1
jmp 0x4ea13b
inc edx
cmp edx, esi
jge 0x4ea902
jae 0x4eaa9c
movzx ebx, byte [edx + ecx]
cmp bl, 0x3d
jne 0x4ea13a
lea ebx, [edx + 1]
cmp ebx, esi
ja 0x4eaa95
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, [0x509680]
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 0x4ea2e0
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4ea2d3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4ea20d
mov eax, dword [esp + 0x104]
mov dword [esp], eax
call dbg.flag.(*FlagSet).usage
mov eax, dword [0x5d093c]
mov ecx, dword [0x5d0938]
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], eax
add esp, 0x100
ret
cmp eax, 1
jne 0x4ea21b
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4ea1d5
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, [0x508800]
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, [0x530be5]
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 0x4ea20d
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ebx, [0x50fc00]
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 0x4ea665
movzx eax, byte [esp + 0x23]
test al, al
je 0x4ea5f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test al, al
je 0x4ea53d
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 0x4ea479
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 0x4ea472
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0044a99a
lea ecx, [0x508800]
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, [0x508800]
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, [0x530802]
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 0x4ea391
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x10]
lea edx, [eax + 0x10]
test ecx, ecx
je 0x4ea4fc
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x509680]
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 [0x5e13d0]
test ecx, ecx
jne 0x4ea4ea
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 0x4ea4c5
mov dword [esp + 0x5c], edx
call dbg.runtime.makemap_small
mov eax, dword [0x5e13d0]
mov ecx, dword [esp]
test eax, eax
jne 0x4ea521
mov eax, dword [esp + 0x104]
mov dword [eax + 0x10], ecx
jmp 0x4ea48a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x104]
jmp 0x4ea48a
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, [0x508800]
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, [0x52f028]
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 0x4ea322
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 [0x5e13d0]
neg edx
sar edx, 0x1f
and edx, 8
add edx, ebx
test ebp, ebp
jne 0x4ea63c
mov dword [ecx + 0x18], edx
mov ecx, esi
mov edx, eax
mov eax, 1
jmp 0x4ea32a
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 0x4ea62e
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 0x4ea315
movzx eax, byte [esp + 0x23]
test al, al
je 0x4ea7db
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 0x4ea479
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 0x4ea6f4
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ecx
lea edi, [esp + 0xe8]
xor eax, eax
call fcn.0044a99a
lea ecx, [0x508800]
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, [0x508800]
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, [0x531198]
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, [0x5298bc]
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 0x4ea479
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 0x4ea82c
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, [0x508800]
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, [0x52f094]
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 0x4ea173
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 0x4ea12f
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, [0x508800]
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, [0x52c876]
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 [0x5e13d0]
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
test edx, edx
jne 0x4eaa2f
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 0x4eaa0a
mov ebp, 1
jmp 0x4ea0b8
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