Function at 0x447760
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x268], edi
push 0x43d
mov dword [ebp - 0x254], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4477cf
push ecx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xa
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x130]
mov byte [edi + 0x75], 1
call fcn.004895d0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
call fcn.004895d0
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 1
push eax
call fcn.0049ec80
add esp, 4
mov ecx, dword [eax]
lea edx, [ebp - 0x130]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
test edi, edi
je 0x447850
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x447850
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x447850
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x250]
call fcn.004890e0
mov edi, dword [ebp - 0x268]
add edi, 0x7c
mov byte [ebp - 4], 3
push edi
call fcn.00494450
mov ecx, eax
call fcn.004942c0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
xor ebx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4478f4
xor eax, eax
mov dword [ebp - 0x254], eax
nop
mov ecx, dword [edi]
add ecx, 0x60
add ecx, eax
call fcn.00489710
push eax
push 0
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x151
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc ebx
add dword [ebp - 0x254], 0xc0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov eax, dword [ebp - 0x254]
jb 0x4478a0
lea ecx, [ebp - 0x70]
call fcn.004895d0
push str.Locale
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 4
call fcn.00489280
push 0x5df644
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 5
mov dword [ebp - 0x254], 1
call fcn.00489280
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x254], 7
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0048c510
add esp, 0xc
test al, al
je 0x447975
lea eax, [ebp - 0x70]
push eax
call fcn.00494450
mov ecx, eax
call fcn.00494550
test al, al
je 0x447975
mov bl, 1
jmp 0x447977
xor bl, bl
lea ecx, [ebp - 0x190]
call fcn.00419a70
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 4], 4
call fcn.00419a70
test bl, bl
je 0x447b8c
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 7
push eax
call fcn.00494450
mov ecx, eax
call fcn.004942c0
mov ecx, dword [ebp - 0x25c]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x260]
xor edi, edi
sub ecx, ebx
mov dword [ebp - 0x254], edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x26c], eax
je 0x447b12
mov ecx, ebx
mov dword [ebp - 0x264], ebx
nop dword [eax]
cmp dword [ecx + 0x14], 0x10
mov edx, ecx
jb 0x447a1a
mov edx, dword [ecx]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
mov edi, dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
cmp edi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x254]
jne 0x447a9c
mov edi, dword [ebp - 0x60]
sub edi, 4
jb 0x447a51
nop dword [eax + eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x447a56
add eax, 4
add edx, 4
sub edi, 4
jae 0x447a40
cmp edi, 0xfffffffc
je 0x447a8a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x447a83
cmp edi, 0xfffffffd
je 0x447a8a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x447a83
cmp edi, 0xfffffffe
je 0x447a8a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x447a83
cmp edi, 0xffffffff
je 0x447a8a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x447a8a
sbb eax, eax
or eax, 1
jmp 0x447a8c
xor eax, eax
test eax, eax
je 0x447abd
mov ecx, dword [ebp - 0x264]
mov edi, dword [ebp - 0x254]
inc edi
add ecx, 0xc0
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x264], ecx
cmp edi, dword [ebp - 0x26c]
jb 0x447a10
jmp 0x447b12
mov eax, dword [ebp - 0x254]
lea ecx, [ebx + 0x60]
lea edi, [eax + eax*2]
shl edi, 6
add ecx, edi
call fcn.00489710
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0xffffffffffffffff
push 0x158
push esi
call ebx
cmp eax, 0xffffffff
je 0x447af6
mov ecx, dword [ebp - 0x260]
add ecx, 0x60
add ecx, edi
jmp 0x447afc
lea ecx, [ebp - 0xd0]
call fcn.00489710
push eax
push 0xffffffffffffffff
push 0x14d
push esi
call ebx
mov ebx, dword [ebp - 0x260]
test ebx, ebx
je 0x447ba6
mov edi, dword [ebp - 0x25c]
cmp ebx, edi
je 0x447b43
lea ecx, [ebx + 0x60]
call fcn.00419a70
mov ecx, ebx
call fcn.00419a70
add ebx, 0xc0
cmp ebx, edi
jne 0x447b24
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x258]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 6
cmp ecx, 0x1000
jb 0x447b80
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c13
push ecx
push ebx
call fcn.004ece5f
add esp, 8
jmp 0x447ba6
lea ecx, [ebp - 0xd0]
call fcn.00489710
push eax
push 0xffffffffffffffff
push 0x14d
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x268]
mov dword [ecx + 0x78], eax
lea ecx, [ebp - 0x70]
call fcn.00419a70
lea ecx, [ebp - 0x250]
call fcn.00419a70
lea ecx, [ebp - 0xd0]
call fcn.00419a70
lea ecx, [ebp - 0x130]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret
call fcn.004f242f
int3