Function at 0x50261549
Capabilities:
Get file attributes

Disassembly:
push ebp
mov eax, 0x58cc
lea ebp, [esp - 0x68]
call fcn.50260700
push ebx
mov ebx, dword [ebp + 0x70]
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
jne 0x50261573
push dword [ebp + 0x74]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x74]
dec eax
je 0x50262160
dec eax
je 0x50262144
sub eax, 7
je 0x5026213a
sub eax, 0x38f
je 0x502619f1
sub eax, 0xac
je 0x50261862
sub eax, 0xd5
je 0x502615d5
movzx eax, word [ebp + 0x7c]
push dword [ebp + 0x78]
movzx ecx, word [ebp + 0x74]
shl eax, 0x10
or eax, ecx
push eax
push 0x111
push dword [ebx + 0x48]
push ebx
call fcn.50272bbe
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x50262364
mov eax, dword [0x5029fc50]
test byte [eax + 0x34], 1
je 0x50262364
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp + 0x38]
push eax
push esi
push 0x906
push dword [ebx + 0x38]
mov dword [ebp + 0x38], esi
call edi
cmp dword [ebp + 0x38], esi
je 0x50262364
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
mov dword [ebp + 0x74], esi
push dword [eax + 0x2c]
mov dword [ebp + 0x7c], esi
call edi
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x74]
push eax
push 0x907
push dword [ebx + 0x38]
mov dword [ebp + 0x70], esi
call edi
cmp dword [ebp + 0x74], esi
je 0x502617c6
cmp dword [ebp + 0x70], esi
je 0x502617c6
cmp dword [ebp + 0x74], esi
mov dword [ebp + 0x78], esi
jle 0x5026173d
mov ebx, dword [ebp + 0x78]
lea eax, [ebp + 0x7c]
push eax
mov eax, dword [ebp + 0x70]
shl ebx, 2
push dword [ebx + eax]
mov eax, dword [0x5029fc50]
push dword [eax + 0x2c]
call fcn.50272bbe
test eax, eax
je 0x50261683
mov eax, dword [ebp + 0x70]
push dword [ebx + eax]
call fcn.50260b50
jmp 0x5026172e
mov eax, dword [ebp + 0x3c]
inc dword [ebp + 0x3c]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x70]
add eax, ebx
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x5c], esi
mov ecx, dword [eax]
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x40], 5
mov dword [ebp + 0x48], esi
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x104d
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call edi
mov dword [ebp + 0x7c], eax
xor eax, eax
inc eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x70]
mov eax, dword [ebx + eax]
push dword [eax + 4]
call fcn.50261488
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call edi
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x48], 2
mov eax, dword [ebx + eax]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call edi
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x74]
jl 0x50261652
cmp dword [ebp + 0x70], esi
je 0x50261750
mov eax, dword [0x50297b30]
push dword [ebp + 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call edi
push 3
pop ebx
jmp 0x50261792
lea ecx, [ebp + 0x40]
push ecx
push eax
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp + 0x4c], esi
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x50], ebx
jne 0x50261768
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x7c]
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp + 0x4c], ebx
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push esi
push dword [ebp + 0x7c]
push 0x1013
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [eax + 0x18]
call ebx
mov eax, dword [0x5029fc50]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x28
push dword [eax + 8]
call edi
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call edi
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1032
push dword [eax + 0x2c]
call edi
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
push eax
mov eax, dword [0x5029fc50]
push dword [eax + 0x24]
call ebx
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call edi
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x10]
call ebx
jmp 0x50262364
mov eax, dword [0x5029fc50]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1032
push dword [eax + 0x2c]
call edi
test eax, eax
jbe 0x50261902
jmp 0x502618ba
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x1005
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x40], 4
push dword [eax + 0x2c]
call edi
push dword [ebp + 0x60]
call fcn.50260b50
mov eax, dword [0x5029fc50]
push esi
push ebx
push 0x1008
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x50261883
push 3
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x4c], eax
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x102b
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1013
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1032
push dword [eax + 0x2c]
call edi
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
push eax
mov eax, dword [0x5029fc50]
push dword [eax + 0x24]
call ebx
lea eax, [ebp + 0x78]
push eax
mov eax, dword [ebp + 0x70]
push esi
push 0x906
push dword [eax + 0x38]
mov dword [ebp + 0x78], esi
call edi
push dword [ebp + 0x78]
mov eax, dword [0x5029fc50]
push dword [eax + 0x18]
call ebx
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call edi
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x10]
call ebx
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1032
push dword [eax + 0x2c]
call edi
test eax, eax
jne 0x50262364
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call edi
test eax, eax
mov eax, dword [0x5029fc50]
jle 0x502619d5
push dword [eax + 0x2c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x50262364
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x28
push dword [eax + 8]
call edi
jmp 0x50262364
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
xor eax, eax
mov dword [ebp - 0x5864], esi
push esi
mov ecx, 0x13ff
lea edi, [ebp - 0x5860]
rep stosd dword es:[edi], eax
mov eax, dword [0x5029fc50]
push 0x1004
push dword [eax + 0x2c]
call ebx
mov dword [ebp + 0x78], eax
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x5029fc50]
mov dword [ebp + 4], 0x30
mov eax, dword [eax + 8]
push 0x32ce
mov dword [ebp + 8], eax
call fcn.5005698e
shr eax, 0x10
test ax, ax
push 0x32ce
je 0x50261a88
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push 0x32ce
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
jmp 0x50261a8d
call fcn.5005698e
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x5864]
mov dword [ebp + 0x10], eax
mov eax, dword [0x5029fc50]
mov dword [ebp + 0x14], 0x2800
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx]
mov dword [ebp + 0x18], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], esi
test byte [eax + 0x34], 1
je 0x50261acf
mov dword [ebp + 0x30], 0x200
lea eax, [ebp + 4]
push eax
call fcn.5009c936
test eax, eax
jl 0x50262364
mov eax, dword [0x5029fc50]
test byte [eax + 0x34], 1
je 0x50262008
lea eax, [ebp - 0x5864]
push eax
call dword [sym.imp.vsansi.dll_GetFileAttributesW]
shr eax, 4
not eax
test al, 1
je 0x50261d24
lea ecx, [ebp - 0x864]
mov dword [ebp + 0x70], esi
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x864]
call fcn.500a6e2f
lea ecx, [ebp - 0x444]
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x444]
call fcn.500a6e2f
lea ecx, [ebp - 0x444]
call fcn.50272bbe
mov eax, dword [0x5029fc50]
mov eax, dword [eax + 0x60]
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x444]
call fcn.500a70fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [0x5029fc50]
mov ecx, dword [ecx + 0x60]
mov dword [ecx], eax
mov eax, dword [0x50297b30]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0xc]
mov edx, eax
push 0xe
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x864]
mov dword [ebp + 0x74], edx
mov dword [edx], 0x38
call fcn.500a70fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [ebp + 0x74]
lea ecx, [ebp - 0x864]
mov dword [edi + 0xc], eax
call fcn.50272bbe
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
lea eax, [edi + 0x16]
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x12]
push eax
lea eax, [edi + 0x10]
push eax
push dword [edi + 0xc]
call fcn.50272bbe
lea eax, [ebp + 0x70]
push eax
mov dword [edi + 4], esi
mov eax, dword [0x5029fc50]
push edi
push dword [eax + 0x2c]
call fcn.50272bbe
test eax, eax
je 0x50261c08
push edi
call fcn.50260b50
jmp 0x50261c9e
mov eax, dword [ebp + 0x78]
mov edi, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x40], 5
mov dword [ebp + 0x48], esi
mov eax, dword [edi + 8]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x104d
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov dword [ebp + 0x70], eax
xor eax, eax
inc eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x48], eax
push dword [edi + 4]
call fcn.50261488
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x48], 2
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call ebx
push 3
pop edi
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x50261ce8
lea ecx, [ebp - 0x24]
push ecx
push eax
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp - 0x18], esi
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call ebx
jmp 0x50261cb4
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x70]
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp - 0x18], edi
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push esi
push dword [ebp + 0x70]
push 0x1013
push dword [eax + 0x2c]
call ebx
lea ecx, [ebp - 0x444]
call fcn.501b7afc
jmp 0x50261f88
lea eax, [ebp - 0x5864]
push eax
mov dword [ebp + 0x74], esi
call dword [sym.imp.MSVCR70.dll_wcslen]
pop ecx
lea edi, [ebp + eax*2 - 0x5862]
lea ecx, [ebp - 0x864]
mov dword [ebp + 0x70], edi
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x864]
call fcn.500a6ec8
mov eax, dword [0x5029fc50]
mov eax, dword [eax + 0x60]
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x864]
call fcn.500a70fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp edi, esi
mov ecx, dword [0x5029fc50]
mov ecx, dword [ecx + 0x60]
mov dword [ecx], eax
je 0x50261f12
jmp 0x50261d96
mov edi, dword [ebp + 0x70]
cmp word [edi], si
je 0x50261f12
lea ecx, [ebp - 0x444]
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x444]
call fcn.500a6ec8
push dword [ebp + 0x70]
lea ecx, [ebp - 0x444]
call fcn.50272bbe
mov eax, dword [0x50297b30]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0xc]
mov edx, eax
push 0xe
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x444]
mov dword [ebp + 0x7c], edx
mov dword [edx], 0x38
call fcn.500a70fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [ebp + 0x7c]
lea ecx, [ebp - 0x444]
mov dword [edi + 0xc], eax
call fcn.50272bbe
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
lea eax, [edi + 0x16]
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x12]
push eax
lea eax, [edi + 0x10]
push eax
push dword [edi + 0xc]
call fcn.50272bbe
lea eax, [ebp + 0x74]
push eax
mov dword [edi + 4], esi
mov eax, dword [0x5029fc50]
push edi
push dword [eax + 0x2c]
call fcn.50272bbe
test eax, eax
je 0x50261e54
push edi
call fcn.50260b50
jmp 0x50261eed
mov eax, dword [ebp + 0x78]
mov edi, dword [ebp + 0x7c]
inc dword [ebp + 0x78]
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x40], 5
mov dword [ebp + 0x48], esi
mov eax, dword [edi + 8]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x104d
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov dword [ebp + 0x74], eax
xor eax, eax
inc eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x48], eax
push dword [edi + 4]
call fcn.50261488
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x48], 2
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x44]
mov eax, dword [0x5029fc50]
push 0x1074
mov dword [ebp + 0x58], esi
push dword [eax + 0x2c]
call ebx
mov edi, dword [ebp + 0x70]
push edi
call dword [sym.imp.MSVCR70.dll_wcslen]
pop ecx
lea edi, [edi + eax*2 + 2]
lea ecx, [ebp - 0x444]
mov dword [ebp + 0x70], edi
call fcn.501b7afc
cmp edi, esi
jne 0x50261d93
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call ebx
push 3
pop edi
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x50261f5c
lea ecx, [ebp - 0x24]
push ecx
push eax
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp - 0x18], esi
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x2c]
call ebx
jmp 0x50261f28
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x74]
mov eax, dword [0x5029fc50]
push 0x102b
mov dword [ebp - 0x18], edi
push dword [eax + 0x2c]
call ebx
mov eax, dword [0x5029fc50]
push esi
push dword [ebp + 0x74]
push 0x1013
push dword [eax + 0x2c]
call ebx
lea ecx, [ebp - 0x864]
call fcn.501b7afc
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x2c]
call edi
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1032
push dword [eax + 0x2c]
call ebx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
push eax
mov eax, dword [0x5029fc50]
push dword [eax + 0x24]
call edi
mov eax, dword [0x5029fc50]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call ebx
xor ecx, ecx
test eax, eax
mov eax, dword [0x5029fc50]
setg cl
push ecx
push dword [eax + 0x10]
call edi
jmp 0x50262364
lea ecx, [ebp - 0x444]
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x444]
call fcn.500a6e2f
lea ecx, [ebp - 0x864]
call fcn.500a785c
lea eax, [ebp - 0x5864]
push eax
lea ecx, [ebp - 0x864]
call fcn.500a6e2f
lea ecx, [ebp - 0x864]
call fcn.50272bbe
mov eax, dword [0x5029fc50]
mov eax, dword [eax + 0x60]
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x864]
call fcn.500a70fc
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call ebx
mov ecx, dword [0x5029fc50]
mov ecx, dword [ecx + 0x60]
mov dword [ecx], eax
mov eax, dword [0x50297b30]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0xc]
mov edi, eax
push 0xe
mov dword [ebp + 0x78], edi
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x78]
lea ecx, [ebp - 0x444]
mov dword [eax], 0x38
call fcn.500a70fc
push eax
call ebx
mov ecx, dword [ebp + 0x78]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x444]
call fcn.50272bbe
push eax
call ebx
mov ecx, dword [ebp + 0x78]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x78]
lea ecx, [eax + 0x16]
push ecx
lea ecx, [eax + 0x14]
push ecx
lea ecx, [eax + 0x12]
push ecx
lea ecx, [eax + 0x10]
push ecx
push dword [eax + 0xc]
call fcn.50272bbe
mov eax, dword [ebp + 0x78]
mov dword [eax + 4], esi
mov eax, dword [0x5029fc50]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
lea edi, [ebp + 0x74]
push edi
push dword [eax + 8]
lea eax, [ebp + 0x78]
push eax
xor edi, edi
inc edi
push edi
push edi
push ecx
call dword [edx + 0xc]
test eax, eax
jl 0x50262117
cmp dword [ebp + 0x74], esi
je 0x50262117
mov eax, dword [ebp + 0x70]
mov dword [eax + 0x38], esi
mov dword [eax + 0x6c], edi
push dword [ebp + 0x78]
call fcn.50260b50
lea ecx, [ebp - 0x864]
call fcn.501b7afc
lea ecx, [ebp - 0x444]
call fcn.501b7afc
jmp 0x50262364
call fcn.50260d6c
jmp 0x50262364
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x6c], 1
mov eax, dword [0x5029fc50]
push dword [eax + 0x2c]
call fcn.50272bbe
jmp 0x50262364
mov eax, dword [0x5029fc50]
mov dword [ebp + 0x78], esi
test byte [eax + 0x34], 1
je 0x5026229c
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1004
push dword [eax + 0x2c]
call ebx
mov edi, eax
cmp edi, esi
jle 0x50262364
lea ecx, [ebp + 0x34]
call fcn.5004632e
mov dword [ebp + 0x74], esi
call fcn.500687d7
mov eax, dword [0x50297b30]
mov ecx, dword [eax]
shl edi, 2
push edi
push eax
call dword [ecx + 0xc]
cmp eax, esi
mov dword [ebp + 0x78], eax
je 0x50262242
mov ecx, edi
mov edi, dword [ebp + 0x78]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push esi
rep stosb byte es:[edi], al
push 0xffffffffffffffff
jmp 0x50262204
lea eax, [ebp + 0x40]
push eax
mov eax, dword [0x5029fc50]
push esi
push 0x104b
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x40], 4
push dword [eax + 0x2c]
call ebx
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x60]
inc dword [ebp + 0x74]
push esi
mov dword [eax + edx*4], ecx
push edi
mov eax, dword [0x5029fc50]
push 0x100c
push dword [eax + 0x2c]
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x502621d2
mov eax, dword [0x5029fc50]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
lea edi, [ebp + 0x7c]
push edi
push dword [eax + 8]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push 1
push ecx
call dword [edx + 0xc]
mov edi, eax
cmp edi, esi
jl 0x50262260
cmp dword [ebp + 0x7c], esi
jne 0x50262246
xor edi, edi
jmp 0x50262260
mov eax, dword [ebp + 0x70]
mov dword [eax + 0x38], esi
mov dword [eax + 0x6c], 1
mov eax, dword [0x5029fc50]
push dword [eax + 0x2c]
call fcn.50272bbe
push 0x32d6
call fcn.5005698e
push eax
mov eax, dword [0x5029fc50]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x50297b30]
push dword [ebp + 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push edi
call fcn.50069672
push 0xffffffffffffffff
lea ecx, [ebp + 0x34]
call fcn.50042ed1
jmp 0x50262364
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp + 0x74]
push eax
push esi
push 0x906
push dword [ebx + 0x38]
mov dword [ebp + 0x74], esi
call edi
cmp dword [ebp + 0x74], esi
je 0x50262364
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x70]
push eax
push 0x907
push dword [ebx + 0x38]
mov dword [ebp + 0x70], esi
call edi
cmp dword [ebp + 0x70], esi
je 0x50262364
cmp dword [ebp + 0x78], esi
je 0x50262364
call fcn.500687d7
mov eax, dword [0x5029fc50]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
lea edi, [ebp + 0x38]
push edi
push dword [eax + 8]
xor edi, edi
push dword [ebp + 0x78]
inc edi
push dword [ebp + 0x70]
push edi
push ecx
call dword [edx + 0xc]
cmp eax, esi
mov dword [ebp + 0x7c], eax
jl 0x5026231f
cmp dword [ebp + 0x38], esi
jne 0x50262319
mov dword [ebp + 0x7c], esi
jmp 0x5026231f
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x6c], edi
push 0x32d6
call fcn.5005698e
push eax
mov eax, dword [0x5029fc50]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp + 0x70], esi
jle 0x5026234e
mov eax, dword [ebp + 0x78]
push dword [eax + esi*4]
call fcn.50260b50
inc esi
cmp esi, dword [ebp + 0x70]
jl 0x5026233d
mov eax, dword [0x50297b30]
push dword [ebp + 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push dword [ebp + 0x7c]
call fcn.50069672
xor eax, eax
inc eax
lea esp, [ebp - 0x5870]
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10