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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x505b54
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xe0]
lea ebx, [0x51d360]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.mapaccess2_fast32
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp + 0x38], ecx
test al, al
je 0x505a5c
mov edx, dword [esp + 0xe4]
cmp edx, ecx
ja 0x505a5c
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0046a5eb
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xdc]
mov esi, dword [ebp + 0x14]
lea edx, [0x51d2a0]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.runtime.mapaccess2_fast64
mov esi, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
call fcn.0046aace
lea edi, [esp + 0x54]
lea esi, [esp + 0xa4]
call fcn.0046aace
mov ecx, dword [esp + 0x44]
lea edx, [0x618aa0]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x40], ebx
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0046a5e6
mov ecx, dword [esp + 0xe0]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
lea ecx, [0x51c2e0]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp], 5
lea ecx, [0x542944]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x42
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 5
call sym.main.dbgtrace
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x5c]
cmp eax, ecx
jle 0x5058f0
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xdc]
cmp dword [ebx + 8], eax
jge 0x50586a
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], edx
cmp eax, 0x2000
jg 0x505810
mov eax, 0x2000
mov dword [esp + 0x2c], eax
lea ecx, [0x51c060]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xdc]
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ecx, dword [0x664ca8]
test ecx, ecx
je 0x505855
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [ebx + 8]
cmp ebp, eax
jb 0x505b4a
mov esi, dword [ebx + 4]
cmp esi, eax
jb 0x505b43
mov dword [esp + 0x34], ebp
mov edi, dword [ebx]
sub ebp, eax
sub esi, eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov esi, dword [0x664ca8]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, edi
test esi, esi
je 0x5058ba
mov ebp, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebx]
mov dword [edi + 4], esi
mov edi, ebp
mov dword [ebx], eax
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
cmp edi, edx
je 0x5058f7
mov dword [esp], edi
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov ebx, dword [esp + 0xdc]
jmp 0x5058f7
mov ebx, dword [esp + 0xdc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xec]
mov ebx, dword [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
call sym.internal_coverage_cmerge._Merger_.MergeCounters
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x5059a0
mov byte [esp + 0x2b], cl
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x505965
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea eax, [0x53600d]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatal
movzx ecx, byte [esp + 0x2b]
test cl, cl
je 0x5059d2
lea eax, [0x53ec7d]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.main.warn
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xdc]
mov ecx, dword [ecx + 0x14]
mov edx, dword [esp + 0x4c]
lea ebx, [0x51d2a0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.runtime.mapassign_fast64
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x664ca8]
test eax, eax
je 0x505a4c
mov dword [esp + 0x68], edi
lea eax, [0x525a80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x54]
call fcn.0046aace
add esp, 0xd8
ret
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0046a5e8
mov ecx, dword [esp + 0xe0]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c060]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call sym.runtime.convT32
mov ecx, dword [esp + 4]
lea edx, [0x51c120]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
lea ecx, [0x542c3d]
mov dword [esp], ecx
mov dword [esp + 4], 0x5e
lea ecx, [esp + 0xb8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call sym.main.warn
add esp, 0xd8
ret
mov ecx, esi
call sym.runtime.panicSliceB
mov ecx, eax
mov edx, ebp
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.main._dstate_.VisitFuncCounterData