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

Disassembly:
push 0xffffffffffffffff
push 0x101a8eee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0xad74
xor esi, esi
mov dword [esp + 0x34], ebp
call fcn.101970fe
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov dword [esp + 0x370], esi
je 0x10041889
push 0x10019c40
push 0x1002e930
lea edi, [eax + 4]
push 0x1e
push 0x5c8
push edi
mov dword [eax], 0x1e
call fcn.100ea557
mov dword [esp + 0x10], edi
jmp 0x1004188f
mov dword [esp + 0x10], esi
mov edi, esi
or ebx, 0xffffffff
cmp edi, esi
mov dword [esp + 0x370], ebx
je 0x10041e51
mov ecx, 0x2b5c
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x378]
push eax
call fcn.10016880
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x10041e27
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x162]
mov word [esp + 0x160], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x160]
push 0x103
push ecx
push ebp
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x124]
lea edx, [esp + 0x160]
mov dword [esp + 0x120], esi
push str.DingAloneChatWnd
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x28], esi
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10041a06
mov edi, 2
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x94], eax
push edi
push esi
lea eax, [esp + 0x50]
push 3
push eax
lea ecx, [esp + 0x34]
push edi
lea edx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x13c]
push edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
push eax
jmp 0x10041b22
mov ecx, 3
mov eax, 1
push ecx
push esi
lea edx, [esp + 0x50]
push 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
push edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xc4], ecx
push ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
mov edi, 2
push eax
push ecx
lea edx, [esp + 0x13c]
push edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
push edx
push ebp
call fcn.1001c680
mov eax, dword [0x102acd68]
add esp, 0x28
cmp eax, esi
je 0x10041b5a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x128]
push eax
push ecx
push ebp
push str.GetChatModeAndOppNameInternal_1_1__hwnd:__08x____x____d_
push str.DINGTALK
push ebx
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x1c
cmp dword [esp + 0x20], esi
je 0x10041e27
mov eax, dword [esp + 0x128]
cmp eax, esi
je 0x10041e27
mov ecx, 0x100000
push ebx
push esi
mov dword [esp + 0xec], ecx
mov dword [esp + 0x110], ecx
push ebx
lea edx, [esp + 0xe4]
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
push ecx
push 0x1e
lea edx, [esp + 0x60]
push edi
push edx
mov edx, dword [esp + 0x154]
push 1
sub esp, 0x10
mov dword [esp + 0x110], ebx
mov ecx, esp
mov dword [esp + 0x114], 1
push eax
mov dword [esp + 0x11c], 0x29
mov dword [ecx], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x124], esi
mov dword [esp + 0x128], esi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x178]
mov dword [esp + 0x134], esi
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], 0x2d
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], esi
mov dword [esp + 0x158], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x80], esi
mov dword [ecx + 0xc], edx
call fcn.10019fe0
mov eax, dword [0x102acd68]
add esp, 0x3c
cmp eax, esi
je 0x10041c88
mov eax, dword [esp + 0x1c]
push eax
push edi
push str.GetChatModeAndOppNameInternal_1_2___x____d_
push str.DINGTALK
push ebx
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp dword [esp + 0x1c], esi
je 0x10041e2b
xor ecx, ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
push edx
mov dword [esp + 0x40], ecx
push ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [0x102acd68], esi
je 0x10041cec
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
push str.GetChatModeAndOppNameInternal_1_3___d__d__d__d_
push str.DINGTALK
push ebx
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x20
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
cmp eax, esi
jbe 0x10041de7
lea ebp, [edi + 8]
cmp dword [ebp + 4], 0x100000
jne 0x10041dc8
fild dword [ebp + 0x5bc]
fld qword [0x102335c8]
fmul qword [0x101bf9b8]
fiadd dword [esp + 0x38]
fcompp
fnstsw ax
test ah, 0x41
jne 0x10041dc8
cmp dword [esp + 0x18], esi
jne 0x10041d8a
cmp dword [ebp], 0x29
jne 0x10041d8a
mov ecx, dword [esp + 0x384]
mov edi, dword [esp + 0x380]
add ecx, ecx
xor eax, eax
mov edx, ecx
mov dword [esp + 0x18], 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x380]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x384]
lea ecx, [ebp + 0xc]
dec eax
push eax
push ecx
push edx
call fcn.100e9aa5
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, esi
jne 0x10041de3
jmp 0x10041dc8
cmp dword [esp + 0x14], esi
jne 0x10041dc2
cmp dword [ebp], 0x2d
jne 0x10041dc8
mov edi, dword [esp + 0x37c]
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.1003f4e0
add esp, 8
test eax, eax
je 0x10041dc8
mov eax, dword [edi]
xor ecx, ecx
cmp eax, 1
mov dword [esp + 0x14], 1
sete cl
mov dword [edi], ecx
cmp dword [esp + 0x18], esi
jne 0x10041de3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc eax
add ebp, 0x5c8
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x10041cff
mov edi, dword [esp + 0x10]
cmp dword [0x102acd68], esi
je 0x10041e11
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
push str.GetChatModeAndOppNameInternal_1_4___d____d_
push str.DINGTALK
push ebx
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp dword [esp + 0x14], esi
je 0x10041e2b
cmp dword [esp + 0x18], esi
je 0x10041e2b
mov dword [esp + 0x30], 1
jmp 0x10041e2b
mov edi, dword [esp + 0x10]
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
mov eax, dword [esp + 0x34]
add esp, 4
jmp 0x10041e53
mov eax, ebp
mov ecx, dword [esp + 0x368]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x364
ret