Function at 0x514f40
Capabilities:
Access peb ldr_data
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3192
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x704200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebx + 0x14]
lea esi, [edi + 0x30]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x90], ecx
mov ecx, esi
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x24]
push 0
mov dword [ebp - 0xa8], eax
call fcn.00522a80
mov dword [ebp - 0x98], 0
test eax, eax
je 0x514fe8
push 0
push 0
mov ecx, esi
call fcn.005212d0
mov ecx, esi
call fcn.00522e70
mov edx, dword [ebp - 0x90]
test edx, edx
je 0x51510a
mov ecx, edx
call fcn.00521660
push eax
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.00521670
push 0
mov ecx, edx
call fcn.00522a80
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x98], eax
call dword [0x5fd7e8]
test eax, 0x20000000
je 0x5150e9
push 9
push dword [ebp - 0x98]
call dword [0x5fd854]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
cmp edx, 4
jne 0x51564c
test ecx, ecx
je 0x515964
push 0xfffffffffffffff0
push ecx
call dword [0x5fd7e8]
test eax, 0x20000000
jne 0x515964
mov ecx, 0xc8
cmp dword [ebp - 0xb0], ecx
cmovge ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], 0x46
mov dword [ebp - 0xb0], ecx
mov ecx, 0x4b
cmovge ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xffffffff
je 0x51511b
mov eax, dword [ebp - 0xa8]
cmp eax, 0xffffffff
je 0x51511b
mov edi, dword [ebp - 0x98]
push 1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push edi
mov dword [ebp - 0x50], ecx
call dword [0x5fd804]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], eax
jmp 0x515181
push dword [ebp - 0x98]
call dword [0x5fd6d8]
test eax, eax
jne 0x515039
xor ecx, ecx
mov dword [ebp - 0x98], ecx
jmp 0x51503f
mov ecx, esi
call fcn.00521660
mov dword [edi + 0x2c], eax
xor ecx, ecx
jmp 0x51503f
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x50]
push eax
push edi
call dword [0x5fd730]
test eax, eax
je 0x51515d
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x30], xmm0
call dword [0x5fd7b4]
test eax, eax
je 0x51515d
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add ecx, 4
add edx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
jmp 0x515163
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
cmp dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ecx
jne 0x515181
add edx, 0x18
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x515193
add ecx, 0x10
mov dword [ebp - 0xa4], ecx
push 1
push 0x621c64
push dword [ebp - 0xb4]
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.00542100
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
movq qword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x70], xmm0
call fcn.00542180
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00542070
cmp eax, 1
jbe 0x5151f8
push 1
call fcn.00542080
mov dword [ebp - 0x9c], eax
jmp 0x515202
mov dword [ebp - 0x9c], str.Information
push 0xffffffffffffffec
push edi
call dword [0x5fd7e8]
push ecx
push edi
mov edi, dword [ebp - 0xb0]
and eax, 8
push eax
push 0x80000000
push dword [ebp - 0xa4]
mov ecx, esi
push dword [ebp - 0xa0]
push dword [ebp - 0x8c]
push edi
push dword [ebp - 0x9c]
push str._WndMsgTipClass
call fcn.00523050
mov ecx, dword [ebp - 0x90]
push eax
mov dword [ebp - 0xb0], eax
call fcn.00523490
movsd xmm1, qword [0x6e32a0]
mov ecx, esi
push 0
push str.Arial
push 1
push 0x190
call fcn.00521600
push 0xffffff
mov ecx, esi
call fcn.005217f0
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
push 0xffffffffffffffff
push 0xffffffffffffffff
add eax, 0xffffffd3
push eax
lea eax, [edi - 0x14]
push eax
push 0x23
push 0xa
push 0
call fcn.00542080
push eax
mov ecx, esi
call fcn.0051dd30
push eax
mov ecx, esi
mov dword [ebp - 0xb4], eax
call fcn.00522a80
push eax
mov dword [ebp - 0x90], eax
call dword [0x5fd6dc]
push 1
push 0x621864
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00542080
push eax
lea ecx, [ebp - 0x70]
call fcn.00541ed0
mov esi, 0x4b
lea ecx, [ebp - 0x70]
mov edx, 0x10
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa8], edx
xor edi, edi
call fcn.00542070
test eax, eax
je 0x51537b
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.00542080
mov ecx, eax
call fcn.00541aa0
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.00542080
push eax
push dword [ebp - 0x8c]
call dword [0x5fd210]
mov edx, dword [ebp - 0xa8]
test eax, eax
je 0x515368
mov eax, dword [ebp - 0x58]
add eax, 0x14
cmp eax, esi
cmovle eax, esi
mov esi, eax
mov eax, dword [ebp - 0x54]
cmp eax, edx
jle 0x515368
mov edx, eax
mov dword [ebp - 0xa8], edx
lea ecx, [ebp - 0x70]
inc edi
call fcn.00542070
cmp edi, eax
jb 0x515317
mov dword [ebp - 0x98], esi
lea ecx, [ebp - 0x70]
call fcn.00542070
push dword [ebp - 0x8c]
mov edi, eax
push dword [ebp - 0x90]
imul edi, edx
lea eax, [edi + 0x2d]
mov dword [ebp - 0xa8], eax
call dword [0x5fd6e8]
push 0x212
lea eax, [edi + 0x2d]
push eax
push esi
mov esi, dword [0x5fd6d4]
push 0
push 0
push 0
push dword [ebp - 0xb0]
call esi
mov eax, dword [ebp - 0x98]
push 0x202
push edi
add eax, 0xffffffec
push eax
push 0
push 0
push 0
push dword [ebp - 0x90]
call esi
push 0x10
call dword [0x5fd98c]
mov esi, dword [ebp - 0x98]
mov edi, eax
mov dword [ebp - 0xa0], edi
test edi, edi
je 0x51543a
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push 0
push 0xe200b
push 0
push dword [ebp - 0xa8]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push esi
mov dword [edi], 0x680400
call dword [0x5fda1c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 4], eax
jmp 0x515442
xor edi, edi
mov dword [ebp - 0xa0], edi
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
jne 0x515578
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push dword [edi + 4]
call dword [0x5fda60]
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
push 0xff000000
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x90], 0
call dword [0x5fd96c]
push dword [ebp - 0xa8]
push esi
mov esi, dword [ebp - 0x90]
push 0
push 0
push esi
push edi
call dword [0x5fda64]
mov edi, dword [0x5fd998]
push esi
call edi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push ecx
mov dword [esp], 0x40000000
push 0xffffffffffffffff
call dword [0x5fda14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffffe
push eax
push 1
push 1
push dword [ebp - 0x94]
push dword [ebp - 0xa4]
call dword [0x5fd9b4]
push dword [ebp - 0x94]
call dword [0x5fda20]
movaps xmm0, xmmword [0x6e34f0]
lea eax, [ebp - 0x90]
push eax
push 0xff6060ff
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x90], 0
call dword [0x5fd96c]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x38]
push 0
push 3
push eax
push esi
push dword [ebp - 0xa4]
call dword [0x5fd9dc]
push esi
call edi
push dword [ebp - 0xa4]
call dword [0x5fda74]
mov edi, dword [ebp - 0xa0]
push 0
push 0
push edi
mov edi, dword [ebp - 0x3c]
add edi, 0x30
mov ecx, edi
call fcn.00521810
mov ecx, dword [ebp - 0xa0]
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x98]
mov ecx, edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x14
add eax, 0xffffffdd
push eax
push 6
push 0x23
push dword [ebp - 0x9c]
call fcn.0051dd30
movsd xmm0, qword [0x6e32c8]
sub esp, 0xc
mov esi, eax
movsd qword [esp + 4], xmm0
push 0
push ecx
push 0x190
push 0xffffffffffffffff
mov ecx, edi
call fcn.0051bfb0
mov eax, 0x1b
mov byte [ebp - 0x20], 1
mov word [ebp - 0x1e], ax
mov ecx, edi
mov eax, dword [ebp - 0xb4]
mov word [ebp - 0x1c], ax
mov eax, 0xd
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x20]
push 2
push eax
mov byte [ebp - 0x1a], 1
mov word [ebp - 0x16], si
call fcn.00521af0
push 1
push 4
mov ecx, edi
call fcn.005212d0
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xb0]
push esi
push eax
push 0x525540
push eax
call dword [0x5fd17c]
lea ecx, [ebp - 0x70]
call fcn.005420e0
lea ecx, [ebp - 0x88]
call fcn.005420e0
mov eax, esi
jmp 0x515966
cmp dword [ebp - 0xb0], 0xa0
mov eax, 0x168
mov edx, dword [ebp - 0xa8]
cmovge eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0xa0], eax
jne 0x515685
cmp edx, 0xffffffff
jne 0x515685
mov byte [ebp - 0xa9], 0
jmp 0x5156bd
mov byte [ebp - 0xa9], 1
test ecx, ecx
je 0x5156bd
mov eax, dword [ebp - 0x9c]
push 1
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push ecx
mov dword [ebp - 0x3c], edx
call dword [0x5fd804]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
push ecx
push dword [ebp - 0x98]
mov ecx, esi
push 0xffffffffffffffff
push 0x80000000
push edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push eax
push 0x61d050
push str._WINDOW_MsgBoxClass
call fcn.00523050
movsd xmm1, qword [0x6e32a0]
mov ecx, esi
push 0
push str.Arial
push 1
push 0x190
call fcn.00521600
push dword [edi + 0x24]
mov ecx, esi
call fcn.005217f0
push 4
push dword [edi + 0x28]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
call fcn.00516a90
push 0
mov ecx, esi
call fcn.00522a80
cmp byte [ebp - 0xa9], 0
mov dword [ebp - 0xb0], eax
jne 0x51575d
mov edx, dword [ebp - 0x98]
mov ecx, eax
push 0
call fcn.0053be70
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x51576d
push eax
call fcn.00523490
mov eax, dword [ebp - 0xa4]
mov ecx, esi
push 0xffffffffffffffff
push 0xffffffffffffffff
add eax, 0xffffffbf
push eax
mov eax, dword [ebp - 0xa0]
add eax, 0xffffffd8
push eax
push 0x14
push 0x14
push dword [ebp - 0xb4]
call fcn.0051dd30
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebx + 0x10]
add edx, 0xffffffdd
mov dword [edi], eax
mov eax, dword [ebp - 0xa0]
add eax, 0xffffff79
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
cmp ecx, 1
je 0x5157e8
cmp ecx, 2
je 0x5157e8
cmp ecx, 3
jne 0x515811
mov eax, dword [ebp - 0xa0]
add eax, 0xffffff10
cdq
and edx, ecx
add eax, edx
sar eax, 2
mov dword [ebp - 0x98], eax
jmp 0x5158d5
mov ecx, dword [ebp - 0xa0]
mov eax, 0x55555556
lea ecx, [ecx - 0xa0]
imul ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
test ecx, ecx
jne 0x515835
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x621ccc
mov ecx, esi
call fcn.0051eef0
mov dword [edi + 4], eax
jmp 0x51594a
cmp ecx, 1
jne 0x515884
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x621cd4
mov ecx, esi
call fcn.0051eef0
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push 0x621cdc
call fcn.0051eef0
mov dword [edi + 8], eax
jmp 0x51594a
cmp ecx, 2
jne 0x5158d0
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x621ccc
mov ecx, esi
call fcn.0051eef0
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push str.Cancel
call fcn.0051eef0
mov dword [edi + 8], eax
jmp 0x51594a
cmp ecx, 3
jne 0x51594a
push ecx
push 0x10000001
push 0x19
push 0x50
push dword [ebp - 0x9c]
mov ecx, esi
push eax
push 0x621cd4
call fcn.0051eef0
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push 0x621cdc
call fcn.0051eef0
push ecx
push 0xffffffffffffffff
mov dword [edi + 8], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x19
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax + eax*2]
add eax, 0xa0
push eax
push str.Cancel
call fcn.0051eef0
mov dword [edi + 0xc], eax
push 7
push 5
mov ecx, esi
call fcn.005212d0
push 0x80
push dword [edi + 4]
mov ecx, esi
call fcn.0051a890
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20