Function at 0x594240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e5146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push 0xffffffffffffffff
mov dword [esp + 0x10], esi
call fcn.005acbd0
mov ecx, esi
call fcn.00596930
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
jne 0x594294
mov ecx, esi
call fcn.005acbb0
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10
mov esi, dword [esp + 0x84]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov cl, byte [esi]
lea eax, [esi + 1]
cmp cl, bl
je 0x5942b7
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5942b0
sub eax, esi
push edi
dec eax
lea ecx, [esp + 0x20]
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [esi]
mov eax, dword [esp + 0x20]
cmp cl, bl
je 0x5942df
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x5942d4
mov byte [eax], bl
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov cl, byte [esi]
mov dword [esp + 0x14], ebx
cmp cl, bl
lea eax, [esi + 1]
je 0x59430f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x594308
sub eax, esi
lea ecx, [esp + 0x14]
dec eax
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [esi]
mov eax, dword [esp + 0x14]
cmp cl, bl
je 0x594336
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x59432b
mov byte [eax], bl
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x90]
mov byte [esp + 0x80], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov cl, byte [esi]
mov dword [esp + 0x2c], ebx
cmp cl, bl
lea eax, [esi + 1]
je 0x594367
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x594360
sub eax, esi
lea ecx, [esp + 0x2c]
dec eax
mov edi, eax
lea edx, [edi + 0x20]
push edx
call fcn.0041b410
mov cl, byte [esi]
mov eax, dword [esp + 0x2c]
cmp cl, bl
je 0x59438e
mov byte [eax], cl
mov cl, byte [esi + 1]
inc eax
inc esi
cmp cl, bl
jne 0x594383
mov byte [eax], bl
mov dword [esp + 0x34], edi
push 0x20
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
call fcn.0041b410
push 0x20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
call fcn.0041b410
mov ecx, dword [ebp + 0x24]
mov byte [esp + 0x80], 4
cmp ecx, ebx
je 0x59441d
call fcn.0049c460
mov esi, eax
cmp esi, ebx
je 0x59441d
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x88], eax
jne 0x594417
mov ecx, dword [ebp + 0x24]
push esi
call fcn.0056eda0
mov esi, eax
cmp esi, ebx
jne 0x5943ec
jmp 0x59441d
cmp esi, ebx
mov edi, esi
jne 0x594499
cmp dword [ebp + 0x24], ebx
jne 0x594455
push 0x14
call fcn.005b449a
add esp, 4
mov dword [esp + 0x88], eax
cmp eax, ebx
mov byte [esp + 0x80], 5
je 0x594448
mov ecx, eax
call fcn.004e85f0
jmp 0x59444a
xor eax, eax
mov byte [esp + 0x80], 4
mov dword [ebp + 0x24], eax
lea ecx, [esp + 0x44]
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.0041df70
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
inc eax
mov byte [esp + 0x80], 6
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
call fcn.0041e2e0
lea ecx, [esp + 0x50]
mov edi, eax
mov byte [esp + 0x80], 4
call fcn.0041b790
mov ecx, dword [edi + 0x24]
cmp ecx, ebx
je 0x5944da
call fcn.0049c460
mov esi, eax
cmp esi, ebx
je 0x5944da
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0041cee0
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x88], eax
jne 0x5944d6
mov ecx, dword [edi + 0x24]
push esi
call fcn.0056eda0
mov esi, eax
cmp esi, ebx
jne 0x5944ab
jmp 0x5944da
cmp esi, ebx
jne 0x5944ee
lea edx, [esp + 0x44]
push ebx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, edi
call fcn.0041cf20
mov esi, eax
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x38]
push ecx
push 0x66154c
push edx
call fcn.00427c90
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp eax, ebx
pop edi
jne 0x59453f
push 0x18
call fcn.005b449a
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, ebx
mov byte [esp + 0x7c], 7
je 0x594535
push 0xb
mov ecx, eax
call fcn.0041e570
jmp 0x594537
xor eax, eax
mov byte [esp + 0x7c], 4
mov dword [esi + 0x20], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0041ed60
mov ecx, dword [esp + 0xc]
call fcn.005acbb0
mov edx, dword [esp + 0x34]
mov byte [esp + 0x7c], 3
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x44]
mov byte [esp + 0x80], 2
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x84], 1
push ecx
call fcn.005b44c3
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x88], bl
push edx
call fcn.005b44c3
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
push eax
call fcn.005b44c3
mov ecx, dword [esp + 0x88]
add esp, 0x14
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x10