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

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4284b3
sub esp, 0xbc
mov ebx, dword [esp + 0xc0]
test byte [ebx], al
mov ebp, dword [0x55d6ac]
mov esi, dword [0x5301d4]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ebp, [sym.runtime._pageAlloc_.find.func1]
mov dword [esp + 0xb4], ebp
lea ebp, [esp + 0x94]
mov dword [esp + 0xb8], ebp
xor eax, eax
xor ecx, ecx
mov edx, 0xffffffff
xor ebp, ebp
xor esi, esi
jmp 0x4279a5
mov edi, dword [esp + 0x48]
inc edi
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x58]
mov ebx, ecx
mov eax, edi
mov ecx, edx
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x5c], ecx
cmp eax, 4
jge 0x427aaa
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], edx
lea edi, [0x530340]
mov edx, dword [edi + eax*4]
mov ecx, edx
mov edi, 1
shl edi, cl
mov esi, dword [esp + 0x5c]
shl esi, cl
mov dword [esp + 0x90], esi
lea ebp, [eax + eax*2]
mov esi, dword [ebx + ebp*4 + 8]
mov dword [esp + 0x8c], esi
lea esi, [0x530360]
mov esi, dword [esi + eax*4]
mov ebp, dword [ebx + ebp*4]
mov dword [esp + 0xb0], ebp
cmp ecx, 0x20
sbb ecx, ecx
and edi, ecx
mov edx, esi
mov esi, dword [esp + 0x90]
and esi, ecx
lea ecx, [esi + edi]
mov ebp, dword [esp + 0x8c]
cmp ebp, ecx
jb 0x4284ab
cmp esi, ecx
ja 0x4284a4
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
sub ebp, esi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl esi, 3
sar ebp, 0x1f
and ebp, esi
mov esi, dword [ebx + 0x34]
xchg edi, ebx
neg ebx
xchg edi, ebx
lea ebx, [0x530350]
mov eax, dword [ebx + eax*4]
mov ecx, eax
shr esi, cl
mov ebx, dword [esp + 0xb0]
add ebx, ebp
cmp eax, 0x20
sbb ebp, ebp
and esi, ebp
and edi, esi
mov ebp, dword [esp + 0x5c]
cmp edi, ebp
jne 0x427a81
mov ecx, dword [esp + 0x60]
lea edi, [ecx - 1]
and edi, esi
jmp 0x427a87
mov ecx, dword [esp + 0x60]
xor edi, edi
mov dword [esp + 0x88], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x4c], edi
mov eax, edi
xor esi, esi
xor eax, eax
mov dword [esp + 0x68], eax
mov eax, edi
jmp 0x427d44
cmp ecx, 0x400
jae 0x427d2d
mov eax, dword [ebx + 0x30]
test byte [eax], al
shl ecx, 7
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.runtime._pallocBits_.find
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x427b53
mov ecx, dword [esp + 0x10]
shl eax, 0xd
shl ecx, 0xd
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x5c]
lea esi, [ebp + 1]
shl ebp, 0x16
add eax, ebp
mov dword [esp + 0x6c], eax
add ecx, ebp
shl esi, 0x16
sub esi, ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
lea edx, [esp + 0xb4]
call ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime._pageAlloc_.findMappedAddr
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xbc
ret
mov edx, dword [esp + 0xc0]
mov ecx, dword [edx + 0x28]
mov eax, dword [esp + 0x5c]
cmp eax, ecx
jae 0x427d28
mov ecx, dword [edx + 0x24]
lea ecx, [ecx + eax*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, 0x80000000
je 0x427d15
mov ebx, 0x40000
je 0x427cfa
mov ecx, 0x40000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
je 0x427cec
mov edx, 0x40000
mov dword [esp + 0x14], edx
call sym.runtime.printlock
lea eax, [0x49a4e6]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call sym.runtime.printstring
mov dword [esp + 4], 0
mov dword [esp], 3
call sym.runtime.printint
lea eax, [0x4984e0]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x498691]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984d4]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
call sym.runtime.printlock
lea eax, [0x49a842]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x49a1ab]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
shr edx, 4
and edx, 0x3ffff
jmp 0x427ba3
mov ebp, edx
shl ebp, 0xe
shr ecx, 0x12
or ecx, ebp
and ecx, 0x3ffff
test edx, 0x80000000
jmp 0x427b90
mov ebx, ecx
and ebx, 0x3ffff
test edx, 0x80000000
jmp 0x427b85
call sym.runtime.panicIndex
mov eax, ecx
mov ecx, 0x400
call sym.runtime.panicIndexU
inc edi
mov dword [esp + 0x68], esi
mov esi, eax
mov eax, dword [esp + 0x4c]
cmp edi, ecx
jge 0x427f31
jae 0x42849d
mov dword [esp + 0x38], esi
lea eax, [ebx + edi*8]
mov esi, dword [eax + 4]
mov dword [esp + 0x84], esi
mov eax, dword [eax]
mov dword [esp + 0x80], eax
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
test eax, eax
sete al
and esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x427d8a
xor eax, eax
mov esi, dword [esp + 0x68]
jmp 0x427d39
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0xb4]
lea ebx, [edi + ebp]
mov dword [esp + 0x58], ebx
mov ecx, edx
mov esi, 1
shl esi, cl
mov ebp, dword [esp + 0x48]
lea edi, [0x530350]
mov edi, dword [edi + ebp*4]
mov ecx, edi
shl ebx, cl
cmp edx, 0x20
sbb ebp, ebp
and esi, ebp
shl esi, 0xd
cmp ecx, 0x20
sbb ebp, ebp
and ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], esi
lea edx, [esp + 0xb4]
call eax
mov eax, dword [esp + 0x84]
test eax, 0x80000000
je 0x427df3
mov ebp, dword [esp + 0x80]
mov ebx, 0x40000
jmp 0x427e02
mov ebx, dword [esp + 0x80]
mov ebp, ebx
and ebx, 0x3ffff
mov esi, dword [esp + 0x38]
lea edi, [esi + ebx]
mov ecx, ebx
mov ebx, dword [esp + 0xc4]
cmp ebx, edi
jbe 0x427efc
test eax, 0x80000000
je 0x427e28
mov edx, 0x40000
jmp 0x427e43
mov edi, eax
shl eax, 0xe
shr ebp, 0x12
or ebp, eax
and ebp, 0x3ffff
mov eax, edi
mov edx, ebp
mov ebp, dword [esp + 0x80]
cmp ebx, edx
jbe 0x427981
test esi, esi
jne 0x427e56
test eax, 0x80000000
jmp 0x427e7f
mov ebp, dword [esp + 0x88]
cmp ebp, 0x20
sbb edi, edi
mov edx, ecx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
and ebx, edi
cmp edx, ebx
jae 0x427edb
test eax, 0x80000000
mov ebx, dword [esp + 0xc4]
je 0x427e92
mov ecx, dword [esp + 0x88]
cmp ecx, 0x20
mov eax, 0x40000
jmp 0x427ea4
shr eax, 4
and eax, 0x3ffff
mov ecx, dword [esp + 0x88]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x54]
lea edi, [esi + 1]
shl edi, cl
and edi, ebp
sub edi, eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
mov edx, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x88]
jmp 0x427d39
lea eax, [esi + ebx]
mov ecx, dword [esp + 0x60]
mov edx, ebp
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
jmp 0x427d39
test esi, esi
jne 0x427f16
mov ecx, dword [esp + 0x88]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x54]
shl edx, cl
and edx, eax
jmp 0x427f1a
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
mov esi, edi
jmp 0x427f35
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0xc4]
cmp edi, esi
jbe 0x428297
mov edx, dword [esp + 0x48]
test edx, edx
je 0x428278
mov esi, dword [esp + 0x44]
test esi, 0x80000000
je 0x427f75
mov dword [esp + 0xa4], eax
mov eax, 0x40000
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
jmp 0x427f90
mov ebx, dword [esp + 0x40]
and ebx, 0x3ffff
test esi, 0x80000000
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xac]
je 0x427fab
mov dword [esp + 0x9c], eax
mov eax, 0x40000
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
jmp 0x427fd2
shl esi, 0xe
mov ebx, dword [esp + 0x40]
shr ebx, 0x12
or ebx, esi
and ebx, 0x3ffff
mov esi, dword [esp + 0x44]
test esi, 0x80000000
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xac]
je 0x427fdb
mov esi, 0x40000
jmp 0x427fe4
shr esi, 4
and esi, 0x3ffff
mov dword [esp + 0x2c], esi
call sym.runtime.printlock
lea eax, [0x49a4e6]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call sym.runtime.printstring
mov eax, dword [esp + 0x3c]
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x48]
lea ebx, [edx - 1]
mov ebp, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.runtime.printint
lea eax, [0x4984e0]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x4985a0]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
call sym.runtime.printlock
lea eax, [0x49a4f7]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x4991be]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4988b8]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x4c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
call sym.runtime.printnl
call sym.runtime.printunlock
mov eax, dword [esp + 0x5c]
sar eax, 0x1f
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0xc0]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x74], edx
call sym.runtime.printlock
lea eax, [0x49be6a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym.runtime.printhex
lea eax, [0x49878e]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.printint
call sym.runtime.printnl
call sym.runtime.printunlock
mov eax, dword [esp + 0x48]
lea ecx, [0x530350]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x88], ecx
lea edx, [0x530340]
mov edx, dword [edx + eax*4]
mov dword [esp + 0x70], edx
call sym.runtime.printlock
lea eax, [0x49cea8]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x49b252]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
xor eax, eax
jmp 0x428406
mov eax, dword [0x5301d4]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
add esp, 0xbc
ret
shl edx, 0xd
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x48]
lea esi, [0x530350]
mov ecx, dword [esi + ebx*4]
mov dword [esp + 0x88], ecx
shl ebp, cl
mov dword [esp + 0x74], ebp
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.runtime._pageAlloc_.findMappedAddr
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x88]
cmp edx, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x74]
and edx, ebx
mov ebx, dword [esp + 0x64]
add edx, ebx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
add esp, 0xbc
ret
mov dword [esp + 0x20], ebp
call sym.runtime.printlock
lea eax, [0x49a4e6]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call sym.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x4984e0]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax]
mov ebx, edx
sar edx, 0x1f
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.runtime.printint
lea eax, [0x498691]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984c8]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4984d4]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jge 0x428487
mov edx, dword [esp + 0xac]
lea ebx, [edx + eax*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ebp, 0x80000000
je 0x42842c
mov esi, 0x40000
jmp 0x428440
mov esi, ebx
and ebx, 0x3ffff
test ebp, 0x80000000
mov edi, ebx
mov ebx, esi
mov esi, edi
je 0x428449
mov ebx, 0x40000
jmp 0x428461
mov edi, ebp
shl ebp, 0xe
shr ebx, 0x12
or ebx, ebp
and ebx, 0x3ffff
test edi, 0x80000000
mov ebp, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
je 0x428479
mov ebp, 0x40000
jmp 0x428303
shr ebp, 4
and ebp, 0x3ffff
jmp 0x428303
lea eax, [0x49a1ab]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
mov eax, edi
call sym.runtime.panicIndex
mov eax, esi
call sym.runtime.panicSliceB
mov edx, ebp
call sym.runtime.panicSliceAcap
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._pageAlloc_.find