Function at 0x4f2190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60d284
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x38], edi
jne 0x4f2271
mov eax, dword [edi + 0x134]
cmp eax, esi
je 0x4f2250
mov ebx, 1
cmp eax, ebx
je 0x4f2250
cmp eax, 4
jne 0x4f21fa
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2ff3
cmp eax, 5
jne 0x4f2244
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete al
add al, 1
mov dword [0x678ec0], ebx
mov byte [esi + 0xcc0], al
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f2237
push ebx
push esi
call fcn.00406360
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2ff3
mov esi, edi
call fcn.004f4df0
jmp 0x4f2ff3
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 0x13c]
mov eax, dword [edi + 0x138]
push esi
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f2ff3
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xbc], esi
mov ecx, dword [eax]
push 0x635d30
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x4f2346
mov eax, dword [edi + 0x134]
cmp eax, esi
je 0x4f2306
mov ebx, 1
cmp eax, ebx
je 0x4f2306
cmp eax, 4
jne 0x4f22b6
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2322
cmp eax, 5
jne 0x4f22fd
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete cl
add cl, bl
mov dword [0x678ec0], ebx
mov byte [esi + 0xcc0], cl
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f22f3
push ebx
push esi
call fcn.00406360
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2322
mov esi, edi
call fcn.004f4df0
jmp 0x4f2322
mov edx, dword [edi + 0x140]
mov eax, dword [edi + 0x13c]
mov ecx, dword [edi + 0x138]
push esi
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f2ff3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4f2ff3
mov ebx, dword [esp + 0x10]
cmp ebx, esi
jne 0x4f23b9
mov eax, dword [edi + 0x134]
cmp eax, esi
je 0x4f2306
mov ebx, 1
cmp eax, ebx
je 0x4f2306
cmp eax, 4
jne 0x4f236f
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2322
cmp eax, 5
jne 0x4f22fd
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete cl
add cl, bl
mov dword [0x678ec0], ebx
mov byte [esi + 0xcc0], cl
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f23ac
push ebx
push esi
call fcn.00406360
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2322
push str.nSSOLUI_EventSink_nEVENTCode
mov dword [esp + 0x60], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [esp + 0x60], esi
jne 0x4f23dc
push 0x8007000e
call fcn.00403650
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xbc], 1
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
push esi
push ebx
call eax
test eax, eax
mov byte [esp + 0xb8], 0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
setne byte [esp + 0x1f]
call ebx
cmp byte [esp + 0x1b], 0
je 0x4f24cf
mov eax, dword [edi + 0x134]
test eax, eax
je 0x4f248e
cmp eax, 1
je 0x4f248e
cmp eax, 4
jne 0x4f2433
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f24ab
cmp eax, 5
jne 0x4f2480
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete cl
add cl, 1
mov dword [0x678ec0], 1
mov byte [esi + 0xcc0], cl
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f2476
push 1
push esi
call fcn.00406360
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f24ab
mov ebx, 1
mov esi, edi
call fcn.004f4df0
jmp 0x4f24ab
mov edx, dword [edi + 0x140]
mov eax, dword [edi + 0x13c]
mov ecx, dword [edi + 0x138]
push 0
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f2ff3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4f2ff3
mov eax, dword [esp + 0x5c]
add eax, 3
cmp eax, 9
ja case.0x4f24df.0
jmp dword [eax*4 + 0x4f3010]
xor eax, eax
mov dword [esp + 0x34], eax
mov byte [esp + 0xb8], 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x1b], al
mov eax, 0x6244e0
lea esi, [esp + 0x30]
call fcn.004faf80
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x10]
mov eax, str.strSSO_In_Params_strInAccountValue
lea esi, [esp + 0x84]
mov dword [esp + 0x14], ecx
call fcn.004faf80
mov byte [esp + 0xb8], 4
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x34]
push esi
push eax
mov eax, dword [edx + 0x38]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x84]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, 0x620be0
lea esi, [esp + 0xa8]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 5
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x2c]
push esi
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0xa8]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, str.cSSO_Account_cAccountType
lea esi, [esp + 0x64]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 6
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x1b]
push esi
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x64]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, 0x620d40
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 7
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x58]
push esi
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x6c]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, str.wSSO_Account_wFaceIndex
lea esi, [esp + 0x8c]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x4c]
push esi
push eax
mov eax, dword [edx + 0x28]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x8c]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, str.strSSO_Account_strNickName
lea esi, [esp + 0x74]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 9
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x30]
push esi
push eax
mov eax, dword [edx + 0x38]
push ecx
call eax
mov byte [esp + 0xb8], 3
mov ecx, dword [esp + 0x74]
push ecx
call ebx
mov eax, dword [edi + 0x134]
cmp eax, 2
je 0x4f26bd
test eax, eax
jne 0x4f2707
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
test eax, eax
push edx
push ecx
mov dword [esp + 0x24], esp
mov esi, esp
je 0x4f26e4
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi], eax
cmp dword [esp + 0x3c], 0
je 0x4f26fb
test eax, eax
jne 0x4f26fb
push 0x8007000e
call fcn.00403650
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004f4e80
mov dword [esp + 0x28], 0
mov byte [esp + 0xb8], 0xa
mov edx, dword [esp + 0x10]
mov eax, str.SSO_Account_ServiceInfo
lea esi, [esp + 0x9c]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0xb
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x28]
push esi
push eax
mov eax, dword [edx + 0xbc]
push ecx
call eax
mov ecx, dword [esp + 0x9c]
push ecx
call ebx
mov dword [esp + 0x50], 0
mov byte [esp + 0xb8], 0xc
mov edx, dword [esp + 0x28]
mov eax, str.bufServiceTicket
lea esi, [esp + 0x7c]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0xd
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x50]
push esi
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov ecx, dword [esp + 0x7c]
push ecx
call ebx
mov dword [esp + 0x44], 0
mov byte [esp + 0xb8], 0xe
mov edx, dword [esp + 0x28]
mov eax, str.buf16bytesGTKey_ST
lea esi, [esp + 0x94]
mov dword [esp + 0x14], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0xf
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea esi, [esp + 0x44]
push esi
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov byte [esp + 0xb8], 0xe
mov ecx, dword [esp + 0x94]
push ecx
call ebx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f2939
cmp dword [esp + 0x44], 0
je 0x4f2939
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [edi + 0x134]
cmp eax, 2
jne 0x4f2a4a
xor esi, esi
push esi
call fcn.005d2e37
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
push edx
push ecx
push eax
lea eax, [edi + 0x10c]
call fcn.0041cfc0
movzx edx, word [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.004ed680
mov eax, dword [esp + 0x54]
add esp, 0x1c
add eax, 0x110
call fcn.0041cfc0
test eax, eax
jne 0x4f29e8
call fcn.004062c0
mov edi, dword [0x678ec4]
mov ecx, dword [esp + 0x2c]
mov dword [0x678ec0], 1
mov dword [edi + 0x938], ecx
mov dword [edi + 0x8c0], esi
mov dword [edi + 0x948], esi
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f28fc
push 1
push edi
call fcn.00406360
push str.LastLoginDictUser
lea edx, [esp + 0x20]
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479b30
add esp, 4
cmp eax, esi
je 0x4f2935
call fcn.004ecbf0
cmp dword [esp + 0x1c], eax
jne 0x4f2935
push 0
mov edx, str.LastLoginDictUser
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
add esp, 4
mov edi, dword [esp + 0x38]
mov dword [esp + 0x54], 0
mov byte [esp + 0xb8], 0x10
mov eax, dword [edi + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x54]
push ecx
push eax
call edx
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f29bb
mov dword [esp + 0x1c], eax
mov eax, str.strSSO_In_Params_strInAccountValue
lea esi, [esp + 0xa4]
call fcn.004faf80
mov byte [esp + 0xb8], 0x11
mov esi, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x90]
push ecx
call eax
mov byte [esp + 0xb8], 0x10
mov ecx, dword [esp + 0xa4]
push ecx
call ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push 0
push ecx
push 2
push eax
call edx
mov eax, dword [edi + 0x134]
test eax, eax
je 0x4f2b6f
cmp eax, 1
je 0x4f2b6f
cmp eax, 4
jne 0x4f2b52
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2b8c
call fcn.004ecbf0
push eax
mov edx, str.LastLoginDictUser
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.00479d80
add esp, 4
call fcn.004062c0
mov edi, dword [0x678ec4]
mov edx, dword [esp + 0x2c]
mov eax, 1
mov dword [0x678ec0], eax
mov dword [edi + 0x938], edx
mov dword [edi + 0x8c0], eax
mov dword [edi + 0x948], esi
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f2935
push 1
push edi
call fcn.00406360
jmp 0x4f2935
cmp eax, 3
jne 0x4f2ab4
xor esi, esi
push esi
call fcn.005d2e37
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
add esp, 4
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
push edx
movzx edx, word [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
call fcn.004ed680
add esp, 0x1c
call fcn.004062c0
mov edi, dword [0x678ec4]
mov ecx, dword [esp + 0x2c]
mov dword [0x678ec0], 1
mov dword [edi + 0x938], ecx
mov dword [edi + 0x8c0], esi
jmp 0x4f2a25
cmp eax, 4
push 0
jne 0x4f2ae9
call fcn.005d2e37
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.004ed4e0
add esp, 0x14
jmp 0x4f2939
cmp eax, 5
jne 0x4f2abb
call fcn.005d2e37
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.004ed4e0
add esp, 0x14
call fcn.004062c0
mov esi, dword [0x678ec4]
mov dword [0x678ec0], 1
mov byte [esi + 0xcc0], 0
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f2939
push 1
push esi
call fcn.00406360
jmp 0x4f2939
cmp eax, 5
jne 0x4f2b61
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4f2b8c
mov eax, dword [edi + 8]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4f2b8c
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 0x13c]
mov eax, dword [edi + 0x138]
push 0
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esp + 0xb8], 0xe
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f2ba4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f2bbc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 0xa
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f2bd4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb8], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4f2bec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x30]
push eax
call ebx
mov ecx, dword [esp + 0x34]
jmp 0x4f2fa0
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
mov eax, 0x620be0
lea esi, [esp + 0x68]
call fcn.004faf80
mov byte [esp + 0xb8], 0x12
mov eax, dword [eax]
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
call edx
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x68]
push eax
call ebx
mov edi, dword [esp + 0x10]
mov eax, 0x620d40
lea esi, [esp + 0x70]
call fcn.004faf80
mov byte [esp + 0xb8], 0x13
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [ecx + 0x30]
push edi
call eax
mov ecx, dword [esp + 0x70]
jmp 0x4f2fa0
mov eax, dword [edi + 0x134]
test eax, eax
je 0x4f2cf4
cmp eax, 1
je 0x4f2cf4
cmp eax, 4
jne 0x4f2c93
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x4f24df.1
cmp eax, 5
jne 0x4f2ce3
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete dl
add dl, 1
mov byte [esi + 0xcc0], dl
mov dword [0x678ec0], 1
call fcn.004062c0
call fcn.00409bf0
test eax, eax
jne 0x4f2cd6
push 1
push esi
call fcn.00406360
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x4f24df.1
mov ebx, 1
mov esi, edi
call fcn.004f4df0
jmp case.0x4f24df.1
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x13c]
mov edx, dword [edi + 0x138]
push 0
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4f24df.1
mov eax, dword [edi + 0x134]
test eax, eax
je 0x4f2d51
cmp eax, 1
je 0x4f2d51
cmp eax, 4
je 0x4f2cd6
cmp eax, 5
jne 0x4f2ce3
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete al
add al, 1
mov byte [esi + 0xcc0], al
jmp 0x4f2cb6
mov ecx, dword [edi + 0x140]
mov edx, dword [edi + 0x13c]
mov eax, dword [edi + 0x138]
push 0
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4f24df.1
mov eax, dword [edi + 0x134]
test eax, eax
je 0x4f2db7
cmp eax, 1
je 0x4f2db7
cmp eax, 4
je 0x4f2cd6
cmp eax, 5
jne 0x4f2ce3
call fcn.004062c0
cmp dword [edi + 0x140], 0
mov esi, dword [0x678ec4]
sete cl
add cl, 1
mov byte [esi + 0xcc0], cl
jmp 0x4f2cb6
mov edx, dword [edi + 0x140]
mov eax, dword [edi + 0x13c]
mov ecx, dword [edi + 0x138]
push 0
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4f24df.1
mov edx, dword [esp + 0x10]
mov eax, str.nSSOLUI_Event_UIPopup_nEventCode
lea esi, [esp + 0x78]
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0x14
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea esi, [esp + 0x30]
push esi
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
mov byte [esp + 0xb8], 0
mov ecx, dword [esp + 0x78]
push ecx
call ebx
mov eax, dword [esp + 0x30]
sub eax, 1
je 0x4f2f42
sub eax, 1
je 0x4f2f0f
sub eax, 2
jne case.0x4f24df.1
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, str.nSSO_Result_nErrorType
lea esi, [esp + 0x80]
mov dword [esp + 0x1c], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0x18
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea esi, [esp + 0x28]
push esi
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
mov byte [esp + 0xb8], 0
mov ecx, dword [esp + 0x80]
push ecx
call ebx
cmp dword [esp + 0x28], 3
mov eax, str.bSSOLUI_Event_UIPopup_Return_bDontPopup
jne 0x4f2ede
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x88]
mov dword [esp + 0x1c], edx
call fcn.004faf80
mov byte [esp + 0xb8], 0x19
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [esp + 0x88]
push ecx
call ebx
mov dword [edi + 0x140], 1
jmp case.0x4f24df.1
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x90]
call fcn.004faf80
mov byte [esp + 0xb8], 0x1a
mov eax, dword [eax]
mov edx, dword [edi]
push 1
push eax
mov eax, dword [edx + 0x74]
push edi
call eax
mov ecx, dword [esp + 0x90]
jmp 0x4f2fa0
mov edi, dword [esp + 0x10]
mov eax, str.bSSOLUI_Event_UIPopup_Return_bDontPopup
lea esi, [esp + 0x98]
call fcn.004faf80
mov byte [esp + 0xb8], 0x17
mov eax, dword [eax]
mov edx, dword [edi]
push 1
push eax
mov eax, dword [edx + 0x74]
push edi
call eax
mov ecx, dword [esp + 0x98]
jmp 0x4f2fa0
cmp dword [edi + 0x144], 0
mov edi, dword [esp + 0x10]
mov eax, str.bSSOLUI_Event_UIPopup_Return_bDontPopup
je 0x4f2f7e
lea esi, [esp + 0xa0]
call fcn.004faf80
mov byte [esp + 0xb8], 0x15
mov eax, dword [eax]
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 0x74]
push edi
call eax
mov ecx, dword [esp + 0xa0]
jmp 0x4f2fa0
lea esi, [esp + 0x60]
call fcn.004faf80
mov byte [esp + 0xb8], 0x16
mov eax, dword [eax]
mov edx, dword [edi]
push 1
push eax
mov eax, dword [edx + 0x74]
push edi
call eax
mov ecx, dword [esp + 0x60]
push ecx
call ebx
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f2fbe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f2ff3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8