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

Disassembly:
push 0xffffffffffffffff
push 0x13067f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x8000
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], esi
call fcn.12e6efd0
add esp, 4
test eax, eax
je 0x12ee1684
push ebx
push ebp
mov ecx, edi
call fcn.12ee0c00
push 1
push edi
lea ecx, [esp + 0x34]
call fcn.12f56170
mov dword [esp + 0x50], esi
mov esi, dword [edi + 0x24]
test esi, esi
je 0x12ee166d
mov ebx, dword [edi + 0x28]
cmp ebx, 0x8c
mov dword [esp + 0x1c], ebx
jb 0x12ee166d
mov ebp, dword [esp + 0x5c]
mov ecx, esi
call fcn.12ee09f0
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x80]
shr edx, 1
lea eax, [eax + ecx*4 + 4]
mov ecx, dword [esi + 0x7c]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x68]
lea edx, [edx + ecx*4]
mov ecx, dword [esi + 0x6c]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x74]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x78]
shr ecx, 1
add edx, ecx
shl edx, 1
sub edx, esi
lea edx, [edx + eax + 0xb]
cmp ebx, edx
jb 0x12ee166d
xor edi, edi
mov ecx, 0x131c7c28
mov dword [esp + 0x18], edi
call fcn.12f202d0
test eax, eax
je 0x12ee143b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x12ee143b
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x28]
shr eax, 1
shr ecx, 1
add eax, ecx
mov ecx, dword [esi + 0x24]
shr edx, 1
add eax, edx
shr ecx, 1
add eax, ecx
mov ecx, 0x131c7c28
lea edx, [esi + eax*2 + 0x94]
push edx
call fcn.12f202e0
mov edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [0x13199068]
test eax, eax
je 0x12ee1468
mov ecx, 0x131c7c28
call fcn.12f202d0
push eax
mov eax, dword [esi + 0x40]
push eax
push edi
push str.CTSCIOutSendPolicy::HaveUploadPolicy__bWechatUp:_d___dwIMTool:_d___bStart:_d_
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, dword [esi + 0x64]
test eax, eax
ja 0x12ee1477
test edi, edi
je 0x12ee15a9
mov eax, dword [esp + 0x60]
test eax, eax
je 0x12ee159f
mov edi, dword [esp + 0x58]
test edi, edi
jne 0x12ee1493
test ebp, ebp
je 0x12ee159f
lea ecx, [esp + 0x38]
call fcn.12f4cc70
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 1
call fcn.12f4d190
mov edx, dword [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x40]
call fcn.12f4d190
mov ecx, esi
call fcn.12ee16d0
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x38]
shr ecx, 1
shr edi, 1
lea edx, [eax + ecx*2 + 2]
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.12ee16e0
mov ebp, dword [esi + 0x3c]
mov ebx, dword [esi + 0x58]
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
shr ebp, 1
mov dword [esp + 0x14], ebp
mov ebp, dword [esi + 0x68]
push ebp
mov ebp, dword [esi + 0x50]
lea eax, [eax + edi*2 + 2]
add ebp, ebx
shr edx, 1
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x54]
shr ecx, 1
lea ebp, [edx + ebp*2]
shr eax, 1
add ebp, ecx
add ebp, eax
add ebp, edi
mov edi, dword [esp + 0x18]
add ebp, edi
mov edi, dword [esp + 0x24]
lea edi, [edi + ebp*2 + 0x12]
mov ebp, dword [esi + 0x50]
push edi
mov edi, dword [esi + 0x68]
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x1c]
add edi, ebx
lea edx, [edx + edi*2]
add edx, ecx
add edx, eax
mov eax, dword [esp + 0x2c]
add edx, ebp
lea ecx, [eax + edx*2 + 0x11]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.12ee11c0
test eax, eax
jne 0x12ee155f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x12ee1587
lea eax, [esp + 0x38]
push esi
push eax
call fcn.12ee1a40
add esp, 8
test eax, eax
je 0x12ee1587
mov ecx, dword [esp + 0x58]
push esi
push ecx
call fcn.12ee1be0
add esp, 8
test eax, eax
jne 0x12ee1645
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 0
call fcn.12f4cc80
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x1c]
jmp 0x12ee15a9
test byte [esi + 0x14], 3
jne 0x12ee1665
mov ecx, esi
call fcn.12ee09f0
mov edx, dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
shr ecx, 1
lea eax, [eax + edx*4 + 4]
mov edx, dword [esi + 0x7c]
shr edx, 1
add ecx, edx
mov edx, dword [esi + 0x6c]
shr edx, 1
add ecx, edx
mov edx, dword [esi + 0x74]
shr edx, 1
add ecx, edx
mov edx, dword [esi + 0x78]
shr edx, 1
add ecx, edx
mov edx, dword [esi + 0x68]
neg edx
shl ecx, 1
shl edx, 3
sub edx, ecx
mov ecx, esi
sub edx, eax
add edx, esi
lea ebx, [ebx + edx - 0xb]
mov dword [esp + 0x1c], ebx
call fcn.12ee09b0
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x68]
shr ecx, 1
lea eax, [eax + ecx*2 + 2]
mov ecx, dword [esi + 0x58]
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0x80]
shr ecx, 1
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0x7c]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x6c]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x74]
shr ecx, 1
add edx, ecx
mov ecx, dword [esi + 0x78]
shr ecx, 1
add edx, ecx
cmp ebx, 0x8c
lea esi, [eax + edx*2 + 0xf]
jae 0x12ee13a6
jmp 0x12ee166d
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x38]
and dl, 3
mov byte [esp + 0x50], 0
neg dl
sbb edx, edx
neg edx
mov dword [esp + 0x10], edx
call fcn.12f4cc80
jmp 0x12ee166d
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.12f561d0
mov esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, dword [0x13199068]
test eax, eax
je 0x12ee16b0
push 0x8000
call fcn.12e6efd0
add esp, 4
push eax
push esi
push str.CTSCIOutSendPolicy::HaveUploadPolicy__bRet:_d____d_
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc