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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x506049
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 0x35]
mov byte [esp + 0x2f], bl
movzx ebp, byte [edx + 0x34]
xchg ebp, eax
mov byte [esp + 0x2e], al
xchg ebp, eax
nop
nop
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x94]
mov dword [esp + 8], esi
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov byte [esp + 0xd], bl
call sym.internal_coverage_cmerge._Merger_.SetModeAndGranularity
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x505c48
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
je 0x505c0f
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea eax, [0x53600d]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatal
mov eax, dword [esp + 0x8c]
cmp dword [eax + 0x3c], 9
jne 0x505e16
mov ecx, dword [eax + 0x38]
mov dword [esp], ecx
lea ecx, [0x536d4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x505e0f
movzx eax, byte [esp + 0x2e]
cmp al, 2
ja 0x505cb1
cmp al, 1
jne 0x505c9f
mov eax, 3
lea ecx, [0x53609b]
jmp 0x505cf2
cmp al, 2
jne 0x505ce7
mov eax, 5
lea ecx, [0x53633f]
jmp 0x505cf2
cmp al, 3
jne 0x505cc3
mov eax, 6
lea ecx, [0x536531]
jmp 0x505cf2
cmp al, 4
jne 0x505cd5
mov eax, 7
lea ecx, [0x536769]
jmp 0x505cf2
cmp al, 5
jne 0x505ce7
mov eax, 8
lea ecx, [0x536a0b]
jmp 0x505cf2
mov eax, 9
lea ecx, [0x536d5e]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51bee0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [0x62515c]
lea edx, [0x567780]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5385e4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
movzx eax, byte [esp + 0x2f]
cmp al, 1
jne 0x505d79
mov eax, 8
lea ecx, [0x536a13]
jmp 0x505d96
cmp al, 2
jne 0x505d8b
mov eax, 7
lea ecx, [0x536770]
jmp 0x505d96
mov eax, 9
lea ecx, [0x536d5e]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x51bee0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [0x62515c]
lea edx, [0x567780]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x53a8da]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x8c]
jmp 0x505e16
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x505e92
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 0x34]
mov byte [esp + 0x2d], cl
call sym.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x84], eax
lea ecx, [0x527a60]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [0x664ca8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x505e67
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
jmp 0x505e85
call sym.runtime.gcWriteBarrier3
mov eax, dword [esp + 0x84]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx + 0x10]
mov dword [edi + 8], ebx
mov dword [ecx], eax
movzx eax, byte [esp + 0x2d]
mov byte [ecx + 0x10], al
mov dword [edx + 0x10], ecx
call sym.runtime.makemap_small
mov eax, dword [0x664ca8]
mov ecx, dword [esp]
test eax, eax
jne 0x505ead
mov eax, dword [esp + 0x8c]
jmp 0x505ec1
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x18]
mov dword [edi + 4], edx
mov dword [eax + 0x18], ecx
nop
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x30], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
lea edi, [0x664ae0]
jmp 0x505f3f
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 1]
mov dword [esp + 0x38], ebp
lea esi, [0x51d360]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.mapassign_fast32
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
cmp ebx, edx
jae 0x506042
mov dword [esp + 0x38], ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call sym.internal_coverage_decodemeta._CoverageMetaFileReader_.GetPackageDecoder
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x28]
test eax, eax
je 0x505ee1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046a5ea
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
call sym.runtime.convTstring
mov ecx, dword [esp + 8]
lea edx, [0x51bee0]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x505ffd
mov eax, dword [ecx + 4]
jmp 0x505fff
mov eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
lea eax, [0x53eca1]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea ecx, [esp + 0x64]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call sym.main.fatal
mov ecx, dword [esp + 0x50]
jmp 0x505ee1
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.main._dstate_.VisitMetaDataFile