Function at 0x4b6380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov edx, dword [ecx + 0x4b0]
push ebx
mov byte [ecx + 0x4cc], 1
mov eax, dword [0x6aa6a0]
push esi
push edi
cmp eax, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jne 0x4b63ca
dec eax
mov dword [0x6aa6a0], eax
mov esi, dword [ebp + 8]
push 0x6a499c
push esi
call fcn.005c89f7
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x4b646c
call fcn.005c9f2f
mov ecx, dword [0x6cc564]
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 [0x6d1bf0]
push eax
push esi
lea edx, [ebp + 8]
push ecx
push edx
call fcn.005dc6eb
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x6d1bcc]
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.005e38b9
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.005c8c0a
add esp, 0xc
test eax, eax
jne 0x4b64b9
mov ecx, dword [0x6d1c64]
mov edx, dword [0x6d1be4]
push 0x30
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.005c8810
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 0x4b6506
lea ecx, [ebp - 0x34]
lea edx, [ebp + eax - 0x18c]
push ecx
push 0x6a4a10
push edx
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6506
cmp dword [ebp - 0x34], 2
jle 0x4b651a
mov eax, dword [0x6d1c64]
mov ecx, dword [0x6d1be4]
push 0x30
push eax
push ecx
jmp 0x4b6495
push ebx
lea edx, [ebp - 0x18c]
push pe_nt_image_headers32
push edx
call fcn.005c8c0a
add esp, 0xc
test eax, eax
jne 0x4b6547
mov eax, dword [0x6d1c64]
mov ecx, dword [0x6d1be4]
push 0x30
push eax
push ecx
jmp 0x4b6495
mov edi, 0x6a8a98
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x18c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6a8a98
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6587
lea ecx, [ebp - 0x30]
lea edx, [ebp + eax - 0x18c]
push ecx
push 0x6a4a10
push edx
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
je 0x4b659b
mov eax, dword [0x6d1c64]
mov ecx, dword [0x6d1be4]
push 0x30
push eax
push ecx
jmp 0x4b6495
mov eax, dword [ebp - 0x30]
cmp eax, 0x800
jge 0x4b65ad
mov eax, 0x800
mov dword [ebp - 0x30], eax
push eax
call fcn.005dfcbc
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b65e4
mov edx, dword [0x6d1c64]
mov eax, dword [0x6d1be8]
push 0x30
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 8]
push ecx
jmp 0x4b649e
push eax
call fcn.005dc6eb
add esp, 0xc
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
push esi
push edx
push ebx
call fcn.005c8c0a
add esp, 0xc
test eax, eax
jne 0x4b661f
mov eax, dword [0x6d1c64]
mov ecx, dword [0x6d1be4]
push 0x30
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.005dfce5
add esp, 4
push esi
jmp 0x4b649e
mov ecx, 3
mov edi, str._settings_
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x4b6cdf
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 0x4b669c
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6669
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b667b
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b669c
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x4b4
jmp 0x4b65db
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 0x4b6702
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b66cf
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b66e1
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6702
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x4b8
jmp 0x4b65db
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 0x4b6768
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6735
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6747
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6768
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x428
jmp 0x4b65db
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 0x4b67bb
lea ecx, [ebp - 0x88]
add eax, ebx
push ecx
push 0x6a202c
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b67bb
mov eax, dword [ebp - 0x88]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x438], dl
jmp 0x4b65e4
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 0x4b6821
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b67ee
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6800
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6821
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x43c
jmp 0x4b65db
mov edi, 0x6aab68
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab68
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6887
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6854
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6866
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6887
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x440
jmp 0x4b65db
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 0x4b68d4
lea ecx, [ebp - 0x7c]
add eax, ebx
push ecx
push 0x6a202c
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b68d4
mov eax, dword [ebp - 0x7c]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x444], dl
jmp 0x4b65e4
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 0x4b6921
lea ecx, [ebp - 0x6c]
add eax, ebx
push ecx
push 0x6a202c
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6921
mov eax, dword [ebp - 0x6c]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x470], dl
jmp 0x4b65e4
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 0x4b6987
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6954
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6966
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6987
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
add eax, 0x448
jmp 0x4b65db
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 0x4b6a12
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b69ba
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b69cc
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6a12
mov eax, dword [ebp - 0x14]
push esi
push 0x6a1fe8
lea edi, [eax + 0x474]
push edi
call fcn.005dc6eb
mov edi, dword [edi]
add esp, 0xc
push 0x2a
push edi
call fcn.005c72c0
mov edx, dword [ebp - 0x14]
add esp, 8
test eax, eax
setne cl
mov byte [edx + 0x478], cl
jmp 0x4b65e4
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 0x4b6a5f
lea ecx, [ebp - 0x70]
add eax, ebx
push ecx
push 0x6a202c
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6a5f
mov eax, dword [ebp - 0x70]
test eax, eax
mov eax, dword [ebp - 0x14]
setne dl
mov byte [eax + 0x479], dl
jmp 0x4b65e4
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 0x4b6b1b
lea esi, [eax + ebx]
push 0xd
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6a9c
mov byte [eax], 0
push 0xa
push esi
call fcn.005c72c0
add esp, 8
test eax, eax
je 0x4b6aae
mov byte [eax], 0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b6b1b
mov eax, dword [0x6cc564]
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
push 0x6a1fe8
push ecx
mov byte [ebp - 4], 2
call fcn.005dc6eb
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp eax, 2
jl 0x4b6af6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0xfde9
push edx
lea ecx, [eax + 0x41c]
jmp 0x4b6b05
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push 0
push ecx
lea ecx, [edx + 0x41c]
call fcn.00402980
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005e38b9
jmp 0x4b65e4
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 0x4b6b63
lea ecx, [ebp - 0x80]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6b63
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x4b0], edx
jmp 0x4b65e4
mov edi, 0x6aab1c
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab1c
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6bab
lea ecx, [ebp - 0x68]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6bab
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x4e8], edx
jmp 0x4b65e4
mov edi, 0x6aab18
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab18
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6bf9
lea ecx, [ebp - 0x8c]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6bf9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0x4d4], edx
jmp 0x4b65e4
mov edi, 0x6aab14
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab14
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6c41
lea ecx, [ebp - 0x74]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6c41
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x4ec], edx
jmp 0x4b65e4
mov edi, 0x6aab10
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab10
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b6c8f
lea ecx, [ebp - 0x84]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b6c8f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x84]
mov dword [eax + 0x4d8], edx
jmp 0x4b65e4
mov edi, 0x6aab0c
or ecx, 0xffffffff
xor eax, eax
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x6aab0c
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4b65e4
lea ecx, [ebp - 0x20]
add eax, ebx
push ecx
push 0x6a4a10
push eax
call fcn.005c8e4c
add esp, 0xc
cmp eax, 1
jne 0x4b65e4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x4dc], edx
jmp 0x4b65e4
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov edi, dword [ecx + 0x428]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4b6d30
mov edx, dword [0x6d1c64]
mov eax, dword [0x6d1be4]
push 0x30
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c8810
push ebx
call fcn.005dfce5
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.004bced0
mov eax, dword [esi + 0x41c]
xor edi, edi
cmp eax, edi
jne 0x4b6d55
lea eax, [esi + 0x420]
push eax
call fcn.005c7292
add esp, 4
test eax, eax
jne 0x4b6d6e
mov ecx, esi
call fcn.004b5150
jmp 0x4b7197
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x28], di
mov eax, dword [esi + 0x41c]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x4b6d8e
lea eax, [esi + 0x420]
mov edx, str._sgrprdb
test edx, edx
je 0x4b6e55
cmp eax, edi
je 0x4b6e55
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d7a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00401070
push str._sgrprdb
lea ecx, [ebp - 0x58]
call fcn.00401fd0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp eax, edi
jne 0x4b6dd3
lea eax, [ebp - 0x3c]
mov edi, dword [ebp - 0x50]
push eax
call fcn.005c7292
lea eax, [eax + edi + 2]
mov dword [ebp - 0x20], eax
lea edi, [eax + eax]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x2c], edx
je 0x4b6e3a
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.00402050
push eax
lea ecx, [ebp - 0x58]
call fcn.00402050
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call fcn.005c7222
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005c7292
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 0x4b6e5e
lea eax, [ebp - 0x28]
push 1
push eax
lea ecx, [esi + 0x300]
call fcn.005b7360
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b6e76
lea eax, [ebp - 0x28]
lea edi, [esi + 8]
push 1
push eax
mov ecx, edi
call fcn.005b7e30
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4b6f7a
mov eax, dword [esi + 0x410]
push 0
push eax
mov byte [esi + 0x4cd], 0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x18], 0x755f
jne 0x4b6f16
mov eax, dword [esi + 0x41c]
test eax, eax
jne 0x4b6ebd
lea eax, [esi + 0x420]
push 0
push 0
lea ecx, [ebp - 0x20]
push 0
push ecx
push eax
call fcn.005c8048
mov edx, dword [0x6cc564]
add esp, 0x14
mov dword [ebp - 0x18], edx
mov ecx, dword [0x6d1b54]
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
mov byte [ebp - 4], 6
call fcn.005dc6eb
mov eax, dword [0x6d1b5c]
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.005e38b9
jmp 0x4b6f2d
mov edx, dword [0x6d1b5c]
mov eax, dword [0x6d1b50]
push 0x30
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi + 0x410]
push 0
push 0x143a
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.005dfce5
mov edx, dword [ebp + 8]
add esp, 4
push edx
call fcn.005c8810
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.005ba2a0
xor edi, edi
cmp eax, edi
jne 0x4b6fb5
mov eax, dword [esi + 0x410]
push edi
push eax
mov byte [esi + 0x4cd], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6d1b5c]
mov edx, dword [0x6d1b50]
push 0x30
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4b6fe0
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x4b6fbf
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004c17e0
cmp eax, edi
jne 0x4b700a
mov edx, dword [esi + 0x410]
push edi
push edx
mov byte [esi + 0x4cd], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x410]
push edi
push 0x143a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
call fcn.005dfce5
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
jmp 0x4b6f53
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 0x4b7026
mov dword [ebp - 0x18], eax
jmp 0x4b702c
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, str._s__s.pdb
test eax, eax
je 0x4b7166
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b7166
mov edx, 0x6aaaf8
test edx, edx
je 0x4b7166
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.00402980
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.00402060
push 0x6aaaf8
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.00402060
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.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
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.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x4c], edx
je 0x4b713f
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.00402050
push eax
lea ecx, [ebp - 0x58]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
mov ecx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
call fcn.005c7222
mov edx, dword [ebp - 0x4c]
push edx
call fcn.005c7292
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 + 0x414]
test ecx, ecx
mov dword [esi + 0x14], eax
jne 0x4b7176
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [esi + 0x10]
call fcn.004d7c60
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 + 0x4ad]
test al, al
je 0x4b71a8
mov ecx, esi
call fcn.004c39b0
mov ecx, dword [esi + 0x410]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1404
push 0x111
push ecx
call edi
mov al, byte [esi + 0x479]
test al, al
je 0x4b71d4
mov ecx, esi
call fcn.004b8810
push ebx
call fcn.005dfce5
mov edx, dword [ebp + 8]
add esp, 4
push edx
call fcn.005c8810
mov eax, dword [esi + 0x4d4]
add esp, 4
mov dword [esi + 0x4d0], eax
mov al, byte [esi + 0x4ad]
push 0
push 0x1403
test al, al
push 0x111
je 0x4b7227
mov ecx, dword [esi + 0x410]
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 + 0x410]
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