Function at 0x41b5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d1fe
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4d6394]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x100]
mov edi, dword [esp + 0x10c]
mov ebp, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0xe4], ebx
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
sub eax, dword [esp + 0xf0]
sub ecx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp]
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x2c], 1
mov byte [esp + 0x48], 1
mov byte [esp + 0x3c], 1
mov byte [esp + 0x58], 1
mov byte [esp + 0x34], bl
mov byte [esp + 0x50], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], ebx
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xa0]
push ecx
push edi
mov dword [eax + 0x50], 1
push esi
mov eax, ebp
call fcn.00436d67
mov eax, dword [ebp + 0xa4]
mov edx, dword [eax]
mov dword [edx], ebx
mov ecx, dword [eax]
mov dword [ecx + 0x20], 0x14
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ecx + 0x24], edx
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp + 0xa0]
mov dword [edx + 0x58], 0xff242323
mov esi, dword [ebp]
mov edx, dword [esi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call edx
push eax
mov eax, dword [esi + 0x60]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0xfc]
push ecx
mov ecx, str.E8BCC844_875C_452e_BA08_9C6C4244F083
call fcn.00423740
add esp, 4
test al, al
je 0x41b7b6
mov ecx, dword [0x4dae48]
push str.picture_box
call fcn.0041f1f0
mov dword [ebp + 0xd8], eax
mov ecx, dword [0x4dac3c]
push 0xb7
call fcn.00417d80
mov ebx, dword [ebp + 0xd8]
mov ecx, eax
call fcn.0043cfb4
mov esi, dword [ebp + 0xd8]
mov edx, dword [esi + 0x8c]
xor ebx, ebx
mov dword [edx + 0xc], ebx
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [edi + 0x60]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xd8]
mov eax, 1
mov byte [esp + 0x24], al
mov byte [esp + 0x40], al
mov byte [esp + 0x34], al
mov byte [esp + 0x50], al
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], 0x21c
mov dword [esp + 0x50], 0x190
mov byte [esp + 0x30], bl
mov byte [esp + 0x4c], bl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0xd8]
push eax
push ebp
call fcn.00432e2f
jmp 0x41bb40
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx]
mov ecx, 0x4b7384
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b7ea
cmp dx, bx
je 0x41b7e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b7ea
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41b7c4
xor eax, eax
jmp 0x41b7ef
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x41bb42
mov ecx, dword [0x4dae48]
push str.Frame_Background_Image_Default
call fcn.0041f1f0
mov esi, eax
mov dword [ebp + 0xd8], esi
mov edx, dword [esi + 0x8c]
mov dword [edx + 4], 1
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [edi + 0x60]
mov ecx, esi
call eax
mov esi, dword [ebp + 0xd8]
mov ecx, dword [esi + 0x8c]
mov dword [ecx + 0xc], ebx
mov edi, dword [esi]
mov eax, dword [edi + 0x10]
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call eax
mov edx, dword [edi + 0x60]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 0xd8]
mov esi, 0x1e
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x4c], esi
mov byte [esp + 0x50], 1
mov byte [esp + 0x48], bl
mov byte [esp + 0x34], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 1
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [ebp + 0xd8]
push ecx
push ebp
call fcn.00432e2f
mov ecx, dword [0x4dae48]
push str.picture_box
call fcn.0041f1f0
mov edx, dword [0x4dcf7c]
mov dword [ebp + 0xd4], eax
mov ecx, dword [0x4dac3c]
push edx
call fcn.00417d80
mov ebx, dword [ebp + 0xd4]
mov ecx, eax
call fcn.0043cfb4
mov eax, dword [ebp + 0xa0]
mov eax, dword [eax + 0x5c]
add eax, 0xffffffe7
shr eax, 1
xor ebx, ebx
mov dword [esp + 0x20], 0xa
mov byte [esp + 0x24], 1
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], esi
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x19
mov byte [esp + 0x50], 1
mov byte [esp + 0x2c], bl
mov ecx, dword [ebp + 0xd4]
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 1
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [ebp + 0xd4]
push eax
push ebp
call fcn.00432e2f
mov ecx, dword [ebp + 0xd4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43c4]
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x54]
mov ecx, dword [0x4dae48]
push str.label
add esi, 0xa
call fcn.0041f1f0
mov ecx, dword [ebp + 0xa0]
mov dword [ebp + 0xbc], eax
mov ecx, dword [ecx + 0x5c]
add ecx, 0xfffffff0
shr ecx, 1
mov dword [esp + 0x3c], ecx
add esi, 0xfffffffb
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x10
mov byte [esp + 0x50], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0xfc]
mov edx, dword [eax]
mov eax, dword [ebp + 0xbc]
call fcn.004361f0
mov esi, dword [ebp + 0x88]
add esi, 0xbc
mov ecx, 0x17
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xbc]
mov ecx, dword [esi + 0x8c]
inc dword [esp + 0x74]
mov dword [ecx + 0x14], 0xffa9acb6
mov edi, dword [esi]
mov eax, dword [edi + 0x10]
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call eax
mov edx, dword [edi + 0x60]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp + 0xbc]
push eax
push ebp
call fcn.00432e2f
sub esp, 0x5c
mov edi, esp
mov ecx, 0x17
lea esi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xbc]
call fcn.00435e15
mov ecx, dword [ebp + 0xbc]
push 0x190
call fcn.00435e6b
push 4
call fcn.00472292
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41baad
mov edx, dword [0x4d9cac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d9cac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x41baaf
xor esi, esi
mov ecx, dword [esp + 0xfc]
mov ecx, dword [ecx]
mov edi, dword [esi]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x41bb01
cmp dword [edi + 0xc], ebx
jl 0x41baf6
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41baf6
call fcn.00419330
mov ebx, eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41baef
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [esi], ebx
jmp 0x41bb01
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.0041ab60
mov edx, dword [ebp + 0xa0]
mov eax, dword [edx + 8]
mov ecx, dword [esi]
add eax, 4
mov eax, dword [eax]
push ecx
push eax
call dword [0x4a4484]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00472191
add esp, 4
xor ebx, ebx
mov esi, 0xa
lea edi, [esi + 0xe]
cmp byte [esp + 0x114], bl
je 0x41bc9d
mov ecx, dword [0x4dae48]
push str.close_button
call fcn.0041f1f0
mov ecx, dword [ebp + 0xa0]
mov dword [ebp + 0xc0], eax
mov ecx, dword [ecx + 0x5c]
add ecx, 0xffffffe8
shr ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 3
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1f
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], edi
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 0xc0]
push eax
push ebp
call fcn.00432e2f
push 4
call fcn.00472292
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41bbfb
mov edx, dword [0x4d9cac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d9cac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x41bbfd
xor esi, esi
push 0x4bb14c
mov ebx, 2
mov eax, esi
mov dword [esp + 0x1c], esi
call fcn.0041ab60
mov byte [esp + 0xe4], bl
mov edx, dword [ebp + 0xc0]
lea ecx, [esp + 0x18]
call fcn.00433471
mov byte [esp + 0xe4], 0
test esi, esi
je 0x41bc5b
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bc52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00472191
add esp, 4
mov ecx, dword [ebp + 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43c4]
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc0]
push ebp
push 0x41bf10
add ecx, 0x8c
add esi, 3
call fcn.0040bb10
jmp 0x41bca3
mov dword [ebp + 0xc0], ebx
mov ecx, dword [0x4dae48]
push str.picture_box
call fcn.0041f1f0
mov dword [ebp + 0xdc], eax
mov ecx, dword [0x4dac3c]
push 0xbd
call fcn.00417d80
mov ebx, dword [ebp + 0xdc]
mov ecx, eax
call fcn.0043cfb4
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ecx + 0x5c]
mov ecx, dword [ebp + 0xdc]
add eax, 0xffffffe8
shr eax, 1
xor ebx, ebx
lea edx, [esi - 1]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 2
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], 0x14
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 1
lea edx, [esp + 0x20]
push edx
call eax
mov ecx, dword [ebp + 0xdc]
push ecx
push ebp
call fcn.00432e2f
mov ecx, dword [ebp + 0xdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x64]
push eax
call edx
push eax
lea eax, [esp + 0x58]
push eax
call dword [0x4a43c4]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
lea esi, [esi + ecx - 1]
cmp byte [esp + 0x104], bl
je 0x41be98
mov ecx, dword [0x4dae48]
push str.min_button
call fcn.0041f1f0
mov edx, dword [ebp + 0xa0]
mov dword [ebp + 0xc4], eax
mov ecx, dword [edx + 0x5c]
add ecx, 0xffffffe8
shr ecx, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], 1
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 0x1d
mov byte [esp + 0x34], 1
mov dword [esp + 0x4c], edi
mov byte [esp + 0x50], 1
mov byte [esp + 0x24], bl
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp + 0xc4]
push eax
push ebp
call fcn.00432e2f
push 4
call fcn.00472292
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41be1d
mov edx, dword [0x4d9cac]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d9cac
call eax
add eax, 0x10
mov dword [esi], eax
jmp 0x41be1f
xor esi, esi
push 0x4bb16c
mov ebx, 3
mov eax, esi
mov dword [esp + 0x1c], esi
call fcn.0041ab60
mov byte [esp + 0xe4], bl
mov edx, dword [ebp + 0xc4]
lea ecx, [esp + 0x18]
call fcn.00433471
mov byte [esp + 0xe4], 0
test esi, esi
je 0x41be7d
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00472191
add esp, 4
mov ecx, dword [ebp + 0xc4]
push ebp
push 0x41c9e0
add ecx, 0x8c
call fcn.0040bb10
xor ebx, ebx
jmp 0x41be9e
mov dword [ebp + 0xc4], ebx
mov dword [esp + 0xe4], 0xffffffff
mov eax, dword [esp + 0xfc]
mov esi, eax
cmp eax, ebx
je 0x41bedd
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bed4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00472191
add esp, 4
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0047219c
add esp, 0xd4
ret 0x2c