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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x5135ba
sub esp, 0xcc
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x51313c
mov ecx, dword [esp + 0xdc]
shl ecx, 3
mov edx, dword [esp + 0xd8]
mov ebx, edx
shr edx, 0x1d
or edx, ecx
shl ebx, 3
jmp 0x513157
mov edx, dword [esp + 0xdc]
shl edx, 2
mov ebx, dword [esp + 0xd8]
mov ecx, ebx
shr ecx, 0x1e
or edx, ecx
shl ebx, 2
mov byte [esp + 0xf], al
mov ecx, dword [esp + 0xd0]
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0xd4]
adc edx, ebp
mov esi, ebx
sar ebx, 0x1f
cmp ebx, edx
je 0x513260
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx + 0x2c]
nop
test ebx, ebx
jne 0x513267
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov ebx, dword [0x776350]
test ebx, ebx
je 0x5131b3
mov ebx, dword [edx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [edx + 0x20], 0
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0046ab9b
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0xc0], ecx
lea ecx, [0x5f8f09]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0x24
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea ebx, [esp + 0xb8]
mov dword [esp + 4], ebx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x2c], edx
mov ebp, dword [0x776350]
test ebp, ebp
je 0x513242
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x30]
mov dword [edi + 4], ebp
mov dword [ebx + 0x30], ecx
movzx eax, byte [esp + 0xf]
mov ecx, dword [esp + 0xd0]
mov edx, ebx
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0x1c]
jmp 0x513267
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx]
mov edi, dword [edx + 0xc]
mov dword [esp + 0x10], edi
mov ebp, dword [edx + 0x10]
mov ecx, dword [ebx + 0x84]
mov dword [esp + 0x54], ecx
mov edx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046ab93
mov dword [esp + 0x20], ebx
mov ecx, dword [ebx + 0x98]
mov ebx, dword [ebx + 0x9c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebp
lea ecx, [0x5ede95]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea edi, [esp + 0x58]
lea esi, [esp + 0x20]
call fcn.0046b02e
nop
nop
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jl 0x51331d
mov edx, dword [esp + 0x7c]
cmp ecx, edx
jle 0x5133e7
mov ecx, dword [esp + 0x84]
nop
test ecx, ecx
je 0x513335
movzx ecx, byte [esp + 0xf]
test cl, cl
jmp 0x51341f
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
lea edi, [esp + 0xa4]
call fcn.0046ab9b
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xac], ecx
lea ecx, [0x5ee438]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 9
lea edi, [esp + 0xb8]
lea esi, [esp + 0xa4]
call fcn.0046b07e
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea edx, [esp + 0xb8]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0xf]
test cl, cl
mov eax, 0
jmp 0x51341f
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
sub ebp, ecx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
add ebx, ebp
sub edx, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], ebx
add dword [esp + 0x74], ecx
movzx ecx, byte [esp + 0xf]
test cl, cl
je 0x513437
lea eax, [esp + 0x58]
mov dword [esp], eax
call sym.debug_dwarf._buf_.uint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x513449
lea eax, [esp + 0x58]
mov dword [esp], eax
call sym.debug_dwarf._buf_.uint32
mov eax, dword [esp + 4]
xor ecx, ecx
mov edx, dword [esp + 0x84]
test edx, edx
je 0x51349c
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 0x2c], edx
mov edx, dword [0x776350]
test edx, edx
je 0x51347c
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx + 0x30]
mov dword [edi + 4], edx
mov dword [ecx + 0x30], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xcc
ret
mov edx, eax
sar eax, 0x1f
cmp ecx, eax
je 0x513593
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x2c]
nop
test ebp, ebp
jne 0x513593
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov ebp, dword [0x776350]
test ebp, ebp
je 0x5134e6
mov ebp, dword [ebx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [ebx + 0x20], 0
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0046ab9b
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x98], ecx
lea ecx, [0x5fb8b5]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0x2d
lea edi, [esp + 0xb8]
lea esi, [esp + 0x90]
call fcn.0046b07e
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x776350]
test edx, edx
je 0x513588
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd0]
add eax, edx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xd4]
adc eax, ecx
mov dword [esp + 0xe4], eax
add esp, 0xcc
ret
call sym.runtime.morestack
jmp sym.debug_dwarf._buf_.entry.func2