Function at 0x5d599c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51488c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov eax, dword [0x559598]
xor ebx, ebx
lea ebp, [esi + 8]
mov dword [esp + 0x2c], ebx
mov dword [ebp], eax
mov ecx, dword [0x559598]
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], ecx
mov edx, dword [0x559598]
mov byte [esp + 0x2c], 2
mov dword [esi + 0x10], edx
mov eax, dword [0x559598]
mov byte [esp + 0x2c], 3
mov dword [esi + 0x14], eax
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
mov byte [esp + 0x2c], 4
cmp edi, ebx
mov dword [esi], 0x52ef94
mov dword [esi + 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xbf800000
mov dword [esi + 0x44], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ecx
je 0x5d5f71
push 0x558668
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5a9d
push ebx
push eax
mov ecx, edi
call fcn.005db77c
push eax
mov ecx, ebp
call fcn.0060c6d9
mov ecx, ebp
call fcn.00604c38
mov ecx, ebp
call fcn.00604bec
mov ebp, dword [ebp]
xor eax, eax
mov edx, dword [ebp - 8]
cmp edx, ebx
jle 0x5d5a91
mov cl, byte [eax + ebp]
cmp cl, 0x30
jl 0x5d5a9d
cmp cl, 0x39
jg 0x5d5a9d
inc eax
cmp eax, edx
jl 0x5d5a7f
push ebp
call fcn.005f1a3b
add esp, 4
mov dword [esi + 4], eax
push 0x5585b8
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5ad7
push ebx
push eax
mov ecx, edi
call fcn.005db77c
lea ebp, [esi + 0xc]
push eax
mov ecx, ebp
call fcn.0060c6d9
mov ecx, ebp
call fcn.00604c38
mov ecx, ebp
call fcn.00604bec
mov eax, dword [esi + 0x44]
or al, 1
mov dword [esi + 0x44], eax
push 0x5585b0
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5b11
push ebx
push eax
mov ecx, edi
call fcn.005db77c
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
call fcn.0060c6d9
mov ecx, ebp
call fcn.00604c38
mov ecx, ebp
call fcn.00604bec
mov eax, dword [esi + 0x44]
or al, 2
mov dword [esi + 0x44], eax
push 0x55865c
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5b4b
push ebx
push eax
mov ecx, edi
call fcn.005db77c
lea ebp, [esi + 0x14]
push eax
mov ecx, ebp
call fcn.0060c6d9
mov ecx, ebp
call fcn.00604c38
mov ecx, ebp
call fcn.00604bec
mov eax, dword [esi + 0x44]
or al, 4
mov dword [esi + 0x44], eax
push 0x558654
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5bae
push ebx
push eax
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call fcn.00604c38
lea ecx, [esp + 0x38]
call fcn.00604bec
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x5d5b99
mov edx, dword [esp + 0x38]
push edx
call fcn.005d87dc
jmp 0x5d5b9b
xor eax, eax
mov dword [esi + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0060c550
jmp 0x5d5bb1
mov dword [esi + 0x18], ebx
push 0x558644
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5c0e
push ebx
push eax
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 6
call fcn.00604c38
mov eax, dword [esp + 0x38]
push eax
call fcn.005f1a3b
add esp, 4
cmp eax, 1
mov dword [esi + 0x1c], eax
jge 0x5d5bfe
mov dword [esi + 0x1c], 0xffffffff
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0060c550
jmp 0x5d5c56
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x5d5c56
lea edx, [esp + 0x34]
push edx
call fcn.005d5fac
mov eax, dword [eax]
push 0x55863c
push eax
mov byte [esp + 0x34], 7
call fcn.005f0cb2
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete byte [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0060c550
cmp byte [esp + 0x38], bl
je 0x5d5c56
mov dword [esi + 0x1c], 2
push 0x55862c
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5cca
push ebx
push eax
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 8
call fcn.00604c38
mov eax, dword [esp + 0x38]
push eax
call fcn.005f1450
fcom dword [0x519030]
fst dword [esi + 0x20]
add esp, 4
fnstsw ax
test ah, 1
jne 0x5d5cb3
fcomp dword [0x519034]
fnstsw ax
test ah, 0x41
jne 0x5d5cbc
jmp 0x5d5cb5
fstp st(0)
mov dword [esi + 0x20], 0xbf800000
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 4
call fcn.0060c550
push 0x558624
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x5d5d71
push 0x55861c
mov ecx, edi
call fcn.005db58c
mov ebp, eax
cmp ebp, ebx
jl 0x5d5d71
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x38]
call fcn.0060c5be
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 9
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
push edx
mov byte [esp + 0x30], 0xa
call fcn.005f1a3b
push ebp
mov dword [esp + 0x18], eax
call fcn.005f1a3b
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x44]
or al, 0x20
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 9
call fcn.0060c550
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 4
call fcn.0060c550
push 0x558614
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x5d5e18
push 0x558604
mov ecx, edi
call fcn.005db58c
mov ebp, eax
cmp ebp, ebx
jl 0x5d5e18
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x38]
call fcn.0060c5be
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0xb
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
push edx
mov byte [esp + 0x30], 0xc
call fcn.005f1a3b
push ebp
mov dword [esp + 0x18], eax
call fcn.005f1a3b
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x44]
or al, 0x40
add esp, 8
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xb
call fcn.0060c550
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 4
call fcn.0060c550
push 0x5585f4
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
mov dword [esp + 0x38], eax
jl 0x5d5f22
push 0x5585e8
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x5d5f22
push 0x5585d8
mov ecx, edi
call fcn.005db58c
mov ebp, eax
cmp ebp, ebx
jl 0x5d5f22
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, edi
call fcn.005db77c
push eax
lea ecx, [esp + 0x14]
call fcn.0060c5be
mov edx, dword [esp + 0x14]
push ebx
push edx
mov ecx, edi
mov byte [esp + 0x34], 0xd
call fcn.005db77c
push eax
lea ecx, [esp + 0x38]
call fcn.0060c5be
push ebx
push ebp
mov ecx, edi
mov byte [esp + 0x34], 0xe
call fcn.005db77c
push eax
lea ecx, [esp + 0x3c]
call fcn.0060c5be
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
push ecx
mov byte [esp + 0x30], 0xf
mov dword [esp + 0x18], eax
call fcn.005f1450
fstp dword [esp + 0x20]
push ebp
call fcn.005f1450
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
push edx
call fcn.005f1450
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
fstp dword [esi + 0x34]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x44]
or al, 0x80
mov dword [esi + 0x3c], ecx
add esp, 0xc
mov dword [esi + 0x44], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xe
call fcn.0060c550
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 0xd
call fcn.0060c550
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.0060c550
push 0x5585c8
mov ecx, edi
call fcn.005db58c
cmp eax, ebx
jl 0x5d5f50
push ebx
push eax
mov ecx, edi
call fcn.005db77c
push eax
call fcn.005f1a3b
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
add esp, 4
or ah, 1
mov dword [esi + 0x44], eax
push 0x5585c0
mov ecx, edi
call fcn.005db58c
test eax, eax
setge al
cmp al, bl
mov eax, dword [esi + 0x44]
je 0x5d5f6c
or al, 0x10
jmp 0x5d5f6e
and al, 0xef
mov dword [esi + 0x44], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.005d617c
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x24], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10