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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x513c6c
sub esp, 0x118
mov ecx, dword [edx + 4]
mov dword [esp + 0xc4], ecx
mov edx, dword [esp + 0x124]
mov ebx, dword [esp + 0x11c]
add edx, ebx
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x120]
adc ebx, ebp
mov ebp, edx
sar edx, 0x1f
cmp edx, ebx
je 0x5136f9
mov edx, dword [ecx + 0x2c]
nop
test edx, edx
jne 0x5136f9
mov dword [esp + 0x1c], ebp
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov edx, dword [0x776350]
test edx, edx
je 0x51365a
mov edx, dword [ecx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [ecx + 0x20], 0
lea edi, [esp + 0x104]
xor eax, eax
call fcn.0046ab9b
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ebx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x10c], edx
lea edx, [0x5f76eb]
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], 0x20
lea edx, [0x5d8bc0]
mov dword [esp], edx
lea ebx, [esp + 0x104]
mov dword [esp + 4], ebx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov ebx, dword [esp + 0xc4]
mov dword [ebx + 0x2c], edx
mov ebp, dword [0x776350]
test ebp, ebp
je 0x5136f0
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x30]
mov dword [edi + 4], ebp
mov dword [ebx + 0x30], ecx
mov ecx, ebx
mov ebp, dword [esp + 0x1c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x8c], eax
mov esi, dword [edx + 0x78]
mov edi, dword [edx + 0x7c]
mov dword [esp + 0x10], edi
mov ecx, dword [edx + 0x80]
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0046ab93
mov dword [esp + 0x54], edx
mov ecx, dword [edx + 0x98]
mov edx, dword [edx + 0x9c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x64], ecx
lea ecx, [0x5ef050]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], 0xb
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edi, [esp + 0x90]
lea esi, [esp + 0x54]
call fcn.0046b02e
nop
nop
test ebp, ebp
jl 0x5137b7
mov ecx, dword [esp + 0xb4]
cmp ebp, ecx
jle 0x51387e
mov ecx, dword [esp + 0xbc]
nop
test ecx, ecx
jne 0x5138b7
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], 0
lea edi, [esp + 0xf0]
call fcn.0046ab9b
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xf8], ecx
lea ecx, [0x5ee438]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], 9
lea edi, [esp + 0x104]
lea esi, [esp + 0xf0]
call fcn.0046b07e
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea edx, [esp + 0x104]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
xor eax, eax
jmp 0x5138b7
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
sub ebx, ebp
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
add edx, ebx
sub ecx, ebp
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], edx
add dword [esp + 0xac], ebp
mov eax, dword [esp + 0xc4]
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 0x5138ee
lea eax, [esp + 0x90]
mov dword [esp], eax
call sym.debug_dwarf._buf_.uint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x513903
lea eax, [esp + 0x90]
mov dword [esp], eax
call sym.debug_dwarf._buf_.uint32
mov eax, dword [esp + 4]
xor ecx, ecx
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x513956
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov dword [ecx + 0x2c], edx
mov edx, dword [0x776350]
test edx, edx
je 0x513936
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 + 0x12c], 0
mov dword [esp + 0x130], 0
add esp, 0x118
ret
mov edx, eax
sar eax, 0x1f
cmp ecx, eax
je 0x513a50
mov ecx, dword [esp + 0xc4]
mov ebx, dword [ecx + 0x2c]
nop
test ebx, ebx
jne 0x513a57
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov ebx, dword [0x776350]
test ebx, ebx
je 0x51399c
mov ebx, dword [ecx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [ecx + 0x20], 0
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0046ab9b
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ebx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xe4], edx
lea edx, [0x5fa8af]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], 0x29
lea edi, [esp + 0x104]
lea esi, [esp + 0xdc]
call fcn.0046b07e
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea edx, [esp + 0x104]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov ebx, dword [esp + 0xc4]
mov dword [ebx + 0x2c], edx
mov ebp, dword [0x776350]
test ebp, ebp
je 0x513a45
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx + 0x30]
mov dword [edi + 4], ebp
mov dword [ebx + 0x30], ecx
mov ecx, ebx
mov edx, dword [esp + 0x1c]
jmp 0x513a57
mov ecx, dword [esp + 0xc4]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], edi
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x14], ecx
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 dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x30], ecx
lea ecx, [0x5ece76]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea edi, [esp + 0x90]
lea esi, [esp + 0x20]
call fcn.0046b02e
nop
nop
test edx, edx
jl 0x513b0c
mov ecx, dword [esp + 0xb4]
cmp edx, ecx
jle 0x513bd1
mov ecx, dword [esp + 0xbc]
nop
test ecx, ecx
jne 0x513c0a
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb0], 0
lea edi, [esp + 0xc8]
call fcn.0046ab9b
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xd0], ecx
lea ecx, [0x5ee438]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 9
lea edi, [esp + 0x104]
lea esi, [esp + 0xc8]
call fcn.0046b07e
lea ecx, [0x5d8bc0]
mov dword [esp], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x634be4]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
jmp 0x513c0a
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
sub ebx, edx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
add eax, ebx
sub ecx, edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb0], eax
add dword [esp + 0xac], edx
lea eax, [esp + 0x90]
mov dword [esp], eax
call sym.debug_dwarf._buf_.string
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x513c57
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
mov dword [ebp + 0x2c], eax
mov eax, dword [0x776350]
test eax, eax
je 0x513c54
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ebp + 0x30]
mov dword [edi + 4], eax
mov dword [ebp + 0x30], ebx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
add esp, 0x118
ret
call sym.runtime.morestack
jmp sym.debug_dwarf._buf_.entry.func1