Function at 0x4d4a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x130]
sub esp, 0x130
push 0xffffffffffffffff
push 0x648750
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x12c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 0x138]
mov dword [ebp - 4], 0
mov byte [esi + 0x4cc], 1
mov eax, dword [0x748b2c]
cmp eax, dword [esi + 0x4b0]
jne 0x4d4a85
dec dword [0x748b2c]
push 0x672bb0
push edi
call fcn.0061849d
add esp, 8
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x4d4b1a
call fcn.0061afe4
mov eax, dword [eax]
xor esi, esi
mov dword [ebp], esi
mov dword [ebp + 8], esi
xor ecx, ecx
mov word [ebp + 4], cx
mov byte [ebp - 4], 1
push esi
push esi
lea edx, [ebp - 0x1c]
push edx
push 0x400
push eax
push esi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [0x752d00]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
mov edx, dword [0x754138]
push edx
lea ecx, [ebp]
call fcn.00402320
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp]
cmp eax, esi
jne 0x4d4afb
lea eax, [ebp + 4]
push 0x30
mov ecx, dword [0x75415c]
push ecx
push eax
push esi
call fcn.0046f430
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp]
jmp 0x4d4f45
push ebx
push pe_nt_image_headers32
lea edx, [ebp + 0x24]
push edx
call fcn.00619005
add esp, 0xc
test eax, eax
jne 0x4d4b54
push 0x30
mov eax, dword [0x7540c4]
push eax
mov ecx, dword [0x754144]
push ecx
push 0
call fcn.0046f2a0
push ebx
call fcn.00618177
add esp, 0x14
jmp 0x4d4f4a
mov dword [ebp - 0x24], 0
mov edx, 8
mov byte [ebp - 0x11], 0
mov eax, edx
mov ecx, str.version
lea edi, [ebp + 0x24]
mov edi, edi
cmp eax, 4
jb 0x4d4b8a
mov ebx, dword [edi]
cmp ebx, dword [ecx]
jne 0x4d4c0f
sub eax, 4
add ecx, 4
add edi, 4
jmp 0x4d4b70
test eax, eax
je 0x4d4bae
mov bl, byte [ecx]
cmp bl, byte [edi]
jne 0x4d4c0f
cmp eax, 1
jbe 0x4d4bae
mov bl, byte [ecx + 1]
cmp bl, byte [edi + 1]
jne 0x4d4c0f
cmp eax, 2
jbe 0x4d4bae
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4d4c0f
lea ecx, [ebp - 0x24]
push ecx
push 0x66e5fc
lea edx, [ebp + edx + 0x24]
push edx
call fcn.006171be
add esp, 0xc
cmp eax, 1
jne 0x4d4c0f
cmp dword [ebp - 0x24], 2
jg 0x4d4c0f
mov byte [ebp - 0x11], al
mov edi, dword [ebp - 0x18]
push edi
push pe_nt_image_headers32
lea eax, [ebp + 0x24]
push eax
call fcn.00619005
add esp, 0xc
test eax, eax
jne 0x4d4c3c
push 0x30
mov ecx, dword [0x7540c4]
push ecx
mov edx, dword [0x754144]
push edx
push eax
call fcn.0046f2a0
push edi
call fcn.00618177
add esp, 0x14
jmp 0x4d4f4a
cmp byte [ebp - 0x11], 0
jne 0x4d4bd2
push 0x30
mov eax, dword [0x7540c4]
push eax
mov ecx, dword [0x754144]
push ecx
push 0
call fcn.0046f2a0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00618177
add esp, 0x14
jmp 0x4d4f4a
mov byte [ebp - 0x11], 0
mov edx, 3
mov eax, edx
mov ecx, 0x679990
lea edi, [ebp + 0x24]
nop
cmp eax, 4
jb 0x4d4c66
mov ebx, dword [edi]
cmp ebx, dword [ecx]
jne 0x4d4caa
sub eax, 4
add ecx, 4
add edi, 4
jmp 0x4d4c50
test eax, eax
je 0x4d4c8a
mov bl, byte [ecx]
cmp bl, byte [edi]
jne 0x4d4caa
cmp eax, 1
jbe 0x4d4c8a
mov bl, byte [ecx + 1]
cmp bl, byte [edi + 1]
jne 0x4d4caa
cmp eax, 2
jbe 0x4d4c8a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4d4caa
lea ecx, [ebp - 0x20]
push ecx
push 0x66e5fc
lea edx, [ebp + edx + 0x24]
push edx
call fcn.006171be
add esp, 0xc
cmp eax, 1
jne 0x4d4caa
mov byte [ebp - 0x11], al
jmp 0x4d4cb4
cmp byte [ebp - 0x11], 0
je 0x4d4c15
mov eax, dword [ebp - 0x20]
cmp eax, 0x800
jge 0x4d4cc6
mov eax, 0x800
mov dword [ebp - 0x20], eax
push eax
call fcn.005e9aa7
add esp, 4
mov edi, eax
test edi, edi
jne 0x4d4d00
push 0x30
mov eax, dword [0x7540c4]
push eax
mov ecx, dword [0x754140]
push ecx
push edi
call fcn.0046f2a0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00618177
add esp, 0x14
jmp 0x4d4f4a
mov ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebp - 0x20]
push eax
push edi
call fcn.00619005
add esp, 0xc
test eax, eax
jne 0x4d4d3f
push 0x30
mov ecx, dword [0x7540c4]
push ecx
mov edx, dword [0x754144]
push edx
push eax
call fcn.0046f2a0
push edi
call fcn.005e9ab2
push ebx
call fcn.00618177
add esp, 0x18
jmp 0x4d4f4a
cmp dword [edi], 0x7465733c
jne 0x4d50ff
cmp byte [edi + 4], 0x74
jne 0x4d50ff
cmp byte [edi + 5], 0x69
jne 0x4d50ff
mov eax, dword [esi + 0x428]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d4d68
sub eax, edx
jne 0x4d4d9d
push 0x30
mov eax, dword [0x7540c4]
push eax
mov ecx, dword [0x754144]
push ecx
push 0
call fcn.0046f2a0
push ebx
call fcn.00618177
push edi
call fcn.005e9ab2
add esp, 0x18
jmp 0x4d4f4a
push edi
mov edx, dword [ebp - 0x20]
push edx
push ebx
mov ecx, esi
call fcn.004cd430
xor ebx, ebx
cmp dword [esi + 0x41c], ebx
je 0x4d4dbc
mov eax, dword [esi + 0x41c]
jmp 0x4d4dc2
lea eax, [esi + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d4dc5
sub eax, edx
sar eax, 1
jne 0x4d4de2
mov ecx, esi
call fcn.004cfdd0
jmp 0x4d5063
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x20], ebx
xor eax, eax
mov word [ebp + 0x1c], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x41c], ebx
je 0x4d4e02
mov eax, dword [esi + 0x41c]
jmp 0x4d4e08
lea eax, [esi + 0x420]
push ebx
push eax
push str._sgrprdb
lea ecx, [ebp + 0x18]
call fcn.004021b0
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x4d4e21
lea eax, [ebp + 0x1c]
push 1
push eax
lea ecx, [esi + 0x300]
call fcn.005dc4f0
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x4d4e39
lea eax, [ebp + 0x1c]
lea ecx, [esi + 8]
push 1
push eax
call fcn.005deed0
mov ebx, eax
test ebx, ebx
je 0x4d4f71
mov byte [esi + 0x4cd], 0
push 0
mov ecx, dword [esi + 0x410]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 0x755f
jne 0x4d4efa
cmp dword [esi + 0x41c], 0
je 0x4d4e81
mov eax, dword [esi + 0x41c]
jmp 0x4d4e87
lea eax, [esi + 0x420]
push 0
push 0
push 0
push 0
push 0
push 0
push 3
lea edx, [ebp + 0x124]
push edx
push eax
call fcn.00618767
add esp, 0x24
test eax, eax
je 0x4d4eb2
xor eax, eax
mov word [ebp + 0x124], ax
lea ecx, [ebp - 0x1c]
call fcn.00402500
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x124]
push ecx
mov edx, dword [0x7541d4]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f70
push 0x30
mov ecx, dword [0x7541cc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
call fcn.0046f2a0
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402570
jmp 0x4d4f13
push 0x30
mov eax, dword [0x7541cc]
push eax
mov ecx, dword [0x7541d8]
push ecx
push 0
call fcn.0046f2a0
add esp, 0x10
push 0
push 0x143a
push 0x111
mov edx, dword [esi + 0x410]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
call fcn.005e9ab2
mov eax, dword [ebp - 0x18]
push eax
call fcn.00618177
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x12c]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x130
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 8]
call fcn.005de460
test eax, eax
jne 0x4d4fd2
mov byte [esi + 0x4cd], al
push eax
mov ecx, dword [esi + 0x410]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x30
mov edx, dword [0x7541cc]
push edx
mov eax, dword [0x7541d8]
push eax
push 0
call fcn.0046f2a0
add esp, 0x10
push 0
push 0x143a
push 0x111
mov ecx, dword [esi + 0x410]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
call fcn.005e9ab2
mov edx, dword [ebp - 0x18]
push edx
jmp 0x4d4f36
mov eax, dword [ebp + 0x18]
xor ebx, ebx
cmp eax, ebx
jne 0x4d4fde
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.004c74a0
test eax, eax
jne 0x4d5001
mov byte [esi + 0x4cd], al
push ebx
mov eax, dword [esi + 0x410]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
jmp 0x4d4fac
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x4d501b
lea eax, [ebp + 0x1c]
push ebx
push 0x6821ac
push eax
push str._s__s.pdb
lea ecx, [ebp + 0xc]
call fcn.00402320
mov ecx, dword [esi + 0x414]
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x4d5042
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.004ee130
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.00401210
cmp byte [esi + 0x4ad], 0
je 0x4d5073
mov ecx, esi
call fcn.004d2b20
push 0
push 0x1404
push 0x111
mov edx, dword [esi + 0x410]
push edx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
cmp byte [esi + 0x479], 0
je 0x4d509e
mov ecx, esi
call fcn.004cc430
push edi
call fcn.005e9ab2
mov eax, dword [ebp - 0x18]
push eax
call fcn.00618177
add esp, 8
mov ecx, dword [esi + 0x4d4]
mov dword [esi + 0x4d0], ecx
push 0
push 0x1403
push 0x111
cmp byte [esi + 0x4ad], 0
je 0x4d50e6
mov edx, dword [esi + 0x410]
push edx
call ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x4d4f4a
mov eax, dword [esi + 0x410]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 4], 0xffffffff
jmp 0x4d4f4a
lea ecx, [esi + 0x4b4]
push ecx
push 0x682468
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea edx, [esi + 0x4b8]
push edx
push str.template
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x428]
push eax
push str.startingPage
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea ecx, [esi + 0x438]
push ecx
push str.useAuthorization
push edi
call fcn.004c6600
add esp, 0xc
test al, al
jne 0x4d4d00
lea edx, [esi + 0x43c]
push edx
push str.login
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x440]
push eax
push 0x682424
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea ecx, [esi + 0x444]
push ecx
push str.useManualLogin
push edi
call fcn.004c6600
add esp, 0xc
test al, al
jne 0x4d4d00
lea edx, [esi + 0x470]
push edx
push str.denyLogout
push edi
call fcn.004c6600
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x448]
push eax
push str.manualLoginUrl
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea ebx, [esi + 0x474]
push ebx
push str.logoutUrl
push edi
call fcn.004cb8a0
add esp, 0xc
test al, al
je 0x4d523a
mov ebx, dword [ebx]
push 0x2a
push ebx
call fcn.00616db0
add esp, 8
test eax, eax
setne cl
mov byte [esi + 0x478], cl
jmp 0x4d4d00
lea edx, [esi + 0x479]
push edx
push str.isSPC
push edi
call fcn.004c6600
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x41c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push str.tmpFolder
push edi
call fcn.004cb970
add esp, 0x10
test al, al
jne 0x4d4d00
lea edx, [esi + 0x4b0]
push edx
push str.projID
push edi
call fcn.004c66a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x4e8]
push eax
push 0x6823d8
push edi
call fcn.004c66a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea ecx, [esi + 0x4d4]
push ecx
push 0x6823d4
push edi
call fcn.004c66a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea edx, [esi + 0x4ec]
push edx
push 0x6823d0
push edi
call fcn.004c66a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea eax, [esi + 0x4d8]
push eax
push 0x6823cc
push edi
call fcn.004c66a0
add esp, 0xc
test al, al
jne 0x4d4d00
lea ecx, [esi + 0x4dc]
push ecx
push 0x6823c8
push edi
call fcn.004c66a0
add esp, 0xc
jmp 0x4d4d00