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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 8]
push eax
call fcn.00404282
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4939b2
mov ecx, str.Transaction_should_have_a_dialog_instance_
test ecx, ecx
je 0x4939ab
push 0x5d8
push 0x73b5e0
push str.__Transaction_should_have_a_dialog_instance__
call fcn.0040606e
add esp, 0xc
xor eax, eax
jmp 0x493e30
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 2
je 0x4939da
cmp dword [ebp - 0x20], 3
je 0x4939c9
jmp 0x4939eb
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x10a4]
mov dword [ebp - 0x18], ecx
jmp 0x493a0f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xd4]
mov dword [ebp - 0x18], ecx
jmp 0x493a0f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x38], 0
jne 0x493a08
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x104]
mov edx, dword [ecx + 0xd4]
mov dword [ebp - 0x18], edx
jmp 0x493a0f
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x493a1c
xor eax, eax
jmp 0x493e30
push 0
push 0x6a4efc
push 0x6a4ef4
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040311b
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x493a44
xor eax, eax
jmp 0x493e30
mov ecx, dword [0x739b90]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 + 0x22c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x493a90
push 0xc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
push edx
call fcn.0040199c
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00495ab0
add esp, 4
mov ecx, dword [0x739b90]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x22c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
je 0x493ba2
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x80]
add ecx, 0x20
push ecx
call fcn.00405b41
add esp, 8
test eax, eax
jne 0x493b94
mov edx, dword [ebp - 0x14]
add edx, 0x28
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x80]
add edx, 0x28
push edx
call fcn.00405a60
add esp, 8
test eax, eax
jne 0x493b25
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x493b21
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.0040784c
add esp, 4
cmp eax, 5
jne 0x493b21
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
jmp 0x493a99
jmp 0x493ba2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
cmp dword [edx + 0x50], 0
jne 0x493b94
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x493b94
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x80]
cmp dword [edx + 0x2c], 0
jne 0x493b94
push 0x6a4ee8
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
call fcn.00406519
add esp, 8
test eax, eax
jne 0x493b94
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x80]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00403cce
add esp, 0xc
jmp 0x493ba2
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
jmp 0x493a99
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
je 0x493bdc
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x493cc0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 1
jne 0x493cc0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call fcn.0040784c
add esp, 4
cmp eax, 5
jne 0x493cc0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x493bed
mov dword [ebp - 0x24], str.Subscription_Does_Not_Exist
jmp 0x493bf4
mov dword [ebp - 0x24], str.Subscription_already_terminated
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
call fcn.00406a8c
cmp eax, 4
jl 0x493c44
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push str._s_for__.s__event_.s_id_.s
push 0x73b730
call fcn.004034e5
add esp, 0x24
xor eax, eax
jne 0x493bfa
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 2
jne 0x493cb9
push 0x6a4ee8
mov edx, dword [ebp + 8]
add edx, 0x3c
push edx
call fcn.00406519
add esp, 8
test eax, eax
jne 0x493cb9
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00492ca0
add esp, 8
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x44]
push eax
push 0x1e1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004067e4
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x493cb9
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004075c2
add esp, 0xc
mov dword [ebp - 0x2c], eax
xor eax, eax
jmp 0x493e30
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
mov eax, dword [0x739b90]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x12c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc4]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0xc4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x38], 0
jne 0x493e2d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 1
jne 0x493e2d
mov edx, dword [ebp - 8]
add edx, 0x74
push edx
mov eax, dword [ebp + 8]
add eax, 0x3c
push eax
call fcn.00406519
add esp, 8
test eax, eax
je 0x493d40
push 0x6a4edc
mov ecx, dword [ebp + 8]
add ecx, 0x3c
push ecx
call fcn.00406519
add esp, 8
test eax, eax
jne 0x493e2d
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc8], 0
je 0x493e21
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc8]
cmp dword [ecx + 0x78], 4
jge 0x493e21
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00406a8c
cmp eax, 4
jl 0x493d8c
push str.Cancelling_pending_subscription_request
mov edx, dword [ebp - 8]
push edx
call fcn.004034e5
add esp, 8
xor eax, eax
jne 0x493d71
push 0x10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
push edx
call fcn.00492c80
add esp, 8
mov dword [ebp - 0x1c], eax
push 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0040199c
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc8]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x28]
push eax
call fcn.00403cce
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], 0x493920
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xcc], eax
push 0x69f
push 0x73b760
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00401af0
add esp, 0x14
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0xc8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret