Function at 0x100257e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
lea ebx, [ebp + 8]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esi + 0x38], eax
mov eax, dword [ebx]
mov dword [esi + 0x18], eax
lea edi, [ebp + 0x10]
push 0xa8
call fcn.100c1c01
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0x14], esp
sub esp, 0x20
mov edx, esp
mov eax, dword [edi + 0x18]
mov dword [edx + 0x1c], eax
test eax, eax
je 0x10025829
lock inc dword [eax + 4]
mov edi, dword [ebx + 0x1c]
lea ecx, [edx + 4]
mov dword [esi + 4], edx
mov dword [esi + 0x10], ecx
lea eax, [ebp + 0x10]
push eax
call fcn.10012fd0
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov dword [ecx + 0x18], edi
mov ebx, dword [esi + 8]
mov ecx, ebx
push 0
push edi
push eax
call fcn.10012960
mov dword [ebx + 0x20], 0x10133b10
lea eax, [ebx + 0x24]
mov dword [esi], eax
lea edi, [esi + 0x28]
push 0x5a
push str.....mojocorechannel_win.cc
push str.ChannelWin
push edi
call fcn.1007bff0
add esp, 0x10
mov ecx, dword [esi]
push edi
call fcn.100385c0
mov ecx, dword [esi + 4]
mov dword [ebx], 0x10133ae0
mov dword [ebx + 0x20], 0x10133b00
mov dword [ebx + 0x24], 0x10133b08
mov al, byte [ecx + 5]
mov byte [ebx + 0x38], al
mov dword [ebx + 0x3c], ebx
test ebx, ebx
je 0x100258ae
lock inc dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov byte [ebx + 0x44], 0
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x48], eax
test eax, eax
je 0x100258c7
lock inc dword [eax + 4]
lea ecx, [ebx + 0x4c]
call fcn.100385a0
lea ecx, [ebx + 0x60]
call fcn.100385a0
mov word [ebx + 0x74], 0
lea ecx, [ebx + 0x78]
call fcn.1006ae90
lea ecx, [ebx + 0x7c]
call fcn.100385a0
xorps xmm0, xmm0
movups xmmword [ebx + 0x90], xmm0
mov edi, dword [0x1014b81c]
xor ebx, ebx
test edi, edi
jne 0x10025a87
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x1014e7e8]
bt ecx, eax
jb 0x10025ab3
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x101567e8], 1
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
lea edx, [eax + 0x40]
mov dword [esi], edx
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], 1
mov eax, dword [ecx + 0x14]
inc eax
cmp eax, 2
jae 0x10025ac1
mov eax, ecx
add eax, 8
lea ebx, [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.10041df0
lea edi, [esi + 0x28]
mov ecx, edi
push ebx
call fcn.10094e10
xor ebx, ebx
mov dword [edi], ebx
mov eax, dword [edi + 4]
mov dword [edi + 4], ebx
test eax, eax
je 0x100259a2
cmp eax, 0xffffffff
je 0x10025b5a
mov ebx, eax
call fcn.1007c020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1007c020
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebx + 1]
cmp edi, 2
jb 0x100259af
call fcn.1007c020
mov eax, dword [esi]
cmp dword [eax], ebx
je 0x100259e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esi]
mov eax, dword [eax]
inc eax
cmp eax, 2
jae 0x10025a63
cmp edi, 2
jb 0x100259dd
mov eax, dword [esi]
mov dword [eax], ebx
mov edi, ecx
call fcn.1007c020
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 0x28]
call fcn.10094f10
lea ecx, [esi + 0x1c]
call fcn.10041e20
mov eax, dword [esi]
mov eax, dword [eax]
inc eax
cmp eax, 1
lea edi, [ebp + 8]
mov ebx, dword [esi + 8]
jbe 0x10025b69
mov ecx, dword [esi + 0x10]
call fcn.10013010
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x10025a24
lock dec dword [eax + 4]
je 0x10025b6c
test ebx, ebx
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [eax], ebx
je 0x10025a34
lock inc dword [ebx + 4]
lea ecx, [ebp + 0x10]
call fcn.10013010
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10025a4d
lock dec dword [eax + 4]
je 0x10025b7a
mov edi, dword [edi]
mov ecx, dword [esi + 0x38]
xor ecx, ebp
call fcn.100c2603
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xc], ecx
call fcn.1007c020
mov eax, dword [esi]
push dword [eax]
call fcn.10084410
mov ecx, dword [esi + 0xc]
add esp, 4
mov eax, dword [esi]
mov dword [eax], 0
jmp 0x100259cb
mov eax, dword [0x1014abec]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10025b88
mov ebx, dword [0x1014abe8]
jmp 0x10025907
push ebx
call fcn.1007e220
add esp, 4
jmp 0x1002592d
mov eax, ecx
add eax, 0x10
lea ebx, [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.10041df0
lea edi, [esi + 0x28]
mov ecx, edi
push ebx
call fcn.10094e10
xor eax, eax
mov dword [edi], eax
mov dword [esi + 0x24], eax
mov ebx, dword [edi + 4]
mov dword [edi + 4], eax
lea eax, [ebx + 1]
cmp eax, 2
jb 0x10025af6
call fcn.1007c020
lea edi, [esi + 0x24]
mov ecx, edi
push ebx
call fcn.1006aa00
mov ebx, dword [edi]
mov dword [edi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x10025b16
call fcn.1007c020
mov ecx, dword [esi]
push ebx
call fcn.1006aa00
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jb 0x10025b3e
call fcn.1007c020
push dword [esi + 0x24]
call fcn.10084410
add esp, 4
mov dword [esi + 0x24], 0
lea ecx, [esi + 0x28]
call fcn.10094f10
lea ecx, [esi + 0x1c]
call fcn.10041e20
mov eax, dword [esi + 8]
mov byte [eax + 0x44], 1
jmp 0x100259f4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1002599b
int3
push eax
call fcn.10080a70
add esp, 4
jmp 0x10025a24
push eax
call fcn.10080a70
add esp, 4
jmp 0x10025a4d
push 0x1014abec
call fcn.100c1ca7
add esp, 4
cmp dword [0x1014abec], 0xffffffff
jne 0x10025aa8
add edi, 0x78
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov eax, 8
mov ecx, edi
push eax
lea edx, [esi + 0x28]
push edx
push eax
push 0x23
push str.channel_win_total_outgoing_messages
call fcn.101086b0
mov dword [0x1014abe8], eax
push 0x1014abec
call fcn.100c1d1d
add esp, 4
jmp 0x10025aa8