Function at 0x4c9eb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x4caa8b
sub esp, 0xec
lea eax, [0x4fa740]
mov dword [esp], eax
call sym.runtime.newobject
nop
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [0x4f5a80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xf0]
mov dword [eax], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4c9f16
mov ecx, dword [esp + 0xf4]
jmp 0x4c9f24
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xf4]
mov dword [edi], ecx
mov dword [esp + 0x94], eax
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 0x7fffffff
lea edx, [0x4e97a0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 0xf0]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 4]
mov dword [esp + 0xb8], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp], ebx
mov dword [esp + 8], 0x60
mov dword [esp + 0xc], 0x60
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4ca5cd
mov eax, dword [esp + 0xb8]
cmp byte [eax], 0x4d
jne 0x4ca0f3
cmp byte [eax + 1], 0x5a
jne 0x4ca0f3
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x54], eax
nop
lea ecx, [0x4e7fc0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xf4]
mov dword [esp], ebx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
call edx
mov eax, dword [esp + 0xb4]
cmp byte [eax], 0x50
jne 0x4ca05a
cmp byte [eax + 1], 0x45
jne 0x4ca05a
movzx ecx, byte [eax + 2]
test cl, cl
jne 0x4ca05a
movzx ecx, byte [eax + 3]
test cl, cl
jne 0x4ca05a
mov eax, dword [esp + 0x54]
add eax, 4
mov ecx, 0
adc ecx, 0
jmp 0x4ca0f7
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x4e7fc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTnoptr
mov eax, dword [esp + 8]
lea ecx, [0x4e7fc0]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x50ca7a]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0xbc]
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 + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 0xc]
add eax, ebx
adc ecx, ebp
cmp ebp, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
cmp eax, ebx
setb bl
and ebp, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4ca135
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
lea eax, [0x531134]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x5315ec]
mov dword [esp + 8], ecx
lea ebx, [0x5ef880]
mov dword [esp + 0xc], ebx
lea ebp, [0x4e4ce0]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x14], ebp
call sym.encoding_binary.Read
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4ca5a5
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax]
cmp cx, 0x5032
ja 0x4ca1b8
cmp cx, 0x14c
ja 0x4ca1a5
test cx, cx
je 0x4ca1e4
cmp cx, 0x14c
je 0x4ca1e4
jmp 0x4ca512
cmp cx, 0x1c4
je 0x4ca1e4
cmp cx, 0x5032
je 0x4ca1e4
jmp 0x4ca512
cmp cx, 0x5128
ja 0x4ca1d2
cmp cx, 0x5064
je 0x4ca1e4
cmp cx, 0x5128
je 0x4ca1e4
jmp 0x4ca512
cmp cx, 0x8664
je 0x4ca1e4
cmp cx, 0xaa64
jne 0x4ca512
mov dword [esp], eax
lea ecx, [0x531374]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call sym.debug_pe.readStringTable
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0xa4]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov eax, dword [0x5efab0]
test eax, eax
je 0x4ca241
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x40]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [edi + 0x40], edx
test ebx, ebx
jne 0x4ca4f2
mov dword [esp], edi
lea eax, [0x531374]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
call sym.debug_pe.readCOFFSymbols
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xac], esi
mov edi, dword [esp + 0xa4]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov esi, dword [0x5efab0]
test esi, esi
je 0x4ca2be
mov dword [esp + 0xb0], ebp
mov esi, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebp, dword [esi + 0x34]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0xb0]
mov edi, esi
mov dword [edi + 0x34], edx
test ebx, ebx
jne 0x4ca4cb
mov ebx, dword [edi + 0x40]
mov ebp, dword [edi + 0x44]
mov esi, dword [edi + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call sym.debug_pe.removeAuxSymbols
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xa4]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov eax, dword [0x5efab0]
test eax, eax
je 0x4ca32e
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [edi + 0x28], edx
test ebx, ebx
jne 0x4ca4ab
mov esi, edi
lea edi, [esp + 0x58]
call fcn.0046067e
lea eax, [0x4fa600]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call sym.encoding_binary.Size
mov eax, dword [esp + 8]
mov ecx, eax
sar eax, 0x1f
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 0xc]
mov esi, edx
mov edx, dword [esp + 0x48]
add edx, ecx
mov ecx, dword [esp + 0x4c]
adc ecx, eax
add edx, ebx
adc ecx, ebp
cmp ebp, ecx
sete al
xchg ebp, ebx
setg bl
xchg ebp, ebx
cmp edx, ebx
setb bl
and eax, ebx
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ca3ab
mov eax, dword [0x5c4aa0]
mov ecx, dword [0x5c4aa4]
jmp 0x4ca3b5
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4ca48b
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax + 0x10]
lea edx, [0x531374]
mov dword [esp], edx
mov dword [esp + 4], esi
mov word [esp + 8], cx
call sym.debug_pe.readOptionalHeader
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0xa4]
mov dword [esi + 0x14], eax
mov eax, dword [0x5efab0]
test eax, eax
je 0x4ca414
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 4], eax
mov dword [esi + 0x18], ecx
test edx, edx
jne 0x4ca46b
movzx eax, word [esi + 2]
lea ecx, [0x4f4aa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax + 2]
mov edx, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
je 0x4ca461
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [eax + 0x1c]
mov dword [edi + 4], ebx
mov dword [eax + 0x1c], edx
xor ecx, ecx
jmp 0x4ca5fd
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xec
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], esi
add esp, 0xec
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], ebp
mov eax, dword [esp + 0xac]
mov dword [esp + 0x100], eax
add esp, 0xec
ret
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], esi
add esp, 0xec
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
movzx eax, word [eax]
mov word [esp], ax
call sym.runtime.convT16
mov eax, dword [esp + 4]
lea ecx, [0x4ea200]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x50c0f5]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0xbc]
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 + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov dword [ecx + eax*4], edx
lea ecx, [eax + 1]
mov eax, ebp
movzx edx, word [eax + 2]
cmp ecx, edx
jge 0x4ca964
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00460196
lea ecx, [0x531134]
mov dword [esp], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
lea ebx, [0x5315ec]
mov dword [esp + 8], ebx
lea ebp, [0x5ef880]
mov dword [esp + 0xc], ebp
lea esi, [0x4ecca0]
mov dword [esp + 0x10], esi
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], esi
call sym.encoding_binary.Read
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4ca93c
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x48]
lea ebp, [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.debug_pe._SectionHeader32_.fullName
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4ca914
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
lea edx, [0x4f7ee0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00460196
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xe0], ecx
movzx ecx, word [esp + 0x8c]
mov word [esp + 0xe4], cx
movzx ecx, word [esp + 0x8e]
mov word [esp + 0xe6], cx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xe8], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
je 0x4ca793
lea eax, [0x4fc8c0]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
lea ecx, [esp + 0xc4]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
xor eax, eax
mov edi, dword [esp + 0x98]
lea esi, [esp + 0xc4]
call fcn.0046064c
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x4ca7bf
lea ecx, [0x5ef880]
lea edx, [0x531224]
jmp 0x4ca7cd
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x98]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [ebx + 0x10]
mov edi, 0xffffffff
sub edi, esi
mov ebx, 0x7fffffff
sbb ebx, 0
test ebx, ebx
sete bl
setg cl
cmp edi, ebp
xchg edi, ebx
setae bl
xchg edi, ebx
and edi, ebx
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4ca81a
add esi, ebp
adc eax, 0
jmp 0x4ca824
mov eax, 0x7fffffff
mov esi, 0xffffffff
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
lea ecx, [0x4f5a80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x5efab0]
test ecx, ecx
jne 0x4ca857
mov edx, dword [esp + 0x9c]
jmp 0x4ca865
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x9c]
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], 0
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1c], edx
mov edx, dword [0x5efab0]
test edx, edx
jne 0x4ca8a1
mov edx, dword [esp + 0x98]
jmp 0x4ca8b5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [esp + 0x98]
mov ebx, dword [edx + 0x3c]
mov dword [edi + 4], ebx
mov dword [edx + 0x3c], eax
lea ebx, [0x531058]
mov dword [edx + 0x34], ebx
mov ebp, dword [0x5efab0]
test ebp, ebp
je 0x4ca8d8
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebp, dword [edx + 0x38]
mov dword [edi + 4], ebp
mov dword [edx + 0x38], eax
mov ebp, dword [esp + 0xa4]
mov ecx, dword [ebp + 0x20]
mov eax, dword [esp + 0x44]
cmp eax, ecx
jae 0x4caa85
mov esi, dword [0x5efab0]
mov ecx, dword [ebp + 0x1c]
test esi, esi
je 0x4ca5f5
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov esi, dword [ecx + eax*4]
mov dword [edi + 4], esi
jmp 0x4ca5f5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xec
ret
mov edx, dword [eax + 0x20]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x94]
xor ecx, ecx
jmp 0x4ca984
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x94]
cmp ecx, edx
jge 0x4caa51
mov ebp, dword [eax + 0x20]
cmp ecx, ebp
jae 0x4caa7c
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ecx*4]
test byte [edx], al
mov dword [esp], edx
lea edx, [0x531374]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.debug_pe.readRelocs
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
cmp ebp, ecx
jae 0x4caa75
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], edx
mov esi, dword [eax + 0x1c]
mov esi, dword [esi + ebp*4]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ecx
mov edi, dword [0x5efab0]
test edi, edi
je 0x4caa18
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ecx, dword [esi + 0x28]
mov dword [edi + 4], ecx
mov dword [esi + 0x28], ebx
test edx, edx
je 0x4ca976
mov dword [esp + 0xf8], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x100], eax
add esp, 0xec
ret
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xec
ret
mov eax, ebp
call sym.runtime.panicIndex
mov eax, ecx
mov ecx, ebp
call sym.runtime.panicIndex
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.debug_pe.NewFile