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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419fa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], edi
mov byte [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
sub esp, 0xc
mov dword [edi + 0x10], 0
mov word [edi + 0x14], 0
mov byte [edi + 0x16], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00591f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
push dword [ebp + 8]
call fcn.00592480
cmp dword [ebp - 0x5c], 0
jne 0x595def
push 0x4216f0
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov esi, 0x1000
mov dword [ebp - 0x2c], eax
test word [eax + 0xe], si
jne 0x5955c6
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
push 0x4216f8
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov dword [ebp - 0x30], eax
test word [eax + 0xe], si
jne 0x5955e5
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
push 0x421704
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov dword [ebp - 0x34], eax
test word [eax + 0xe], si
jne 0x595604
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
push 0x421708
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov dword [ebp - 0x38], eax
test word [eax + 0xe], si
jne 0x595623
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
push 0x421710
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov dword [ebp - 0x3c], eax
test word [eax + 0xe], si
jne 0x595642
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
push 0x42171c
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov dword [ebp - 0x40], eax
test word [eax + 0xe], si
jne 0x595661
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
push 0x421728
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov esi, eax
mov dword [ebp - 0x28], eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x595687
mov esi, dword [esi + 8]
mov dword [ebp - 0x28], esi
push 0x421734
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp + 8], eax
test word [eax + 0xe], cx
jne 0x5956ab
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
push 0x421738
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x14], eax
test word [eax + 0xe], cx
jne 0x5956cf
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
push 0x421748
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x18], eax
test word [eax + 0xe], cx
jne 0x5956f3
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
push 0x421754
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x1c], eax
test word [eax + 0xe], cx
jne 0x595717
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
push 0x421760
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x20], eax
test word [eax + 0xe], cx
jne 0x59573b
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
push 0x421770
lea ecx, [ebp - 0x8c]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x24], eax
test word [eax + 0xe], cx
jne 0x59575f
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp byte [esi], al
je 0x59576c
inc eax
cmp byte [eax + esi], 0
jne 0x595765
lea esi, [eax + 1]
push esi
call fcn.00597aaf
mov dword [edi + 0x18], eax
add esp, 4
mov edi, eax
mov ecx, esi
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x28]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x595790
mov eax, dword [ebp + 8]
xor esi, esi
cmp byte [eax], 0
je 0x5957af
inc esi
cmp byte [esi + eax], 0
jne 0x5957a8
inc esi
push esi
call fcn.00597aaf
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x20], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x20]
mov edx, dword [ebp + 8]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x5957d0
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp byte [eax], 0
je 0x5957ef
inc esi
cmp byte [esi + eax], 0
jne 0x5957e8
inc esi
push esi
call fcn.00597aaf
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x24], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x24]
mov edx, dword [ebp - 0x14]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x595810
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp byte [eax], 0
je 0x59582f
inc esi
cmp byte [esi + eax], 0
jne 0x595828
inc esi
push esi
call fcn.00597aaf
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x28], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x28]
mov edx, dword [ebp - 0x18]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x595850
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp byte [eax], 0
je 0x59586f
inc esi
cmp byte [esi + eax], 0
jne 0x595868
inc esi
push esi
call fcn.00597aaf
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x30], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x30]
mov edx, dword [ebp - 0x1c]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x595890
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp byte [eax], 0
je 0x5958af
inc esi
cmp byte [esi + eax], 0
jne 0x5958a8
inc esi
push esi
call fcn.00597aaf
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov ecx, esi
mov dword [edx + 0x34], eax
xor al, al
rep stosb byte es:[edi], al
mov ecx, dword [edx + 0x34]
mov edx, dword [ebp - 0x20]
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x5958d0
mov eax, dword [ebp - 0x24]
xor esi, esi
cmp byte [eax], 0
je 0x5958ef
inc esi
cmp byte [esi + eax], 0
jne 0x5958e8
inc esi
push esi
call fcn.00597aaf
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov edx, dword [ebp - 0x24]
add esp, 4
mov dword [ecx + 0x38], eax
xor al, al
mov ecx, esi
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x38]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x595910
mov edx, dword [ebp - 0x2c]
mov al, byte [edx]
test al, al
je 0x595948
mov ecx, edx
nop dword [eax]
cmp al, 0x30
jl 0x595dee
cmp al, 0x39
jg 0x595dee
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x595930
push edx
call fcn.0059dd69
push 0x4216a8
push dword [ebp - 0x30]
mov dword [edi + 0x10], eax
call fcn.0059ecd0
test eax, eax
push 0x4216a8
push dword [ebp - 0x34]
setne al
mov byte [edi + 0x14], al
call fcn.0059ecd0
test eax, eax
push 0x4216a8
push dword [ebp - 0x38]
setne al
mov byte [edi + 0x15], al
call fcn.0059ecd0
test eax, eax
push 0x4216a8
push dword [ebp - 0x3c]
setne al
mov byte [edi + 0x16], al
call fcn.0059ecd0
test eax, eax
push 0x4216a8
push dword [ebp - 0x40]
setne al
mov byte [edi + 0x1c], al
call fcn.0059ecd0
add esp, 0x2c
mov esi, 1
test eax, eax
mov dword [ebp - 0x38], esi
setne al
mov byte [edi + 0x2c], al
cmp dword [edi + 0x10], esi
jl 0x595c46
nop
push 0x19
call fcn.00597aaf
mov edx, eax
mov ecx, 0x19
push 0xa
mov edi, edx
mov dword [ebp + 8], edx
xor al, al
push edx
rep stosb byte es:[edi], al
push esi
call fcn.0059ee50
push 0xff
call fcn.00597aaf
mov edx, dword [ebp + 8]
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x40], esi
mov edi, esi
xor al, al
mov ecx, 0xff
rep stosb byte es:[edi], al
mov ecx, edx
mov dword [esi], 0x6c7275
mov dword [ebp - 0x3c], ecx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x595a20
sub edx, ecx
lea edi, [esi - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x595a30
mov esi, dword [ebp - 0x3c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push esi
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp - 0x3c], eax
test word [eax + 0xe], cx
jne 0x595a6c
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
movq xmm0, qword [0x421784]
mov edx, dword [ebp + 8]
mov ecx, edx
movq qword [esi], xmm0
mov al, byte [0x42178c]
mov byte [esi + 8], al
mov dword [ebp - 0x34], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x595a88
sub edx, ecx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x595a94
mov esi, dword [ebp - 0x34]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
push edi
call fcn.00592190
mov esi, eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x595acc
mov esi, dword [esi + 8]
push dword [ebp + 8]
call fcn.00597a6c
push edi
call fcn.00597a6c
mov edi, dword [ebp - 0x3c]
add esp, 8
test edi, edi
je 0x595c33
test esi, esi
je 0x595c33
push 0x14
call fcn.00597a71
mov dword [ebp + 8], eax
mov ecx, edi
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0x40], eax
call fcn.00597620
inc eax
push eax
call fcn.00597aaf
mov edx, eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], edx
sub edx, edi
nop dword [eax]
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x595b40
push 0x421790
push esi
call fcn.0059ecd0
add esp, 8
test eax, eax
jne 0x595b6b
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
jmp 0x595ba7
push 0x421704
push esi
call fcn.0059ecd0
add esp, 8
test eax, eax
jne 0x595b89
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
jmp 0x595ba7
push 0x421794
push esi
call fcn.0059ecd0
mov ecx, dword [ebp + 8]
add esp, 8
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov dword [ecx + 4], eax
push 0xff
call fcn.00597aaf
mov edx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
sub edx, esi
nop
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x595bc0
mov edi, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [edi + 0x18]
cmp byte [ecx], al
je 0x595be7
nop dword [eax]
inc eax
cmp byte [eax + ecx], 0
jne 0x595be0
inc eax
push eax
call fcn.00597aaf
mov esi, dword [ebp + 8]
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x18]
nop word [eax + eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x595c00
mov al, byte [edi + 0x14]
lea ecx, [edi + 4]
mov byte [esi + 0xc], al
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x595c27
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x595c36
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.00595370
jmp 0x595c36
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [edi + 0x10]
jle 0x5959d0
mov esi, dword [ebp - 0x8c]
lea eax, [ebp + 8]
push 0x421798
shl esi, 5
lea ecx, [ebp - 0x8c]
add esi, dword [ebp - 0x84]
push eax
mov byte [edi], 1
call fcn.00592140
cmp dword [eax], esi
je 0x595dee
push 0x421798
lea ecx, [ebp - 0x8c]
call fcn.00592190
cmp word [eax + 0xe], 3
jne 0x595dee
push 0x421798
lea ecx, [ebp - 0x8c]
call fcn.00592190
xorps xmm0, xmm0
mov ecx, 3
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
mov word [eax + 0xe], cx
movups xmmword [ebp - 0x54], xmm1
movd esi, xmm1
lea ecx, [ebp - 0x54]
psrldq xmm1, 8
movd eax, xmm1
shl esi, 5
push 0x421780
add esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
call fcn.00592140
cmp dword [eax], esi
je 0x595dee
push 0x4217a8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00592140
cmp dword [eax], esi
je 0x595dee
push 8
call fcn.00597a71
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x54]
mov dword [eax], 0
mov dword [eax + 4], 0
push 0x421780
mov dword [edi + 0x3c], eax
call fcn.00592190
mov esi, eax
mov dword [ebp - 0x40], eax
mov eax, 0x1000
test word [esi + 0xe], ax
jne 0x595d3d
mov esi, dword [esi + 8]
mov dword [ebp - 0x40], esi
push 0x4217a8
lea ecx, [ebp - 0x54]
call fcn.00592190
mov ecx, 0x1000
mov dword [ebp + 8], eax
test word [eax + 0xe], cx
jne 0x595d5e
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
xor eax, eax
cmp byte [esi], al
je 0x595d6b
inc eax
cmp byte [eax + esi], 0
jne 0x595d64
lea esi, [eax + 1]
push esi
call fcn.00597aaf
mov edx, dword [edi + 0x3c]
add esp, 4
mov ecx, esi
mov dword [edx], eax
xor al, al
mov edi, dword [edi + 0x3c]
mov edi, dword [edi]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x595d92
mov eax, dword [ebp + 8]
xor esi, esi
cmp byte [eax], 0
je 0x595db7
nop word [eax + eax]
inc esi
cmp byte [eax + esi], 0
jne 0x595db0
inc esi
push esi
call fcn.00597aaf
mov edx, dword [edi + 0x3c]
add esp, 4
mov ecx, esi
mov dword [edx + 4], eax
xor al, al
mov edi, dword [edi + 0x3c]
mov edi, dword [edi + 4]
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax + 4]
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x595de0
nop
lea ecx, [ebp - 0x8c]
call fcn.00591ef0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4