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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x52e016
sub esp, 0xb8
nop
lea eax, [0x5608e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax], ecx
mov edx, dword [0x6ddfe0]
test edx, edx
jne 0x52da1d
mov edx, dword [esp + 0xc0]
jmp 0x52da2b
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xc0]
mov dword [edi], edx
mov dword [esp + 0x60], eax
mov dword [eax + 4], edx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 0x7fffffff
lea ecx, [0x54e7a0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x52ddfe
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
bswap edx
nop
cmp edx, 0x1eb
je 0x52dad5
cmp edx, 0x647
je 0x52dad5
cmp edx, 0x8a97
jne 0x52dadb
xor eax, eax
xor edx, edx
jmp 0x52db4e
lea eax, [0x55f900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov dword [eax + 8], 0x10
lea ecx, [0x5834b9]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x54c120]
mov edx, dword [esp + 0x74]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
je 0x52db45
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0x10]
mov dword [edi + 4], ecx
mov dword [edx + 0x10], eax
lea eax, [0x5b7a00]
test eax, eax
jne 0x52ddde
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00460ba8
lea ecx, [0x5b78fc]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
lea ebx, [0x5b8368]
mov dword [esp + 8], ebx
lea ebp, [0x6ddda0]
mov dword [esp + 0xc], ebp
lea esi, [0x54b060]
mov dword [esp + 0x10], esi
lea esi, [esp + 0x40]
mov dword [esp + 0x14], esi
call sym.encoding_binary.Read
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x52ddb6
lea eax, [0x55fb80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 4
mov dword [eax + 0x14], 0x1000
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0x20
mov dword [eax + 0x20], 0
mov ecx, dword [esp + 0x40]
test ecx, 0x8000
je 0x52dc7b
lea ecx, [0x5b78fc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea ecx, [0x5b8368]
mov dword [esp + 8], ecx
lea ecx, [0x6ddda0]
mov dword [esp + 0xc], ecx
lea ecx, [0x548da0]
mov dword [esp + 0x10], ecx
lea ecx, [eax + 8]
mov dword [esp + 0x14], ecx
call sym.encoding_binary.Read
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x52dd8e
mov ecx, dword [esp + 0x68]
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], 0x200000
mov dword [ecx + 0x18], 0
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
add edx, 8
mov dword [ecx + 0x1c], edx
adc ebx, 0
mov dword [ecx + 0x20], ebx
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00460ba1
mov dword [esp + 0x80], 4
lea ecx, [0x5729fc]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 4
lea ecx, [0x572a44]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 4
lea ecx, [0x573458]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], 4
lea ecx, [0x57345c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], 4
lea ecx, [0x573460]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb4], ecx
lea ecx, [0x55fa00]
mov dword [esp], ecx
mov dword [esp + 4], 5
mov dword [esp + 8], 5
call sym.runtime.makeslice
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x28], 5
mov dword [edx + 0x2c], 5
mov ebx, dword [0x6ddfe0]
test ebx, ebx
je 0x52dd7d
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x24]
mov dword [edi + 4], eax
mov dword [edx + 0x24], ecx
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x7c]
xor ebx, ebx
jmp 0x52de3c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
add esp, 0xb8
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xb8
ret
mov dword [ebp + eax*4], ebx
mov ebp, dword [esp + 0x70]
add ebp, 0xc
lea ebx, [eax + 1]
mov edx, esi
mov ecx, ebp
mov eax, dword [esp + 0x38]
cmp ebx, 5
jge 0x52dfea
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx]
mov dword [esp + 0x6c], ebx
lea ebp, [0x5621c0]
mov dword [esp], ebp
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov ebx, dword [0x6ddfe0]
lea ebp, [edx + ecx]
mov dword [esp + 0x38], ebp
mov esi, 0xffffffff
sub esi, ecx
mov edi, 0x7fffffff
sbb edi, 0
test edi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
xchg ebp, ebx
setg bl
xchg ebp, ebx
cmp esi, edx
xchg esi, ebx
setae bl
xchg esi, ebx
and edi, esi
or ebp, edi
test ebx, ebx
jne 0x52decf
mov ebx, dword [esp + 0x6c]
jmp 0x52deda
call sym.runtime.gcWriteBarrier1
mov ebx, dword [esp + 0x6c]
mov dword [edi], ebx
mov dword [esp + 0x64], eax
mov dword [eax], ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x52def2
add ecx, edx
mov ebx, 0
adc ebx, 0
jmp 0x52defc
mov ebx, 0x7fffffff
mov ecx, 0xffffffff
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
lea eax, [0x5608e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax], ecx
mov edx, dword [0x6ddfe0]
test edx, edx
jne 0x52df32
mov edx, dword [esp + 0xc0]
jmp 0x52df40
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xc0]
mov dword [edi], edx
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0x24]
mov dword [eax + 0x18], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x1c], ebx
mov ebx, dword [0x6ddfe0]
test ebx, ebx
jne 0x52df79
mov ebx, dword [esp + 0x64]
jmp 0x52df8a
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x18]
mov dword [edi + 4], ebp
mov dword [ebx + 0x18], eax
lea ebp, [0x5b77a8]
mov dword [ebx + 0x10], ebp
mov esi, dword [0x6ddfe0]
test esi, esi
je 0x52dfad
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov esi, dword [ebx + 0x14]
mov dword [edi + 4], esi
mov dword [ebx + 0x14], eax
mov esi, dword [esp + 0x68]
mov edi, dword [esi + 0x28]
mov eax, dword [esp + 0x34]
cmp eax, edi
jae 0x52e00e
mov edi, dword [0x6ddfe0]
mov ebp, dword [esi + 0x24]
test edi, edi
je 0x52de26
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [ebp + eax*4]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc0]
jmp 0x52de26
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb8
ret
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.debug_plan9obj.NewFile