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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x542888
sub esp, 0x1d0
lea edi, [esp + 0x194]
xor eax, eax
call fcn.0046ac59
lea edi, [esp + 0xe8]
call fcn.0046ac35
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1a0], ecx
call sym.runtime.rand32
mov ecx, dword [esp]
mov dword [esp + 0x19c], ecx
lea ecx, [0x5c4500]
mov dword [esp], ecx
lea edx, [esp + 0x194]
mov dword [esp + 4], edx
lea ebx, [0x5ed6c8]
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 [0x776370]
test edx, edx
je 0x541c68
mov eax, dword [ecx]
call sym.runtime.gcWriteBarrier1
mov dword [edi], eax
mov dword [ecx], 0
lea eax, [0x5c4500]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed12f]
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 [0x776370]
test ecx, ecx
je 0x541cbe
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c4500]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ecf16]
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 [0x776370]
test ecx, ecx
je 0x541d14
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c4500]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed137]
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 [0x776370]
test ecx, ecx
je 0x541d6a
mov ecx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax], 0
lea eax, [0x5c4500]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed6ce]
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 [0x776370]
test ecx, ecx
je 0x541dc0
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 0x541de6
inc eax
cmp eax, ebp
jge 0x54205e
mov dword [esp + 0xc0], eax
mov esi, dword [ebx + eax*4]
mov dword [esp + 0xd4], esi
cmp dword [esi + 4], 7
jge 0x541e09
xor ecx, ecx
jmp 0x541e4f
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edb17]
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 0x541e81
mov ecx, dword [esi + 4]
cmp ecx, 7
jb 0x54287d
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 0x541f04
cmp dword [esi + 4], 8
jge 0x541e8b
xor ecx, ecx
jmp 0x541ed1
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edfad]
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 0x541f00
mov ecx, dword [esi + 4]
cmp ecx, 8
jb 0x542873
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 0x541f04
xor ecx, ecx
xor edi, edi
test ecx, ecx
je 0x541de5
mov dword [esp + 0x90], ecx
mov dword [esp + 0xcc], edi
lea eax, [0x5c4500]
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 0x541f65
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x1d4]
mov ebx, dword [esp + 0x1cc]
mov ebp, dword [esp + 0xc4]
jmp 0x541de5
mov eax, dword [sym.debug_pe._File_.DWARF.func2]
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
lea edx, [0x601cc4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x54203a
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, [0x5c4500]
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 [0x776370]
test ecx, ecx
jne 0x542004
mov edx, dword [esp + 0xe4]
jmp 0x542017
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 0x541de5
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, [0x5c4500]
mov dword [esp], eax
lea ecx, [esp + 0x194]
mov dword [esp + 4], ecx
lea edx, [0x5ed6c8]
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, [0x5c4500]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed12f]
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, [0x5c4500]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed137]
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, [0x5c4500]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ed6ce]
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, [0x5c4500]
mov dword [esp], ebx
lea ebp, [esp + 0x194]
mov dword [esp + 4], ebp
lea esi, [0x5ecf16]
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 0x5422d3
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 0x5422f8
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 0x54283b
mov dword [esp + 0x94], eax
mov esi, dword [ebp + eax*4]
mov dword [esp + 0xd0], esi
cmp dword [esi + 4], 7
jge 0x54231c
xor ecx, ecx
jmp 0x542362
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edb17]
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 0x542394
mov ecx, dword [esi + 4]
cmp ecx, 7
jb 0x542869
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 0x542417
cmp dword [esi + 4], 8
jge 0x54239e
xor ecx, ecx
jmp 0x5423e4
mov eax, dword [esi]
mov dword [esp], eax
lea eax, [0x5edfad]
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 0x542413
mov ecx, dword [esi + 4]
cmp ecx, 8
jb 0x54285f
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 0x542417
xor ecx, ecx
xor edi, edi
test ecx, ecx
je 0x5422f7
mov dword [esp + 0xc8], edi
mov dword [esp + 0x8c], ecx
lea eax, [0x5c4500]
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 0x542478
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
jmp 0x5422f7
mov eax, dword [sym.debug_pe._File_.DWARF.func2]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
lea edx, [0x601cc4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x542817
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 0x5425ad
mov ebp, dword [esp + 0xc8]
cmp dword [ebp], 0x65707974
jne 0x5425b4
cmp byte [ebp + 4], 0x73
jne 0x5425b4
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, [0x5c2dc0]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
lea eax, [0x5edfb5]
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 0x5427d7
mov ebp, dword [esp + 0xc8]
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [0x5edb17]
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 0x542762
cmp eax, 0xf
je 0x54266d
cmp eax, 0x12
jne 0x5427cc
mov dword [esp], ecx
lea eax, [0x5f1a48]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5427cc
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 [0x776370]
test edx, edx
jne 0x542651
mov edx, dword [esp + 0xe0]
jmp 0x542665
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 0x5427d3
mov dword [esp + 0xd8], ecx
mov dword [esp], ecx
lea eax, [0x5f08ef]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5426e1
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 [0x776370]
test edx, edx
jne 0x5426c5
mov edx, dword [esp + 0xe0]
jmp 0x5426d9
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 0x5427d3
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
lea eax, [0x5f08fe]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xf
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5427cc
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 [0x776370]
test edx, edx
jne 0x542743
mov edx, dword [esp + 0xe0]
jmp 0x54275a
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 0x5427d3
mov dword [esp], ecx
lea eax, [0x5ef102]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x5427cc
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 [0x776370]
test edx, edx
jne 0x5427b3
mov edx, dword [esp + 0xe0]
jmp 0x5427c7
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 0x5427d3
mov ebx, dword [esp + 0xdc]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x5427f7
mov eax, dword [esp + 0x94]
mov edx, ebx
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x1b8]
jmp 0x5422f7
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