Function at 0x4598d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466c9f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x84], 0
je 0x45995e
cmp byte [0x47b1a1], 0
mov eax, dword [edi + 0x80]
mov esi, dword [edi + 4]
push eax
je 0x45991f
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x45995e
lea ecx, [ebp - 0x44]
call fcn.00435960
push 0
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00435cb0
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x2c]
call fcn.0041bebc
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 8
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x64
push dword [edi + 4]
call ebx
push 0x67
push dword [edi + 4]
mov dword [edi + 8], eax
call ebx
push 0x66
push dword [edi + 4]
mov dword [edi + 0x10], eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x2005
push dword [edi + 8]
mov dword [edi + 0xc], eax
call ebx
mov eax, dword [edi + 0x6c]
xor esi, esi
test eax, eax
je 0x4599ee
nop
cmp byte [0x47b1a1], 0
mov eax, dword [edi + 0x68]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 0xc]
je 0x4599c5
push edx
push 0
push 0x143
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4599e6
lea ecx, [ebp - 0x44]
call fcn.00402020
push dword [eax]
push 0
push 0x143
push dword [edi + 0x10]
call ebx
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
mov eax, dword [edi + 0x6c]
inc esi
cmp esi, eax
jb 0x4599a0
cmp eax, 1
ja 0x459a1b
cmp byte [edi + 0x61], 0
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x67
push dword [edi + 4]
je 0x459a10
call eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x459a1b
call eax
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x64]
cmp eax, dword [edi + 0x6c]
jae 0x459a30
push 0
push eax
push 0x14e
push dword [edi + 0x10]
call ebx
mov cl, 1
call fcn.00461d90
push eax
push 1
push 0x1003
push dword [edi + 8]
call ebx
xor cl, cl
call fcn.00461d90
push eax
push 0
push 0x1003
push dword [edi + 8]
call ebx
mov edx, 0x3ec
lea ecx, [ebp - 0x44]
call fcn.0043b580
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x1061
push dword [edi + 8]
mov dword [ebp - 0x70], 0xe
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0x64
call ebx
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
lea ecx, [ebp - 0x44]
mov edx, 0x3f4
call fcn.0043b580
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
push 1
push 0x1061
push dword [edi + 8]
mov dword [ebp - 0x70], 0xe
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x68], 0x64
call ebx
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 0x5c], 2
mov edx, 0x3ef
mov dword [ebp - 0x70], 0xf
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 0x64
call fcn.0043b580
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
push 2
push 0x1061
push dword [edi + 8]
call ebx
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 0x78], 5
lea eax, [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], str.123456789012345671234567890
push eax
push 0
push 0x104d
push dword [edi + 8]
mov dword [ebp - 0x70], 0
call ebx
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], str.2009_09_09_09:09
mov dword [ebp - 0x70], 1
lea eax, [ebp - 0x78]
push eax
push 0
push 0x104c
push dword [edi + 8]
call ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 1
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], str.9999_MB
mov dword [ebp - 0x70], 2
call ebx
xor esi, esi
push 0xffff
push esi
push 0x101e
push dword [edi + 8]
call ebx
inc esi
cmp esi, 3
jl 0x459bb5
push 0
push 0
push 0x1009
push dword [edi + 8]
call ebx
push 0
mov ecx, edi
mov byte [edi + 0x44], 1
mov dword [edi + 0x40], 0
call fcn.00437080
mov eax, dword [edi + 0x48]
xor ecx, ecx
mov dword [edi + 0x4c], 0
mov word [eax], cx
mov esi, dword [edi + 0x74]
mov ecx, esi
call fcn.0043abc0
mov edx, eax
movzx eax, word [esi]
mov ecx, eax
mov dword [ebp - 0x10], edx
or ecx, 0x20
sub ecx, 0x61
cmp ecx, 0x19
ja 0x459c34
cmp word [esi + 2], 0x3a
jne 0x459c34
movzx ecx, word [esi + 4]
cmp ecx, 0x5c
je 0x459c30
cmp ecx, 0x2f
jne 0x459c34
xor edx, edx
jmp 0x459c8a
cmp eax, 0x5c
je 0x459c3e
cmp eax, 0x2f
jne 0x459c8d
movzx eax, word [esi + 2]
cmp eax, 0x5c
je 0x459c4c
cmp eax, 0x2f
jne 0x459c8d
cmp word [esi + 4], 0x3f
jne 0x459c8d
movzx eax, word [esi + 6]
cmp eax, 0x5c
je 0x459c61
cmp eax, 0x2f
jne 0x459c8d
movzx eax, word [esi + 8]
or eax, 0x20
sub eax, 0x61
cmp eax, 0x19
ja 0x459c8d
cmp word [esi + 0xa], 0x3a
jne 0x459c8d
movzx eax, word [esi + 0xc]
cmp eax, 0x5c
je 0x459c85
cmp eax, 0x2f
jne 0x459c8d
mov edx, 4
mov dword [ebp - 0x10], edx
cmp edx, dword [edi + 0x50]
jbe 0x459cc7
lea eax, [edx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
push dword [edi + 0x48]
mov dword [ebp - 0x14], eax
call fcn.0041bebc
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x48], ecx
mov dword [edi + 0x50], edx
jmp 0x459cca
mov ecx, dword [edi + 0x48]
test edx, edx
je 0x459ce2
lea eax, [edx + edx]
push eax
push esi
push ecx
call fcn.0041f8c0
mov ecx, dword [edi + 0x48]
add esp, 0xc
mov edx, dword [ebp - 0x10]
xor eax, eax
mov word [ecx + edx*2], ax
push 8
mov dword [edi + 0x4c], edx
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 3
mov word [eax], cx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
lea ebx, [edi + 0x54]
mov ecx, edi
push ebx
lea eax, [edi + 0x74]
push eax
call fcn.00459090
test al, al
jne 0x459d84
lea esi, [edi + 0x48]
cmp esi, ebx
je 0x459d84
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 8]
jbe 0x459d6c
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
push dword [ebx]
mov dword [ebp - 0x14], eax
call fcn.0041bebc
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebx], ecx
mov dword [ebx + 8], eax
jmp 0x459d6e
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push ecx
call fcn.0041f8c0
add esp, 0xc
mov esi, dword [ebx + 4]
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx]
push eax
call fcn.0041f8c0
add esp, 0x10
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00458160
test eax, eax
je 0x459f09
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov word [eax], cx
cmp dword [edi + 0x58], ecx
je 0x459f62
push 8
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 3
mov word [eax], cx
push 8
mov byte [ebp - 4], 3
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x44], eax
add esp, 8
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 3
mov word [eax], cx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push ebx
call fcn.00459090
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x38]
cmp eax, ebx
je 0x459e99
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebx + 8]
jbe 0x459e83
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
push dword [ebx]
mov esi, eax
call fcn.0041bebc
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [ebx], esi
mov esi, dword [ebp - 0x38]
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
push esi
push dword [ebx]
call fcn.0041f8c0
add esp, 0xc
push dword [ebp - 0x44]
call fcn.0041bebc
push esi
call fcn.0041bebc
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
call fcn.0041bebc
mov esi, dword [ebx + 4]
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx]
push eax
call fcn.0041f8c0
add esp, 0x1c
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00458160
test eax, eax
jne 0x459de0
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
call fcn.0041bebc
mov esi, dword [ebp - 0x1c]
add esp, 4
test esi, esi
jne 0x459f8f
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x74]
cmp eax, ecx
je 0x459f8f
mov esi, dword [eax + 4]
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jbe 0x459f73
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
push dword [ebp - 0x20]
mov ebx, eax
call fcn.0041bebc
add esp, 8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], esi
jmp 0x459f76
mov byte [ebp - 4], 1
push dword [ebp - 0x2c]
call fcn.0041bebc
add esp, 4
jmp 0x459f1f
mov ebx, dword [ebp - 0x20]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x1c], esi
push eax
push dword [edi + 0x74]
push ebx
call fcn.0041f8c0
add esp, 0xc
jmp 0x459f92
mov ebx, dword [ebp - 0x20]
cmp byte [edi + 0x61], 0
je 0x459fd3
test esi, esi
je 0x459fd3
movzx eax, word [ebx + esi*2 - 2]
cmp eax, 0x5c
je 0x459fd3
cmp eax, 0x2f
je 0x459fd3
cmp dword [ebp - 0x18], esi
jne 0x459fbe
lea ecx, [ebp - 0x20]
call fcn.00435630
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, 0x5c
xor ecx, ecx
mov word [ebx + esi*2], ax
lea eax, [esi + 1]
mov word [ebx + eax*2], cx
mov dword [ebp - 0x1c], eax
cmp byte [0x47b1a1], 0
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
je 0x459fec
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x45a065
xor eax, eax
mov dword [ebp - 0x10], eax
cmp word [ebx], ax
je 0x45a001
inc eax
cmp word [ebx + eax*2], 0
jne 0x459ff6
mov dword [ebp - 0x10], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], esi
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push esi
call fcn.0041f8c0
add esp, 0x10
push 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00435cb0
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x50]
call fcn.0041bebc
push esi
call fcn.0041bebc
add esp, 8
push 0
push 0x10002
push 0x128
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.0041bebc
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret