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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x5424d8
sub esp, 0x1d0
lea edi, [esp + 0x194]
xor eax, eax
call fcn.0046ab99
lea edi, [esp + 0xe8]
call fcn.0046ab75
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1a0], ecx
call sym.runtime.rand32
mov ecx, dword [esp]
mov dword [esp + 0x19c], ecx
lea ecx, [0x5c44c0]
mov dword [esp], ecx
lea edx, [esp + 0x194]
mov dword [esp + 4], edx
lea ebx, [0x5ed628]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 6
call sym.runtime.mapassign_faststr
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov edx, dword [0x776350]
test edx, edx
je 0x5418b8
mov eax, dword [ecx]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx], 0
lea eax, [0x5c44c0]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed08f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [0x776350]
test ecx, ecx
je 0x54190e
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c44c0]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ece76]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [0x776350]
test ecx, ecx
je 0x541964
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c44c0]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed097]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [0x776350]
test ecx, ecx
je 0x5419ba
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c44c0]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed62e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [0x776350]
test ecx, ecx
je 0x541a10
mov edx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax], 0
mov edx, dword [esp + 0x1d4]
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x1cc], ebx
mov ebp, dword [edx + 0x20]
mov dword [esp + 0xc4], ebp
xor eax, eax
jmp 0x541a36
inc eax
cmp eax, ebp
jge 0x541cae
mov dword [esp + 0xc0], eax
mov esi, dword [ebx + eax*4]
mov dword [esp + 0xd4], esi
cmp dword [esi + 4], 7
jge 0x541a59
xor ecx, ecx
jmp 0x541a9f
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5eda77]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xd4]
mov ecx, eax
mov eax, dword [esp + 0xc0]
test cl, cl
je 0x541ad1
mov ecx, dword [esi + 4]
cmp ecx, 7
jb 0x5424cd
mov edi, dword [esi]
add ecx, 0xfffffff9
mov dword [esp + 0x90], ecx
neg ecx
sar ecx, 0x1f
and ecx, 7
add edi, ecx
mov ecx, dword [esp + 0x90]
jmp 0x541b54
cmp dword [esi + 4], 8
jge 0x541adb
xor ecx, ecx
jmp 0x541b21
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edf0d]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0xc4]
mov esi, dword [esp + 0xd4]
mov ecx, eax
mov eax, dword [esp + 0xc0]
test cl, cl
je 0x541b50
mov ecx, dword [esi + 4]
cmp ecx, 8
jb 0x5424c3
mov edi, dword [esi]
add ecx, 0xfffffff8
mov dword [esp + 0x90], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add edi, ecx
mov ecx, dword [esp + 0x90]
jmp 0x541b54
xor ecx, ecx
xor edi, edi
test ecx, ecx
je 0x541a35
mov dword [esp + 0x90], ecx
mov dword [esp + 0xcc], edi
lea eax, [0x5c44c0]
mov dword [esp], eax
lea edx, [esp + 0x194]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x541bb5
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0xc4]
jmp 0x541a35
mov eax, dword [sym.debug_pe._File_.DWARF.func2]
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
lea edx, [0x601c04]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x541c8a
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0xe4], edx
lea ebx, [0x5c44c0]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xcc]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0xc], esi
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov ecx, dword [0x776350]
test ecx, ecx
jne 0x541c54
mov edx, dword [esp + 0xe4]
jmp 0x541c67
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xe4]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0xc4]
jmp 0x541a35
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], ecx
add esp, 0x1d0
ret
lea eax, [0x5c44c0]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed628]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x1c8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xc0], eax
lea ebx, [0x5c44c0]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed08f]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 4
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x1c4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xb8], eax
lea ebx, [0x5c44c0]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed097]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 4
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x1c0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xb0], eax
lea ebx, [0x5c44c0]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed62e]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 6
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x1bc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xa8], eax
lea ebx, [0x5c44c0]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ece76]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x1c8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x1c4]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c0]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov ebx, dword [esp + 0x1bc]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call sym.debug_dwarf.New
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x541f23
mov edx, dword [esp + 0x60]
mov dword [esp + 0xdc], edx
mov ebx, dword [esp + 0x1d4]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x1b8], ebp
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0xc4], ebx
xor eax, eax
jmp 0x541f48
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], ecx
add esp, 0x1d0
ret
inc eax
cmp eax, ebx
jge 0x54248b
mov dword [esp + 0x94], eax
mov esi, dword [ebp + eax*4]
mov dword [esp + 0xd0], esi
cmp dword [esi + 4], 7
jge 0x541f6c
xor ecx, ecx
jmp 0x541fb2
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5eda77]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
mov esi, dword [esp + 0xd0]
mov ecx, eax
mov eax, dword [esp + 0x94]
test cl, cl
je 0x541fe4
mov ecx, dword [esi + 4]
cmp ecx, 7
jb 0x5424b9
mov edi, dword [esi]
add ecx, 0xfffffff9
mov dword [esp + 0x8c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 7
add edi, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x542067
cmp dword [esi + 4], 8
jge 0x541fee
xor ecx, ecx
jmp 0x542034
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edf0d]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
mov esi, dword [esp + 0xd0]
mov ecx, eax
mov eax, dword [esp + 0x94]
test cl, cl
je 0x542063
mov ecx, dword [esi + 4]
cmp ecx, 8
jb 0x5424af
mov edi, dword [esi]
add ecx, 0xfffffff8
mov dword [esp + 0x8c], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add edi, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x542067
xor ecx, ecx
xor edi, edi
test ecx, ecx
je 0x541f47
mov dword [esp + 0xc8], edi
mov dword [esp + 0x8c], ecx
lea eax, [0x5c44c0]
mov dword [esp], eax
lea edx, [esp + 0x194]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x5420c8
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
jmp 0x541f47
mov eax, dword [sym.debug_pe._File_.DWARF.func2]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
lea edx, [0x601c04]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x542467
mov eax, dword [esp + 4]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0x8c]
cmp ebx, 5
jne 0x5421fd
mov ebp, dword [esp + 0xc8]
cmp dword [ebp], 0x65707974
jne 0x542204
cmp byte [ebp + 4], 0x73
jne 0x542204
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c2d80]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
lea eax, [0x5edf15]
mov dword [esp], eax
mov dword [esp + 4], 8
lea edx, [esp + 0x1b0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Sprintf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], eax
call sym.debug_dwarf._Data_.parseTypes
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xdc]
jmp 0x542427
mov ebp, dword [esp + 0xc8]
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [0x5eda77]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call sym.runtime.concatstring2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, 0xb
je 0x5423b2
cmp eax, 0xf
je 0x5422bd
cmp eax, 0x12
jne 0x54241c
mov dword [esp], ecx
lea eax, [0x5f19a1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x54241c
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x7c], edx
mov edx, dword [esp + 0xa0]
mov dword [ebx + 0x80], edx
mov edx, dword [0x776350]
test edx, edx
jne 0x5422a1
mov edx, dword [esp + 0xe0]
jmp 0x5422b5
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xe0]
mov dword [edi], edx
mov ebp, dword [ebx + 0x78]
mov dword [edi + 4], ebp
mov dword [ebx + 0x78], edx
jmp 0x542423
mov dword [esp + 0xd8], ecx
mov dword [esp], ecx
lea eax, [0x5f0848]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x542331
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x70], edx
mov edx, dword [esp + 0xa0]
mov dword [ebx + 0x74], edx
mov edx, dword [0x776350]
test edx, edx
jne 0x542315
mov edx, dword [esp + 0xe0]
jmp 0x542329
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xe0]
mov dword [edi], edx
mov ebp, dword [ebx + 0x6c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x6c], edx
jmp 0x542423
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
lea eax, [0x5f0857]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x54241c
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x88], edx
mov edx, dword [esp + 0xa0]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x776350]
test edx, edx
jne 0x542393
mov edx, dword [esp + 0xe0]
jmp 0x5423aa
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xe0]
mov dword [edi], edx
mov ebp, dword [ebx + 0x84]
mov dword [edi + 4], ebp
mov dword [ebx + 0x84], edx
jmp 0x542423
mov dword [esp], ecx
lea eax, [0x5ef05b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x54241c
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xdc]
mov dword [ebx + 0x64], edx
mov edx, dword [esp + 0xa0]
mov dword [ebx + 0x68], edx
mov edx, dword [0x776350]
test edx, edx
jne 0x542403
mov edx, dword [esp + 0xe0]
jmp 0x542417
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0xe0]
mov dword [edi], edx
mov ebp, dword [ebx + 0x60]
mov dword [edi + 4], ebp
mov dword [ebx + 0x60], edx
jmp 0x542423
mov ebx, dword [esp + 0xdc]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x542447
mov eax, dword [esp + 0x94]
mov edx, ebx
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
jmp 0x541f47
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], ecx
add esp, 0x1d0
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], ecx
add esp, 0x1d0
ret
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
add esp, 0x1d0
ret
mov eax, 8
call sym.runtime.panicSliceB
mov eax, 7
call sym.runtime.panicSliceB
mov eax, 8
call sym.runtime.panicSliceB
mov eax, 7
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.debug_pe._File_.DWARF