Function at 0x4524c0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452749
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x54]
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
mov ebp, dword [edx + 4]
mov dword [esp + 0x1c], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x50]
mov esi, dword [edi]
mov dword [esp + 0x38], esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x452539
mov eax, dword [esp + 0x20]
add eax, 8
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, esi
jae 0x45255c
mov ecx, dword [edi + 4]
mov dword [esp], ecx
shr eax, 3
mov dword [esp + 4], eax
call sym.runtime.addb
mov eax, dword [esp + 8]
movzx eax, byte [eax]
jmp 0x452565
add esp, 0x48
ret
movzx eax, byte [esp + 0x12]
test al, al
je 0x452516
mov byte [esp + 0x12], al
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
bsf edx, eax
lea ebx, [eax - 1]
mov byte [esp + 0x13], bl
mov ebp, dword [esp + 0x20]
add edx, ebp
shl edx, 2
mov dword [esp + 4], edx
call sym.runtime.add
movzx eax, byte [esp + 0x12]
movzx ecx, byte [esp + 0x13]
and eax, ecx
mov byte [esp + 0x12], al
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
jmp 0x4525e4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
jmp 0x452560
mov esi, dword [esp + 0x24]
add eax, esi
mov edi, dword [esp + 0x44]
mov dword [edi], eax
jmp 0x452560
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
jmp 0x452560
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
call sym.runtime.funcInfo.valid
movzx eax, byte [esp + 8]
test al, al
je 0x452622
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfff
jae 0x452626
mov ecx, dword [0x61cc48]
test ecx, ecx
je 0x452626
jmp 0x452674
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jb 0x4525ce
mov edx, dword [esp + 0x1c]
cmp eax, edx
jae 0x4525d2
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jbe 0x4525c0
mov ecx, eax
mov edx, dword [esp + 0x24]
add ecx, edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.internal_runtime_atomic.Casp1
movzx eax, byte [esp + 0xc]
test al, al
je 0x4525e0
jmp 0x4525aa
mov eax, dword [0x61c868]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x95], 2
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call sym.runtime.funcname
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
call sym.runtime.printlock
lea eax, [0x52d518]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call sym.runtime.printstring
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sym.runtime.printstring
lea eax, [0x524fad]
mov dword [esp], eax
mov dword [esp + 4], 4
call sym.runtime.printstring
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym.runtime.printpointer
lea eax, [0x524d23]
mov dword [esp], eax
mov dword [esp + 4], 2
call sym.runtime.printstring
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.printhex
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x52d536]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.adjustpointers