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

Disassembly:
mov ecx, dword [0x60047c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452770
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45233d
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ebx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.runtime._moduledata_.textAddr
mov eax, dword [esp + 0x24]
cmp dword [esp + 8], eax
jne 0x452116
mov ecx, 0xffffffff
jmp 0x452145
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
dec eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
call sym.runtime.pcdatavalue
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp ecx, 0xffffffff
jne 0x45214c
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x1c]
sub ebx, dword [edx + 0x14]
test ebx, ebx
jbe 0x4521e8
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x2b], 1
ja 0x452178
xor esi, esi
jmp 0x4521a6
lea esi, [ebp + 0x2b]
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0xa0]
mov ebx, dword [ebp + 0x1c]
lea ebx, [esi + ebx*4 + 5]
mov ebx, dword [ebx]
add eax, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and eax, ebx
mov ebx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x24]
test esi, esi
je 0x452698
mov edi, dword [esi]
test edi, edi
jle 0x452698
mov ebx, dword [esi + 4]
test ebx, ebx
jle 0x4521e2
mov dword [esp + 0x60], esi
test ecx, ecx
jl 0x45257f
cmp ecx, edi
jge 0x45257f
lea edi, [ebx + 7]
sar edi, 3
imul edi, ecx
lea esi, [esi + edi + 8]
jmp 0x4521ec
xor ebx, ebx
xor esi, esi
jmp 0x4521ec
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], ebx
mov dword [esp], edx
call sym.runtime._stkframe_.argMapInternal
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jle 0x45229b
test ecx, ecx
je 0x45221f
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov ebx, eax
jmp 0x4522a5
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0x2b]
test bl, bl
ja 0x452233
mov ebp, dword [esp + 0x44]
xor esi, esi
jmp 0x452257
lea ebx, [edx + 0x2b]
mov ebp, dword [esp + 0x44]
mov esi, dword [ebp + 0xa0]
mov edi, dword [edx + 0x1c]
lea ebx, [ebx + edi*4 + 1]
mov ebx, dword [ebx]
add esi, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and esi, ebx
test esi, esi
je 0x4524a4
mov ebx, dword [esi]
test ebx, ebx
jle 0x4524a4
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x2c]
test edi, edi
jl 0x45238f
cmp edi, ebx
jge 0x45238f
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x45228c
xor ebx, ebx
jmp 0x4522a5
lea eax, [ebx + 7]
sar eax, 3
imul edi, eax
lea ecx, [esi + edi + 8]
jmp 0x4522a5
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov ebx, eax
cmp byte [edx + 0x2b], 2
ja 0x4522af
xor ebp, ebp
jmp 0x4522cf
lea esi, [edx + 0x2b]
mov ebp, dword [ebp + 0xa0]
mov edx, dword [edx + 0x1c]
lea edx, [esi + edx*4 + 9]
mov edx, dword [edx]
add ebp, edx
cmp edx, 0xffffffff
sete dl
movzx edx, dl
dec edx
and ebp, edx
test ebp, ebp
je 0x452305
mov edx, dword [ebp]
nop
test edx, edx
jl 0x45238a
mov dword [esp + 0x30], edx
mov eax, 0x10
mul edx
jo 0x452385
lea edx, [ebp + 4]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x452385
mov eax, dword [esp + 0x30]
jmp 0x452309
xor eax, eax
xor ebp, ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x68
ret
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicelen
sar edi, 0x1f
mov dword [esp + 0x40], edi
mov ecx, dword [edx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
sar eax, 0x1f
mov dword [esp + 0x38], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x14], ebx
call sym.runtime.printlock
lea eax, [0x4fcea4]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call sym.runtime.printstring
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4fa111]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4ffc1b]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call sym.runtime.printstring
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4faf33]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4f9d95]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
lea eax, [0x4fc23c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
shl eax, 2
mov dword [esp + 0x40], eax
sar eax, 0x1f
mov dword [esp + 0x3c], eax
mov edx, dword [edx + 4]
mov dword [esp], ebp
mov dword [esp + 4], edx
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
call sym.runtime.printlock
lea eax, [0x4fbdf7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4fba2f]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call sym.runtime.printstring
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4f9d69]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4fc22c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
sar ecx, 0x1f
mov dword [esp + 0x40], ecx
mov edx, dword [ebp + 4]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], edx
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
sar eax, 0x1f
mov dword [esp + 0x38], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x1c], ebx
call sym.runtime.printlock
lea eax, [0x4fcea4]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call sym.runtime.printstring
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4fa111]
mov dword [esp], eax
mov dword [esp + 4], 5
call sym.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x5004a1]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call sym.runtime.printstring
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4faf33]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4f9d95]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
call sym.runtime.printunlock
lea eax, [0x4fc23c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime._moduledata_.funcName
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
call sym.runtime.printlock
lea eax, [0x4fbdf7]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x4fc21c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.printstring
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
lea eax, [0x4f9d69]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4fc22c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._stkframe_.getStackMap