Function at 0x498ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov edx, dword [ecx + 0x4c8]
push ebx
mov byte [ecx + 0x4e4], 1
mov eax, dword [0x663a50]
push esi
push edi
cmp eax, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jne 0x498b1a
dec eax
mov dword [0x663a50], eax
mov esi, dword [ebp + 8]
push 0x65e408
push esi
call fcn.0058aa8f
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x498bbc
call fcn.0058bd57
mov ecx, dword [0x682f9c]
mov dword [ebp + 8], ecx
push ebx
lea edx, [ebp - 0x18]
push ebx
push edx
push 0x400
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x688468]
push eax
push esi
lea edx, [ebp + 8]
push ecx
push edx
call fcn.0059e618
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x688444]
mov edx, dword [ebp + 8]
push 0x30
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.005a584d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
lea eax, [ebp - 0x18c]
push pe_nt_image_headers32
push eax
call fcn.0058ac9a
add esp, 0xc
test eax, eax
jne 0x498c09
mov ecx, dword [0x6884dc]
mov edx, dword [0x68845c]
push 0x30
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.0058a8a8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, str.version
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x18c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.version
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
mov dword [ebp - 0x34], 0
jne 0x498c56
lea ecx, [ebp - 0x34]
lea edx, [ebp + eax - 0x18c]
push ecx
push 0x65e490
push edx
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x498c56
cmp dword [ebp - 0x34], 2
jle 0x498c6a
mov eax, dword [0x6884dc]
mov ecx, dword [0x68845c]
push 0x30
push eax
push ecx
jmp 0x498be5
push ebx
lea edx, [ebp - 0x18c]
push pe_nt_image_headers32
push edx
call fcn.0058ac9a
add esp, 0xc
test eax, eax
jne 0x498c97
mov eax, dword [0x6884dc]
mov ecx, dword [0x68845c]
push 0x30
push eax
push ecx
jmp 0x498be5
mov edi, 0x66205c
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x18c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x66205c
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498cd7
lea ecx, [ebp - 0x30]
lea edx, [ebp + eax - 0x18c]
push ecx
push 0x65e490
push edx
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
je 0x498ceb
mov eax, dword [0x6884dc]
mov ecx, dword [0x68845c]
push 0x30
push eax
push ecx
jmp 0x498be5
mov eax, dword [ebp - 0x30]
cmp eax, 0x800
jge 0x498cfd
mov eax, 0x800
mov dword [ebp - 0x30], eax
push eax
call fcn.005a1be9
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x498d34
mov edx, dword [0x6884dc]
mov eax, dword [0x688460]
push 0x30
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 8]
push ecx
jmp 0x498bee
push eax
call fcn.0059e618
add esp, 0xc
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
push esi
push edx
push ebx
call fcn.0058ac9a
add esp, 0xc
test eax, eax
jne 0x498d6f
mov eax, dword [0x6884dc]
mov ecx, dword [0x68845c]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.005a1c12
add esp, 4
push esi
jmp 0x498bee
mov ecx, 3
mov edi, str._settings_
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x49942f
mov edi, str.name
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.name
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498dec
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498db9
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498dcb
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x498dec
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x4cc
jmp 0x498d2b
mov edi, str.template
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.template
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498e52
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498e1f
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498e31
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x498e52
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x4d0
jmp 0x498d2b
mov edi, str.startingPage
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.startingPage
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498eb8
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498e85
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498e97
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x498eb8
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x440
jmp 0x498d2b
mov edi, str.useAuthorization
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.useAuthorization
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498f0b
lea ecx, [ebp - 0x88]
add eax, ebx
push ecx
push 0x65bfb0
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x498f0b
mov eax, dword [ebp - 0x88]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x450], dl
jmp 0x498d34
mov edi, str.login
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.login
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498f71
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498f3e
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498f50
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x498f71
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x454
jmp 0x498d2b
mov edi, 0x663f48
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663f48
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498fd7
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498fa4
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x498fb6
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x498fd7
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x458
jmp 0x498d2b
mov edi, str.useManualLogin
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.useManualLogin
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x499024
lea ecx, [ebp - 0x7c]
add eax, ebx
push ecx
push 0x65bfb0
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x499024
mov eax, dword [ebp - 0x7c]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x45c], dl
jmp 0x498d34
mov edi, str.denyLogout
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.denyLogout
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x499071
lea ecx, [ebp - 0x6c]
add eax, ebx
push ecx
push 0x65bfb0
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x499071
mov eax, dword [ebp - 0x6c]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x488], dl
jmp 0x498d34
mov edi, str.manualLoginUrl
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.manualLoginUrl
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4990d7
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x4990a4
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x4990b6
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4990d7
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
add eax, 0x460
jmp 0x498d2b
mov edi, str.logoutUrl
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.logoutUrl
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x499162
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x49910a
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x49911c
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x499162
mov eax, dword [ebp - 0x14]
push esi
push 0x65bf6c
lea edi, [eax + 0x48c]
push edi
call fcn.0059e618
mov edi, dword [edi]
add esp, 0xc
push 0x2a
push edi
call fcn.00589460
mov edx, dword [ebp - 0x14]
add esp, 8
test eax, eax
setne cl
mov byte [edx + 0x490], cl
jmp 0x498d34
mov edi, str.isSPC
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.isSPC
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4991af
lea ecx, [ebp - 0x70]
add eax, ebx
push ecx
push 0x65bfb0
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x4991af
mov eax, dword [ebp - 0x70]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x491], dl
jmp 0x498d34
mov ecx, dword [ebp - 0x34]
mov edi, str.tmpFolder
mov dword [ebp - 0x78], ecx
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.tmpFolder
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x49926b
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x4991ec
mov byte [eax], 0
push 0xa
push esi
call fcn.00589460
add esp, 8
test eax, eax
je 0x4991fe
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49926b
mov eax, dword [0x682f9c]
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
push 0x65bf6c
push ecx
mov byte [ebp - 4], 2
call fcn.0059e618
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp eax, 2
jl 0x499246
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0xfde9
push edx
lea ecx, [eax + 0x434]
jmp 0x499255
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 0
push ecx
lea ecx, [edx + 0x434]
call fcn.00402800
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005a584d
jmp 0x498d34
mov edi, str.projID
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.projID
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4992b3
lea ecx, [ebp - 0x80]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x4992b3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x4c8], edx
jmp 0x498d34
mov edi, 0x663efc
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663efc
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4992fb
lea ecx, [ebp - 0x68]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x4992fb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x500], edx
jmp 0x498d34
mov edi, 0x663ef8
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663ef8
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x499349
lea ecx, [ebp - 0x8c]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x499349
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x4ec], edx
jmp 0x498d34
mov edi, 0x663ef4
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663ef4
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x499391
lea ecx, [ebp - 0x74]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x499391
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x504], edx
jmp 0x498d34
mov edi, 0x663ef0
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663ef0
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4993df
lea ecx, [ebp - 0x84]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x4993df
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x84]
mov dword [eax + 0x4f0], edx
jmp 0x498d34
mov edi, 0x663eec
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x663eec
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x498d34
lea ecx, [ebp - 0x20]
add eax, ebx
push ecx
push 0x65e490
push eax
call fcn.0058aedc
add esp, 0xc
cmp eax, 1
jne 0x498d34
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x4f4], edx
jmp 0x498d34
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov edi, dword [ecx + 0x440]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x499480
mov edx, dword [0x6884dc]
mov eax, dword [0x68845c]
push 0x30
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058a8a8
push ebx
call fcn.005a1c12
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push ebx
push edx
push eax
mov ecx, esi
call fcn.0049f610
mov eax, dword [esi + 0x434]
xor edi, edi
cmp eax, edi
jne 0x4994a5
lea eax, [esi + 0x438]
push eax
call fcn.00589432
add esp, 4
test eax, eax
jne 0x4994be
mov ecx, esi
call fcn.004978a0
jmp 0x4998e7
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x28], di
mov eax, dword [esi + 0x434]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x4994de
lea eax, [esi + 0x438]
mov edx, str._sgrprdb
test edx, edx
je 0x4995a5
cmp eax, edi
je 0x4995a5
push eax
lea ecx, [ebp - 0x40]
call fcn.00403af0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401070
push str._sgrprdb
lea ecx, [ebp - 0x58]
call fcn.00401e50
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp eax, edi
jne 0x499523
lea eax, [ebp - 0x3c]
mov edi, dword [ebp - 0x50]
push eax
call fcn.00589432
lea eax, [eax + edi + 2]
mov dword [ebp - 0x20], eax
lea edi, [eax + eax]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x2c], edx
je 0x49958a
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x40]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x58]
call fcn.00401ed0
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call fcn.005893c2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00589432
add esp, 0x14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00401070
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov eax, ecx
jne 0x4995ae
lea eax, [ebp - 0x28]
push 1
push eax
lea ecx, [esi + 0x300]
call fcn.00579510
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4995c6
lea eax, [ebp - 0x28]
lea edi, [esi + 8]
push 1
push eax
mov ecx, edi
call fcn.00579fe0
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4996ca
mov eax, dword [esi + 0x428]
push 0
push eax
mov byte [esi + 0x4e5], 0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x18], 0x755f
jne 0x499666
mov eax, dword [esi + 0x434]
test eax, eax
jne 0x49960d
lea eax, [esi + 0x438]
push 0
push 0
lea ecx, [ebp - 0x20]
push 0
push ecx
push eax
call fcn.0058a1ba
mov edx, dword [0x682f9c]
add esp, 0x14
mov dword [ebp - 0x18], edx
mov ecx, dword [0x6883cc]
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
mov byte [ebp - 4], 6
call fcn.0059e618
mov eax, dword [0x6883d4]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.005a584d
jmp 0x49967d
mov edx, dword [0x6883d4]
mov eax, dword [0x6883c8]
push 0x30
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi + 0x428]
push 0
push 0x143a
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.005a1c12
mov edx, dword [ebp + 8]
add esp, 4
push edx
call fcn.0058a8a8
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.0057c450
xor edi, edi
cmp eax, edi
jne 0x499705
mov eax, dword [esi + 0x428]
push edi
push eax
mov byte [esi + 0x4e5], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6883d4]
mov edx, dword [0x6883c8]
push 0x30
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x499730
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x49970f
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004a3bc0
cmp eax, edi
jne 0x49975a
mov edx, dword [esi + 0x428]
push edi
push edx
mov byte [esi + 0x4e5], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x428]
push edi
push 0x143a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.005a1c12
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
jmp 0x4996a3
xor ecx, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x48], di
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp eax, edi
je 0x499776
mov dword [ebp - 0x18], eax
jmp 0x49977c
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, str._s__s.pdb
test eax, eax
je 0x4998b6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4998b6
mov edx, 0x663ed8
test edx, edx
je 0x4998b6
xor edi, edi
lea ecx, [ebp - 0x40]
push edi
push str._s__s.pdb
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x3c], di
call fcn.00402800
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], edi
mov word [ebp - 0x54], di
call fcn.00401ee0
push 0x663ed8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x60], di
call fcn.00401ee0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x64]
call fcn.00401ed0
push eax
call fcn.00589432
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00589432
mov ecx, dword [ebp - 0x20]
add ecx, edi
lea eax, [eax + ecx + 3]
mov dword [ebp - 0x20], eax
lea edi, [eax + eax]
push edi
call fcn.005a1be9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x4c], edx
je 0x49988f
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x64]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x58]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x40]
call fcn.00401ed0
mov ecx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call fcn.005893c2
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00589432
add esp, 0x18
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00401070
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00401070
mov ecx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x42c]
test ecx, ecx
mov dword [esi + 0x14], eax
jne 0x4998c6
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [esi + 0x10]
call fcn.004b8dc0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
mov al, byte [esi + 0x4c5]
test al, al
je 0x4998f8
mov ecx, esi
call fcn.004a5d80
mov ecx, dword [esi + 0x428]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1404
push 0x111
push ecx
call edi
mov al, byte [esi + 0x491]
test al, al
je 0x499924
mov ecx, esi
call fcn.0049af60
push ebx
call fcn.005a1c12
mov edx, dword [ebp + 8]
add esp, 4
push edx
call fcn.0058a8a8
mov eax, dword [esi + 0x4ec]
add esp, 4
mov dword [esi + 0x4e8], eax
mov al, byte [esi + 0x4c5]
push 0
push 0x1403
test al, al
push 0x111
je 0x499977
mov ecx, dword [esi + 0x428]
push ecx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x428]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4