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

Disassembly:
push 0xffffffffffffffff
push 0x101a8dce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd0]
mov dword [esp + 0xcc], ebx
mov esi, dword [esp + 0x120]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
cmp dword [edi + 8], ebx
jne 0x10040b9b
cmp esi, ebx
je 0x1004101a
cmp esi, ebx
mov dword [esp + 0x10], ebx
je 0x10040d12
mov eax, 3
lea edx, [esp + 0x3c]
push eax
push ebx
push 4
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0xb8], eax
push eax
lea eax, [esp + 0x44]
lea edx, [esp + 0x24]
mov ecx, 1
push eax
push edx
lea eax, [esp + 0xe8]
push ecx
or ebp, 0xffffffff
push eax
push esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 2
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.1001c680
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, ebx
je 0x10040cfd
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xd4]
push ecx
push edx
push esi
push str.GetIACCMainPoint6X_11__hwnd:__08x____x____d_
push str.dingtalk
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x1c
cmp dword [esp + 0x10], ebx
je 0x1004101a
cmp dword [edi + 8], ebx
je 0x1004101a
jmp 0x10040d84
push 2
push ebx
push 2
push 0x101f8388
push 2
lea eax, [esp + 0x24]
push 0x101f8380
push eax
lea ecx, [esp + 0xe8]
push 1
push ecx
push edi
call fcn.1001c7e0
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, ebx
je 0x10040d6a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
push edx
push eax
push str.GetChatModeAndOppName6X_12___08x____d_
push str.DINGTALK
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp dword [esp + 0x10], ebx
je 0x1004101a
cmp dword [esp + 0xd4], ebx
je 0x1004101a
or ebp, 0xffffffff
push 0xad74
call fcn.101970fe
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov dword [esp + 0x114], ebx
je 0x10040dc4
push 0x10019c40
push 0x1002e930
lea esi, [eax + 4]
push 0x1e
push 0x5c8
push esi
mov dword [eax], 0x1e
call fcn.100ea557
mov edi, esi
jmp 0x10040dc6
xor edi, edi
push ebp
push ebx
push ebp
push 2
lea ecx, [esp + 0x2c]
push 0x101f83d0
push ecx
push 0x1e
lea edx, [esp + 0x3c]
mov ecx, dword [esp + 0xf8]
push edi
push edx
push 4
mov edx, dword [esp + 0x108]
sub esp, 0x10
mov dword [esp + 0x14c], ebp
mov eax, esp
mov dword [esp + 0x58], ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x120]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10c]
push eax
call fcn.10019fe0
mov eax, dword [0x102acd68]
add esp, 0x3c
cmp eax, ebx
je 0x10040e4d
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push str.GetChatModeAndOppName6X_2___08x____d_
push str.DINGTALK
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10040ff6
cmp edi, ebx
je 0x1004101a
cmp eax, 1
mov byte [esp + 0x18], bl
mov byte [esp + 0x14], bl
mov dword [esp + 0x20], 1
jbe 0x10040fad
mov ebp, dword [esp + 0x12c]
lea esi, [edi + 0xb8c]
mov eax, dword [esi - 8]
mov ecx, dword [esi]
cmp eax, ecx
je 0x10040f8f
cmp eax, dword [edi + 0x5bc]
jl 0x10040f8f
cmp ecx, dword [edi + 0x5c4]
jg 0x10040f8f
mov eax, dword [esi - 0xc]
mov ecx, dword [edi + 0x5b8]
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jl 0x10040f8f
mov edx, dword [esi - 4]
mov eax, dword [edi + 0x5c0]
cmp edx, eax
jg 0x10040f8f
cmp byte [esp + 0x18], bl
jne 0x10040f4c
fild dword [esp + 0x2c]
fild dword [esp + 0x28]
fld qword [0x102335c8]
fmul qword [0x101bfb08]
fadd st(1)
fld st(2)
fcompp
fnstsw ax
test ah, 0x41
jne 0x10040f48
fld qword [0x102335c8]
fmul qword [0x101bf9b0]
fadd st(1)
fxch st(1)
fxch st(2)
fcompp
fnstsw ax
test ah, 1
fstp st(0)
je 0x10040f4c
mov edx, dword [esp + 0x128]
lea eax, [ebp - 1]
lea ecx, [esi - 0x5b0]
push eax
push ecx
push edx
mov byte [esp + 0x24], 1
call fcn.100e9aa5
mov eax, dword [esp + 0x134]
add esp, 0xc
mov word [eax + ebp*2 - 2], bx
jmp 0x10040f89
fstp st(0)
fstp st(0)
cmp byte [esp + 0x14], bl
jne 0x10040f83
mov ecx, dword [esp + 0x124]
lea edx, [esi - 0x5b0]
push ecx
push edx
call fcn.1003f4e0
add esp, 8
test eax, eax
je 0x10040f83
mov eax, dword [esp + 0x124]
xor ecx, ecx
mov byte [esp + 0x14], 1
cmp dword [eax], 1
sete cl
mov dword [eax], ecx
cmp byte [esp + 0x18], bl
je 0x10040f8f
cmp byte [esp + 0x14], bl
jne 0x10040faa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc eax
add esi, 0x5c8
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x10040e87
or ebp, 0xffffffff
cmp dword [0x102acd68], ebx
je 0x10040fe2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
and edx, 0xff
and eax, 0xff
push edx
push eax
push str.GetChatModeAndOppName6X_3___d____d_
push str.DINGTALK
push ebp
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp byte [esp + 0x18], bl
je 0x10040ff6
cmp byte [esp + 0x14], bl
je 0x10040ff6
mov dword [esp + 0x24], 1
cmp edi, ebx
je 0x1004101a
mov ecx, dword [edi - 4]
lea esi, [edi - 4]
push 0x10019c40
push ecx
push 0x5c8
push edi
call fcn.100ea463
push esi
call fcn.10197127
add esp, 4
lea esi, [esp + 0xcc]
mov edi, 2
push esi
call fcn.10018db0
add esp, 4
add esi, 0x20
dec edi
jne 0x10041026
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret