Function at 0x451910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x608fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [ebp - 0xc]
neg eax
sbb eax, eax
and eax, ebp
lea esi, [esp + 0x1c]
call fcn.00454800
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
call edx
test al, al
jne 0x451b0c
lea esp, [esp]
mov eax, 0xa
cmp dword [ebp + 0xda4], eax
je 0x451bfb
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp + 0x18], eax
mov esi, 1
cmp dword [ebp + 0x4c], ebx
jne 0x4519a4
lea eax, [ebp - 0xc]
call fcn.00451d60
test eax, eax
je 0x451c6b
movzx eax, byte [ebp + 0x967]
cmp eax, 0x12
ja case.0x4519b4.13
jmp dword [eax*4 + 0x451c7c]
mov dword [ebp + 0xda0], esi
lea esi, [ebp - 0xc]
mov eax, esi
call fcn.004538a0
push 6
push esi
call fcn.00454630
jmp 0x451a1c
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xda0], 2
call fcn.00454290
jmp 0x451a1c
push 0x3000000
lea eax, [ebp - 0xc]
call fcn.00453e10
jmp 0x451a1c
lea eax, [ebp - 0xc]
call fcn.004544b0
jmp 0x451a1c
mov ecx, dword [ebp + 0x968]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.004523f0
mov esi, eax
cmp esi, ebx
je 0x451af0
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
test al, al
je 0x451970
jmp 0x451b0c
lea esi, [ebp - 0xc]
call fcn.00454400
jmp 0x451a1c
cmp dword [ebp + 0xda4], 9
jne 0x451a6e
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x6c]
push 2
push 0x6c7504
call edx
push 0xd
lea eax, [ebp - 0xc]
push eax
call fcn.00454630
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
jmp 0x451a1c
lea esi, [ebp - 0xc]
mov eax, esi
call fcn.00453ea0
push 0xa
push esi
call fcn.00454630
jmp 0x451a1c
cmp dword [ebp + 0xda4], esi
je 0x451a94
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [ebp + 0x968]
lea esi, [ebp - 0xc]
call fcn.00453fd0
jmp 0x451a1c
cmp dword [ebp + 0x4c], ebx
jne 0x451ad9
mov eax, dword [ebp + 0x968]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp + 0x18], edx
call fcn.004529b0
mov esi, eax
cmp esi, ebx
je 0x451af0
lea ebx, [ebx]
cmp dword [ebp + 0x4c], ebx
je 0x451a14
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
lea esi, [ebp - 0xc]
mov dword [ebp + 0x18], edx
call fcn.004529f0
mov esi, eax
cmp esi, ebx
jne 0x451ad0
lea eax, [ebp - 0xc]
call fcn.004518b0
test al, al
jne 0x451b0c
cmp dword [ebp + 0x20], ebx
jne 0x451b0c
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
call fcn.0044c680
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00454820
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x40], ebx
je 0x451b58
mov eax, dword [ebp + 0xd90]
mov ecx, dword [ebp + 0xd8c]
push eax
push ecx
lea esi, [ebp + 0x24]
push esi
call fcn.004518d0
add esp, 0xc
call fcn.0047c030
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0xd98], ebx
jmp 0x4519c1
lea ecx, [ebp - 0xc]
call fcn.004528e0
jmp 0x451a12
lea eax, [ebp + 0xda8]
call fcn.004221b0
push eax
mov ecx, 0xe100000a
call fcn.0047d440
add esp, 4
push ebx
lea esi, [ebp - 0xc]
call fcn.004545d0
jmp 0x451a1c
lea eax, [ebp - 0xc]
call fcn.004544d0
jmp 0x451a1c
push esi
lea esi, [ebp - 0xc]
call fcn.004545d0
lea ecx, [esp + 0x18]
call fcn.00472830
mov byte [esp + 0x30], 1
movzx edx, byte [ebp + 0x967]
push edx
lea eax, [esp + 0x1c]
push 0x6c7508
push eax
call fcn.00473260
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x20]
call fcn.004221b0
push eax
call sub.CommonUI62U.dll_int___cdecl_VMessageBox_wchar_t_const___unsigned_int__wchar_t_const__
add esp, 0xc
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
call fcn.004740c0
jmp 0x451a1c
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
inc ecx
cmp ecx, 2
jge 0x451c17
lea ecx, [ebp - 0xc]
call fcn.00454080
jmp 0x451b0c
lea edx, [esp + 0x18]
push edx
xor edx, edx
mov eax, esi
call fcn.0044c840
lea eax, [esp + 0x19]
push eax
mov edx, 1
mov eax, esi
call fcn.0044c840
mov ax, word [esp + 0x18]
cmp al, 0x4f
jne 0x451c51
cmp ah, al
jne 0x451c51
mov eax, 2
lea edx, [esp + 0x18]
call fcn.0044c730
push 0xd
lea ecx, [ebp - 0xc]
push ecx
call fcn.00454630
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
jmp 0x451b0c
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
test al, al
jmp 0x451aff