Function at 0x460430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov bl, byte [ebp + 0x14]
mov edi, dword [ebp + 8]
mov edi, esp
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], 0xffffffff
lea edi, [esi + 0x50]
mov dword [esi + 0x54], 0x4633e0
mov ebx, dword fs:[0]
mov dword [esi + 0x50], ebx
mov dword fs:[0], edi
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
lea ecx, [esi + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00460710
sub esp, 8
lea ecx, [esi + 0x30]
call fcn.00450510
test al, 1
jne 0x4604c3
jmp 0x460615
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
sub ecx, 1
sbb eax, 0
jl 0x460615
jmp 0x4604da
movsx ecx, byte [ebp + 0x14]
mov eax, esp
mov dword [eax], ecx
call fcn.00450a70
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00450590
mov ecx, eax
mov dword [esi + 0x58], 1
call fcn.004607e0
mov dword [esi + 0x20], eax
jmp 0x46050f
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
call fcn.00450650
mov ecx, eax
mov eax, dword [esi + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00450570
test al, 1
jne 0x46053e
jmp 0x46054c
mov eax, dword [esi + 0x38]
or eax, 1
mov dword [esi + 0x38], eax
jmp 0x460610
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
jne 0x460580
mov ecx, dword [esi + 0x24]
call fcn.00460840
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00450590
mov ecx, eax
call fcn.004608a0
jmp 0x46057b
jmp 0x460610
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add edx, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], ecx
xor eax, eax
neg edx
sbb eax, ecx
jl 0x4605b1
jmp 0x4605a3
mov eax, dword [esi + 0x38]
or eax, 2
mov dword [esi + 0x38], eax
jmp 0x460610
mov ecx, dword [esi + 0x28]
mov eax, esp
mov dword [eax], ecx
call fcn.00454270
mov ecx, dword [esi + 0x24]
mov dl, al
mov eax, dword [ebp + 8]
mov edi, eax
inc edi
mov dword [ebp + 8], edi
mov byte [eax], dl
call fcn.00460840
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00450590
mov ecx, eax
call fcn.00460900
mov dword [esi + 0x18], eax
jmp 0x460605
jmp 0x460615
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], eax
jmp 0x460515
jmp 0x460600
mov ecx, dword [esi + 0x24]
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [edx + 4]
mov edx, ecx
add edx, edi
mov dword [esi + 0x14], edx
mov ecx, dword [ecx + 0xc]
or eax, ecx
jne 0x460652
jmp 0x46063d
mov eax, dword [esi + 0x38]
or eax, 2
mov dword [esi + 0x58], 0
mov dword [esi + 0x10], eax
jmp 0x46065f
mov eax, dword [esi + 0x38]
mov dword [esi + 0x58], 0
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], 0
call fcn.00450660
sub esp, 8
jmp 0x46067d
lea ecx, [esi + 0x30]
call fcn.004609a0
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x50]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10