Function at 0x4598a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x459c99
sub esp, 0x2c
mov eax, dword [esp + 0x38]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 0x34]
test ebx, ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
jne 0x459c82
mov ecx, dword [esp + 0x40]
test ecx, ecx
jl 0x459c6c
mov eax, dword [esp + 0x30]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.00403540
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp eax, 3
ja 0x459961
cmp eax, 1
jbe 0x45995b
cmp eax, 2
je 0x4599c0
call fcn.0044d680
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 6
call fcn.00403580
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459a20
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d6a0
jmp 0x4598e8
test eax, eax
je 0x45996b
jmp 0x4599d4
cmp eax, 5
ja 0x4599b1
cmp eax, 4
je 0x4599c0
call fcn.0044d680
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.00403580
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459a53
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d6a0
jmp 0x4598e8
cmp eax, 6
je 0x459a16
cmp eax, 8
jbe 0x4599d4
cmp eax, 9
jne 0x4599ca
call fcn.00439f50
jmp 0x4598e8
call fcn.0045b390
jmp 0x4598e8
call fcn.0044d680
mov eax, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.00403580
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459a60
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d6a0
jmp 0x4598e8
call fcn.00439f50
jmp 0x4598e8
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.0044d770
mov eax, dword [esp + 4]
test byte [eax], al
add eax, 0x119c
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00403620
xor eax, eax
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x459a6b
mov eax, 1
mov ecx, dword [esp + 0x20]
xor edx, edx
jmp 0x459a6b
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, 1
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ebx
mov ebx, dword [0x57aed0]
test ebx, ebx
jne 0x459a8d
mov ebx, dword [esp + 0x44]
jmp 0x459a9e
call fcn.00469ce0
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x48]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x57aed0]
test ebx, ebx
jne 0x459ab8
mov ebx, dword [esp + 0x4c]
jmp 0x459ac9
call fcn.00469ce0
mov ebx, dword [esp + 0x4c]
mov dword [edi], ebx
mov esi, dword [ebp + 0x1c]
mov dword [edi + 4], esi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], dl
mov dword [ebp + 0x1c], ebx
mov ebx, dword [esp + 0x50]
mov dword [ebp + 0x20], ebx
test al, al
jne 0x459bb2
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x28], eax
mov ebx, dword [esp + 0x34]
mov dword [ebp + 0x24], ebx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x38]
cmp edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
cmp dword [ebp + 4], ebx
seta dl
and edx, esi
or edx, edi
test dl, dl
je 0x459b1d
mov edx, 7
jmp 0x459b22
mov edx, 8
mov dword [esp + 0x18], edx
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.0044d770
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x459b5a
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0045ae40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 6
mov dword [esp + 8], eax
call fcn.00403580
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459b80
call fcn.0045b390
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d6a0
mov eax, dword [esp + 0x18]
cmp eax, 7
jne 0x459c5f
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00444dd0
jmp 0x459c5f
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x34]
mov dword [ebp + 4], ecx
mov edx, dword [0x57adc8]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp], edx
call fcn.0044d770
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
test byte [eax], al
lea ecx, [eax + 0x1188]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.0040b450
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004591f0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0040b650
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.00403580
movzx eax, byte [esp + 0xc]
test al, al
jne 0x459c3f
call fcn.0045b390
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0044d6a0
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00444dd0
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x54], al
add esp, 0x2c
ret
lea eax, [0x4dbaae]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0043c250
lea eax, [0x4da0ba]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0043c250
nop
call fcn.004688b0
jmp fcn.004598a0