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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x525590
sub esp, 0xa4
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x52513c
mov ecx, dword [esp + 0xb4]
shl ecx, 3
mov edx, dword [esp + 0xb0]
mov ebx, edx
shr edx, 0x1d
or edx, ecx
shl ebx, 3
jmp 0x525157
mov edx, dword [esp + 0xb4]
shl edx, 2
mov ebx, dword [esp + 0xb0]
mov ecx, ebx
shr ecx, 0x1e
or edx, ecx
shl ebx, 2
mov byte [esp + 0xf], al
mov ecx, dword [esp + 0xa8]
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0xac]
adc edx, ebp
mov esi, ebx
sar ebx, 0x1f
cmp ebx, edx
je 0x525260
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx + 0x2c]
nop
test ebx, ebx
jne 0x525267
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov ebx, dword [0x7b12d0]
test ebx, ebx
je 0x5251b3
mov ebx, dword [edx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [edx + 0x20], 0
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0046ffcb
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x98], ecx
lea ecx, [0x62b930]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0x24
lea ecx, [0x606980]
mov dword [esp], ecx
lea ebx, [esp + 0x90]
mov dword [esp + 4], ebx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x66e2a0]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x2c], edx
mov ebp, dword [0x7b12d0]
test ebp, ebp
je 0x525242
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 + 0xa8]
mov edx, ebx
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0x1c]
jmp 0x525267
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.0046ffc3
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, [0x61e903]
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.0047045e
nop
nop
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jl 0x52531d
mov edx, dword [esp + 0x7c]
cmp ecx, edx
jle 0x5253d2
mov ecx, dword [esp + 0x84]
nop
test ecx, ecx
je 0x525335
movzx ecx, byte [esp + 0xf]
test cl, cl
jmp 0x52540a
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
lea edi, [esp + 0x20]
call fcn.0046ffcb
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
lea ecx, [0x61ef37]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 9
lea edi, [esp + 0x90]
lea esi, [esp + 0x20]
call fcn.004704ae
lea ecx, [0x606980]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x66e2a0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
movzx ecx, byte [esp + 0xf]
test cl, cl
mov eax, 0
jmp 0x52540a
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 0x525422
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 0x525434
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 0x525487
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [ecx + 0x2c], edx
mov edx, dword [0x7b12d0]
test edx, edx
je 0x525467
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 + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa4
ret
mov edx, eax
sar eax, 0x1f
cmp ecx, eax
je 0x525569
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x2c]
nop
test ebp, ebp
jne 0x525569
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov ebp, dword [0x7b12d0]
test ebp, ebp
je 0x5254d1
mov ebp, dword [ebx + 0x20]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [ebx + 0x20], 0
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046ffcb
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x28], ecx
lea ecx, [0x62e690]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x2d
lea edi, [esp + 0x90]
lea esi, [esp + 0x20]
call fcn.004704ae
lea ecx, [0x606980]
mov dword [esp], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x66e2a0]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x7b12d0]
test edx, edx
je 0x52555e
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 + 0xa8]
add eax, edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xac]
adc eax, ecx
mov dword [esp + 0xbc], eax
add esp, 0xa4
ret
call sym.runtime.morestack
jmp sym.debug_dwarf._buf_.entry.func2