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

Disassembly:
push 0xffffffffffffffff
push 0x4cd8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov cl, byte [esp + 0xf]
push edi
mov byte [esp + 0x49], cl
lea ecx, [esp + 0x48]
xor ebp, ebp
mov byte [esp + 0x48], al
mov byte [esp + 0x50], bl
call fcn.0041d560
mov edx, dword [str.CheckExLink__]
mov ecx, dword [0x4e260c]
mov eax, dword [0x4e2608]
mov dword [esp + 0x38], edx
mov dx, word [0x4e2610]
mov dword [esp + 0x40], ecx
mov ecx, esi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x3c], eax
mov word [esp + 0x44], dx
call fcn.00419a50
cmp eax, 1
je 0x4193c2
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xffffffff
call fcn.0041b960
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
cmp dword [esi + 0x1160], ebx
jne 0x419785
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.00419ca0
cmp eax, ebx
je 0x419785
mov eax, dword [esi + 0x115c]
cmp eax, ebx
jne 0x419439
mov ecx, dword [esp + 0x4c]
mov ebp, 1
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x41941f
add eax, 0x10
mov ecx, esi
push eax
call fcn.0041aac0
lea ecx, [esp + 0x14]
call fcn.0041d8a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jne 0x4193ff
mov ecx, esi
call fcn.0041a490
mov ecx, esi
call fcn.0041a610
mov ecx, esi
call fcn.0041ae00
jmp 0x4195ba
cmp eax, 1
jne 0x419785
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
mov byte [esp + 0x58], cl
lea ecx, [esp + 0x58]
mov byte [esp + 0x59], dl
mov byte [esp + 0x60], al
call fcn.0041cd60
lea edi, [esi + 0x1118]
mov byte [esp + 0x84], 1
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dx, word [esi + 0x1128]
xor ecx, ecx
mov word [esp + 0x30], dx
xor edx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], eax
call fcn.0041ba90
push edi
call fcn.0043bcd0
add esp, 4
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.0041a020
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 1
jne 0x41954a
mov ecx, dword [esp + 0x4c]
mov ebp, 1
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x419531
add eax, 0x10
mov ecx, esi
push eax
call fcn.0041aac0
mov eax, dword [esp + 0x14]
mov edx, dword [0x4f61d8]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x41950a
push ecx
call fcn.0041db40
add esp, 4
jmp 0x419527
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x419520
mov eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x419512
cmp dword [eax + 8], ecx
je 0x41952b
mov eax, ecx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jne 0x4194e3
mov ecx, esi
call fcn.0041a490
mov ecx, esi
call fcn.0041a610
mov ecx, esi
call fcn.0041ae00
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], bl
call fcn.0041bcd0
mov edx, dword [esp + 0x5c]
push edx
call fcn.00463c78
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
xor edi, edi
call fcn.00465cc3
mov eax, dword [0x4f61d4]
dec eax
mov dword [0x4f61d4], eax
jne 0x41959c
mov edi, dword [0x4f61d0]
mov dword [0x4f61d0], ebx
lea ecx, [esp + 0x18]
call fcn.00465d5f
cmp edi, ebx
je 0x4195b2
push edi
call fcn.00463c78
add esp, 4
cmp ebp, ebx
je 0x419785
mov eax, dword [str.SOFTWAREBaosightlsagent_records]
push eax
call fcn.00436bb0
add esp, 4
push 4
call fcn.00459ea0
mov ecx, eax
call fcn.0045a400
cmp eax, ebx
jne 0x419683
mov ecx, dword [0x4f6180]
lea edx, [esi + 0x55]
push ecx
push 0x4e25f0
push 0xfff
push edx
call fcn.00466ca7
mov edx, dword [0x4d1bac]
mov eax, dword [esi]
add esp, 0x10
lea ecx, [esp + 0x38]
push 0x357
push ecx
push edx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.0041c020
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00463c78
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
xor esi, esi
call fcn.00465cc3
mov eax, dword [0x4f61cc]
dec eax
mov dword [0x4f61cc], eax
jne 0x41966d
mov esi, dword [0x4f61d8]
mov dword [0x4f61d8], ebx
lea ecx, [esp + 0x18]
call fcn.00465d5f
cmp esi, ebx
je 0x419858
jmp 0x41984f
mov edx, dword [eax + 0x1058]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp ebp, ebx
je 0x419785
mov ecx, dword [esi + 0x1164]
mov eax, 1
cmp ecx, eax
jne 0x419785
mov ecx, dword [esi + 0x1104]
mov dword [esp + 0x1c], eax
mov eax, dword [str.ECOP_CL_RES_CONFIG]
push eax
call fcn.0044b650
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x419702
mov ecx, dword [str.ECOP_CL_RES_CONFIG]
lea edx, [esi + 0x55]
push ecx
push 0x4e05ac
push 0xfff
push edx
call fcn.00466ca7
mov edx, dword [0x4d1bac]
mov eax, dword [esi]
add esp, 0x10
lea ecx, [esp + 0x38]
push 0x366
push ecx
push edx
mov ecx, esi
call dword [eax + 0x10]
jmp 0x419785
mov edx, dword [str.needrecover]
push 4
lea ecx, [esp + 0x20]
push 4
push ecx
mov ecx, dword [str.SOFTWAREBaosightlsagentexdetect]
push edx
push ecx
mov ecx, eax
call fcn.0043f5f0
cmp eax, 0x10
jb 0x419760
mov edx, dword [str.needrecover]
mov eax, dword [str.SOFTWAREBaosightlsagentexdetect]
push edx
push eax
push 0x4e25dc
lea ecx, [esi + 0x55]
push 0xfff
push ecx
call fcn.00466ca7
mov ecx, dword [0x4d1bac]
mov edx, dword [esi]
add esp, 0x14
lea eax, [esp + 0x38]
push 0x36f
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [str.ECOP_CL_RES_CONFIG]
mov ecx, dword [esi + 0x1104]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0044b740
mov ecx, dword [str.SOFTWAREBaosightlsagentexdetect]
push ecx
call fcn.00436bb0
add esp, 4
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esi]
mov dword [esp + 0x18], eax
je 0x4197e3
mov ecx, eax
cmp eax, ecx
jne 0x4197e3
mov edx, dword [esi + 4]
lea ecx, [esp + 0x48]
push edx
call fcn.0041d520
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x4f61d8]
lea edx, [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], ebx
push edx
mov dword [eax], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
mov dword [eax + 8], eax
call fcn.0041bda0
jmp 0x419809
cmp eax, esi
je 0x419809
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0041d8a0
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x50]
call fcn.0041d0c0
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x4197e7
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00463c78
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
xor esi, esi
call fcn.00465cc3
mov eax, dword [0x4f61cc]
dec eax
mov dword [0x4f61cc], eax
jne 0x419842
mov esi, dword [0x4f61d8]
mov dword [0x4f61d8], ebx
lea ecx, [esp + 0x20]
call fcn.00465d5f
cmp esi, ebx
je 0x419858
push esi
call fcn.00463c78
add esp, 4
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret