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

Disassembly:
mov ecx, dword [0x7a1414]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2155
sub esp, 0x48
mov eax, dword [esp + 0x60]
cmp eax, 9
jg 0x4c1bf3
cmp eax, 5
jle 0x4c1949
cmp eax, 7
jle 0x4c1878
cmp eax, 8
jne 0x4c17e0
mov eax, dword [esp + 0x70]
lea ecx, [0x5c9180]
cmp eax, ecx
jne 0x4c213e
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x58]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, eax
sar eax, 0x1f
jmp 0x4c2112
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x14], esi
call sym.cmd_internal_dwarf.Uleb128put
mov eax, dword [esp + 0x70]
lea ecx, [0x5c4c60]
cmp eax, ecx
jne 0x4c20ae
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x4c20a5
mov ecx, dword [esp + 0x68]
cmp ecx, edx
ja 0x4c20a0
mov eax, dword [eax]
mov ebx, dword [esp + 0x4c]
mov ebx, dword [ebx + 0x14]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call ebx
jmp 0x4c203b
cmp eax, 6
jne 0x4c190c
mov eax, dword [esp + 0x64]
cmp eax, 5
jne 0x4c18cf
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
call eax
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
call eax
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
call eax
jmp 0x4c203b
cmp eax, 3
jg 0x4c1b1d
cmp eax, 1
jne 0x4c1a7b
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c196d
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
jmp 0x4c198f
mov ecx, dword [esp + 0x68]
test ecx, ecx
sete dl
mov ebx, dword [esp + 0x6c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4c1a2e
mov edx, dword [esp + 0x64]
cmp edx, 9
jne 0x4c19f5
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
call eax
jmp 0x4c203b
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x10]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
call edx
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
jmp 0x4c203b
cmp eax, 3
jne 0x4c1fa1
mov eax, dword [esp + 0x68]
and eax, 0xffff
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call edx
mov eax, dword [esp + 0x70]
lea ecx, [0x5c4c60]
cmp eax, ecx
jne 0x4c208a
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x4c2085
mov eax, dword [eax]
mov ebx, dword [esp + 0x4c]
mov ebx, dword [ebx + 0x14]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call ebx
jmp 0x4c203b
cmp eax, 4
jne 0x4c1bb6
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
mov esi, dword [esp + 0x68]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
call ecx
mov eax, dword [esp + 0x70]
lea ecx, [0x5c4c60]
cmp eax, ecx
jne 0x4c206f
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x68]
cmp ecx, edx
ja 0x4c206a
mov eax, dword [eax]
mov ebx, dword [esp + 0x4c]
mov ebx, dword [ebx + 0x14]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call ebx
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
call eax
jmp 0x4c203b
cmp eax, 0xd
jg 0x4c1e8a
cmp eax, 0xb
jg 0x4c1db6
cmp eax, 0xa
jne 0x4c1d79
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x4c1ce0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
inc edx
mov dword [esp + 0x10], edx
sar edx, 0x1f
mov dword [esp + 0x14], edx
call ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
call ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call eax
jmp 0x4c203b
mov eax, dword [esp + 0x68]
and eax, 0xff
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call edx
mov eax, dword [esp + 0x70]
lea ecx, [0x5c4c60]
cmp eax, ecx
jne 0x4c2054
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jb 0x4c204f
mov eax, dword [eax]
mov ebx, dword [esp + 0x4c]
mov ebx, dword [ebx + 0x14]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call ebx
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
call eax
jmp 0x4c203b
cmp eax, 0xc
jne 0x4c1e51
mov eax, dword [esp + 0x68]
test eax, eax
setne al
mov ecx, dword [esp + 0x6c]
test ecx, ecx
setne cl
or ecx, eax
test cl, cl
je 0x4c1e14
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call eax
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
jmp 0x4c203b
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
call sym.cmd_internal_dwarf.Sleb128put
jmp 0x4c203b
cmp eax, 0xf
jg 0x4c1ed1
cmp eax, 0xe
je 0x4c1fa1
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
call sym.cmd_internal_dwarf.Uleb128put
jmp 0x4c203b
cmp eax, 0x10
je 0x4c1ee8
cmp eax, 0x16
jle 0x4c1fa1
cmp eax, 0x17
jne 0x4c1fa1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c1f31
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
call ecx
jmp 0x4c203b
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c93c0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x5f6981]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c93c0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c93c0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x5fdb28]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
call sym.runtime.panicSliceAcap
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
call sym.runtime.panicSliceAcap
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
call sym.runtime.panicSliceAcap
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
call sym.runtime.panicSliceAcap
mov ecx, dword [esp + 0x68]
call sym.runtime.panicExtendSliceAcap
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call ecx
mov ecx, dword [esp + 0x24]
add ecx, 1
mov eax, dword [esp + 0x28]
adc eax, 0
mov edx, dword [esp + 0x6c]
cmp edx, eax
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 0x68]
cmp esi, ecx
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4c20c4
jmp 0x4c203b
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5c9ec0]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_dwarf.putattr