Function at 0x45c220
Capabilities:
Hide graphical window

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 0x4d909e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x56b06c]
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 - 0x11c], edi
push dword [edi + 4]
lea esi, [edi + 4]
mov dword [ebp - 0x124], esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [edi + 0x40], 0
lea ecx, [edi + 0x34]
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x45c2b8
test ecx, ecx
mov dword [ebp - 0x104], 0
mov eax, edi
cmove eax, dword [ebp - 0x104]
push 0x64
push dword [eax + 4]
call edx
push eax
lea ecx, [edi + 0x3c]
call fcn.0045a970
mov edx, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [edi + 0x34]
cmp dword [edi + 0x100], 0
jne 0x45c2e9
test ecx, ecx
mov dword [ebp - 0x104], 0
mov eax, edi
cmove eax, dword [ebp - 0x104]
push 0x65
push dword [eax + 4]
call edx
push eax
lea ecx, [edi + 0xfc]
call fcn.0045a970
push 0x66
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
mov dword [edi + 0x1bc], eax
mov dword [ebp - 0x138], 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x13c], eax
push 0
push 0
push 0x31
mov dword [ebp - 4], 0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x56bea4], 0xffffffff
mov dword [ebp - 0x114], 0
jne 0x45c393
mov eax, dword [0x573818]
add eax, 0x10
push eax
mov dword [ebp - 0x104], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x56bea4], 0xffffffff
jne 0x45c387
push 0x54b45c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x56bea4], ecx
test eax, eax
je 0x45c387
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ecx
push dword [esi]
lea ecx, [ebp - 0x114]
call fcn.0045b5a0
test eax, eax
je 0x45c44e
mov esi, dword [ebp - 0x114]
lea eax, [ebp - 0x10c]
push eax
push 0xedb
push 0
push 1
push esi
mov dword [ebp - 0x10c], 0
call dword [sym.imp.UxTheme.dll_GetThemeColor]
test eax, eax
js 0x45c44b
mov eax, dword [ebp - 0x10c]
push 0x5c
mov dword [edi + 0xd8], eax
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004a9e70
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push 0xd2
push 0
push 1
push dword [ebp - 0x13c]
push esi
call dword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0x45c44b
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [edi + 0x200]
mov esi, eax
test ecx, ecx
je 0x45c438
cmp ecx, esi
je 0x45c438
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
mov eax, esp
mov dword [edi + 0x200], esi
lea ecx, [edi + 0x3c]
mov dword [eax], esi
call fcn.0044def0
lea esi, [edi + 4]
cmp byte [edi + 0x260], 0
jne 0x45c531
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0045b520
mov edx, eax
lea ecx, [edi + 0x30]
mov eax, edi
mov dword [ebp - 0x120], edx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x104], eax
cmp ecx, eax
jne 0x45c50a
mov edx, dword [edx + 4]
lea edi, [ebp - 0x14c]
cmp edi, edx
mov edi, dword [ebp - 0x11c]
jb 0x45c4c0
lea edi, [ebp - 0x14c]
lea eax, [edx + eax*4]
cmp edi, eax
mov edi, dword [ebp - 0x11c]
jb 0x45cd87
mov eax, dword [ebp - 0x104]
test eax, eax
jne 0x45c4d1
mov eax, 1
mov dword [ebp - 0x114], eax
jmp 0x45c4e5
lea eax, [ecx + ecx]
mov dword [ebp - 0x114], eax
test eax, eax
js 0x45c531
cmp eax, 0x1fffffff
ja 0x45c531
push 4
push eax
push edx
call fcn.004b9abf
add esp, 0xc
test eax, eax
je 0x45c531
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0xc], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x104], eax
test eax, eax
je 0x45c52b
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x12c]
mov dword [ecx], eax
mov ecx, dword [edx + 8]
lea eax, [ecx + 1]
mov dword [edx + 8], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push dword [esi]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0xe
call dword [sym.imp.USER32.dll_MapDialogRect]
movaps xmm0, xmmword [0x54cea0]
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
movups xmmword [ebp - 0x7c], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 1
xor al, al
mov ecx, dword [ebp - 0x3c]
mov esi, dword [edi + 0x238]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0x23c]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x120], eax
cmp esi, eax
je 0x45c742
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x104], eax
nop
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x6c]
call fcn.00431560
mov byte [ebp - 4], 2
mov eax, 1
mov ecx, dword [ebp - 0x108]
cmp byte [esi + 9], 0
movzx ecx, cl
cmovne ecx, eax
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0x420
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x400
push eax
push dword [ebp - 0x13c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x400
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x2c], ecx
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x114], eax
je 0x45c698
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x144], eax
jmp 0x45c6b4
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.0045db20
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x110]
add ecx, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x110], ecx
cmp edx, 8
jb 0x45c712
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cd91
push edx
push ecx
call fcn.004835cc
mov ecx, dword [ebp - 0x110]
add esp, 8
add esi, 0x10
cmp esi, dword [ebp - 0x120]
jne 0x45c5d0
cmp byte [ebp - 0x108], 0
je 0x45c736
mov eax, dword [ebp - 0x3c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [edi + 4]
lea esi, [edi + 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x10a
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x9c]
cmp ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
push eax
cmovb ecx, dword [ebp - 0x1c]
push dword [esi]
mov dword [ebp - 0x110], ecx
movups xmmword [ebp - 0x9c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [esi]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x24
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x110]
mov ecx, edi
sub eax, dword [edi + 0x258]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x28], 0x400
mov dword [ebp - 0x108], 0xa
call fcn.0045cda0
cmp dword [edi + 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
je 0x45c839
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045cfb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
cmp dword [edi + 0x1d0], 0
je 0x45c928
cmp dword [edi + 0x1d4], 8
lea eax, [edi + 0x1c0]
jb 0x45c857
mov eax, dword [eax]
push eax
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0x54]
movaps xmm0, xmmword [0x54ceb0]
mov esi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x8c]
sub esi, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x124]
movups xmmword [ebp - 0x54], xmm0
push dword [eax]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x48]
cmp edi, esi
mov dword [ebp - 0x28], eax
cmovle edi, esi
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x108]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x11c]
push esi
mov dword [ebp - 0x30], 0
mov ecx, dword [edi + 0x258]
mov eax, dword [edi + 0x250]
add ecx, 0xa
add eax, ecx
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [edi + 0x1d8], 0
je 0x45c8f6
push 0
push 1
push 0xf1
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
mov ecx, dword [ebp - 0x34]
push 1
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x18]
add esi, 0x1e
sub eax, dword [ebp - 0x20]
add eax, esi
lea esi, [edi + 4]
jmp 0x45c93c
push 0
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x108]
movaps xmm0, xmmword [0x54cec0]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x70]
sub ecx, edx
mov edi, dword [edi + 0x238]
shr esi, 1
sub eax, esi
shr ecx, 1
add ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x150], esi
mov esi, dword [ebp - 0x128]
mov dword [ebp - 0x108], ecx
mov eax, dword [eax + 0x23c]
mov dword [ebp - 0x154], eax
cmp edi, eax
je 0x45cb15
lea eax, [edx + ecx]
mov dword [ebp - 0x12c], eax
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x6c]
call fcn.00431560
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esi, 8
mov dword [ebp - 0x48], eax
mov al, byte [edi + 8]
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x115], al
test al, al
je 0x45c9ef
mov eax, dword [edi]
mov dword [ebp - 0x104], eax
mov esi, dword [ebp - 0x134]
sub esi, dword [ebp - 0x150]
sub esi, ecx
cmp byte [edi + 9], 0
mov dword [ebp - 0x24], esi
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x45ca46
sub eax, esi
mov esi, dword [ebp - 0x130]
add eax, dword [ebp - 0x130]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x130], eax
jmp 0x45ca4c
mov dword [ebp - 0x134], esi
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x6c]
push 0
push dword [0x572da8]
xor edx, edx
push dword [edi]
cmp byte [ebp - 0x115], dl
push dword [eax]
mov eax, dword [ebp - 0x12c]
setne dl
cmp dword [ebp - 0x58], 8
cmovae ecx, dword [ebp - 0x6c]
or edx, 0x56010000
sub eax, dword [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x120]
sub eax, esi
push eax
push dword [ebp - 0x108]
push esi
push edx
push ecx
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
mov esi, eax
mov eax, dword [ebp - 0x124]
push 0
push 0x31
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x45cb02
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45caf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cd91
push edx
push ecx
call fcn.004835cc
add esp, 8
add edi, 0x10
cmp edi, dword [ebp - 0x154]
je 0x45cb15
mov esi, dword [ebp - 0x48]
jmp 0x45c9c1
mov esi, dword [ebp - 0x124]
lea eax, [ebp - 0x44]
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
movaps xmm0, xmmword [0x54cec0]
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
movups xmmword [ebp - 0x7c], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x10c]
push 1
push eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x44]
push eax
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push ecx
mov ecx, esi
call fcn.0045b230
mov edi, dword [ebp - 0x11c]
cmp dword [edi + 0x268], 0
je 0x45cc34
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xb
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [edi + 0x268]
push 0x8000
push esi
push eax
push 1
push ecx
push dword [0x572dac]
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x45cbee
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [edi + 0x268]
push 0x8000
push esi
push eax
push 1
push ecx
push dword [0x572dac]
call dword [sym.imp.USER32.dll_LoadImageW]
lea esi, [edi + 4]
test eax, eax
je 0x45cc34
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x45cc4e
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push dword [edi + 0x1bc]
mov dword [ebp - 0x10c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45cca3
cmp dword [edi + 0x1d0], 0
je 0x45cc95
push 3
push 0
push 0
push 0
push 0
push dword [esi]
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 0x10c], eax
jmp 0x45cca3
push 0
push dword [edi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x23c]
cmp esi, dword [edi + 0x238]
je 0x45ccfc
mov eax, dword [ebp - 0x124]
add esi, 0xfffffff0
push dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ccee
push 3
push 0
push 0
push 0
push 0
push dword [ebp - 0x10c]
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x11c]
cmp esi, dword [edi + 0x238]
jne 0x45ccb1
cmp byte [edi + 0x270], 0
je 0x45cd1e
push 0
push 0xf060
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov edx, dword [ebp - 0x128]
test edx, edx
je 0x45cd57
mov ecx, dword [ebp - 0x114]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x45cd4d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cd91
push ecx
push edx
call fcn.004835cc
add esp, 8
push dword [ebp - 0x13c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
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.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.00421000
call fcn.004b1db8
int3