Function at 0x402810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0xcc
mov eax, dword [ecx + 0x54]
mov esi, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
mov dword [ebx + 0x5c], 0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
cmp eax, esi
je 0x402896
cmp byte [ebx + 0x1a4], 0
je 0x402a28
mov edi, dword [ebp - 0xac]
lea esi, [esi]
mov edx, dword [edi]
lea eax, [edi + 8]
cmp edx, eax
je 0x402a18
mov eax, dword [edi + 8]
mov dword [esp], edx
add edi, 0x1c
add eax, 1
mov dword [esp + 4], eax
call fcn.0054fb40
cmp edi, esi
jne 0x402870
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4028ba
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
sub eax, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0054fb40
mov edx, dword [ebx + 0x16c]
mov esi, dword [ebx + 0x168]
lea eax, [ebx + 0x1a8]
mov dword [ebp - 0xac], edx
cmp esi, edx
je 0x402cd0
mov dword [ebp - 0xac], ebx
mov edi, eax
mov ebx, esi
mov esi, edx
lea esi, cs:[esi]
nop
mov dword [esp], ebx
mov ecx, edi
add ebx, 0x18
call fcn.0043ab70
sub esp, 4
cmp esi, ebx
jne 0x4028f0
mov ebx, dword [ebp - 0xac]
mov esi, dword [ebx + 0x168]
test esi, esi
je 0x4029ec
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0xac], eax
cmp esi, eax
je 0x402dfb
mov dword [ebp - 0xb0], ebx
lea esi, [esi]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
cmp edi, ebx
je 0x40295f
lea esi, [esi]
mov eax, dword [edi]
test eax, eax
je 0x402956
mov dword [esp], eax
call fcn.0054fb20
add edi, 8
cmp ebx, edi
jne 0x402948
mov ebx, dword [esi]
test ebx, ebx
je 0x402a00
mov ecx, dword [esi + 0xc]
add esi, 0x18
mov edi, dword [ecx]
mov dword [esp + 8], 4
mov eax, dword [esi - 0x14]
mov dword [esp], ebx
sub eax, ebx
mov dword [esp + 4], eax
call dword [edi + 0xc]
sub esp, 0xc
cmp dword [ebp - 0xac], esi
jne 0x402938
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebx + 0x16c]
mov esi, dword [ebx + 0x168]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebx + 0x174]
mov eax, dword [ecx]
mov dword [esp + 8], 4
mov edi, dword [ebp - 0xac]
mov dword [esp], esi
sub edi, esi
mov dword [esp + 4], edi
call dword [eax + 0xc]
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
sub esp, 0xc
mov dword [ebx + 0x170], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
add esi, 0x18
cmp dword [ebp - 0xac], esi
jne 0x402938
jmp 0x402991
add edi, 0x1c
cmp esi, edi
jne 0x402870
jmp 0x402896
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0xb4], eax
cmp dword [ebx + 0x170], eax
je 0x402d95
call fcn.00471540
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
mov dword [esp], 0x1000
call fcn.0054fb50
mov edi, eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
cmp dword [eax + 8], edx
je 0x402d80
mov ecx, dword [ebp - 0xb4]
lea eax, [edi + 0x1000]
mov dword [edx], edi
add edx, 8
mov dword [edx - 4], 0x1000
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x18]
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], edi
mov dword [ebx + 0x16c], eax
mov dword [esp], 0x4d
mov dword [esp + 4], str._jsonrpc_:_2.0___method_:_window_showMessage___params_:_type_:2__message_:_
call fcn.0044cf00
mov edi, dword [ebp - 0xac]
lea eax, [ebp - 0x30]
sub esp, 8
mov edx, dword [edi + 0x18]
call fcn.004715a0
lea eax, [ebp - 0x58]
mov byte [ebp - 0x4a], 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x54], 0x61686320
mov dword [ebp - 0x58], 0x726f6620
mov dword [ebp - 0x52], 0x676e6168
mov dword [ebp - 0x4e], 0x203a7365
mov dword [ebp - 0x5c], 0xe
mov dword [ebp - 0x90], eax
mov dword [esp], 0x11
call fcn.0054fb80
movdqu xmm0, xmmword [str.failed_to_watch_http:__localhostload_global_groups_from_json]
mov dword [ebp - 0x88], 0x10
mov dword [ebp - 0x90], eax
mov ecx, eax
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov eax, edi
mov dword [ebp - 0x8c], 0x10
mov edi, dword [edi + 4]
mov eax, dword [eax]
cmp edi, 0x7fffffef
ja 0x402e06
lea edx, [edi + 0x10]
test edi, edi
jne 0x402cdd
lea eax, [ebp - 0x70]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmp ecx, eax
je 0x402db1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x88]
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8c], 0
call fcn.00435240
lea edx, [ebp - 0x48]
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x30]
call fcn.00435240
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
cmp eax, edx
je 0x402be9
mov edx, dword [ebp - 0x40]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xb8]
cmp eax, edx
je 0x402c08
mov edx, dword [ebp - 0x70]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x402c2d
mov edx, dword [ebp - 0x88]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x58]
cmp eax, edx
je 0x402c49
mov edx, dword [ebp - 0x58]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
cmp eax, edx
je 0x402c65
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
call fcn.00436580
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa0]
cmp eax, edx
je 0x402ca7
mov edx, dword [ebp - 0xa0]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.0054fb40
mov dword [esp], 3
mov dword [esp + 4], 0x56112b
mov ecx, dword [ebp - 0xb4]
call fcn.0044cf00
mov byte [ebx + 0x1a4], 1
sub esp, 8
jmp 0x402864
test esi, esi
jne 0x4029a9
jmp 0x4029ec
mov dword [ebp - 0xb8], edx
lea ecx, [ebp - 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], 0x10
call fcn.0053bfc0
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x70]
mov dword [ebp - 0xb8], eax
sub esp, 0x10
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x90]
mov byte [edx + edi + 0x10], 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmp ecx, eax
jne 0x402b7c
mov eax, dword [ebp - 0x8c]
lea edx, [eax + 1]
cmp edx, 4
jae 0x402db8
test edx, edx
je 0x402b8e
movzx ecx, byte [ebp - 0x88]
mov byte [ebp - 0x70], cl
test dl, 2
je 0x402b8e
movzx ecx, word [ebp + edx - 0x8a]
mov word [ebp + edx - 0x72], cx
jmp 0x402b8e
mov ecx, eax
call fcn.0047f780
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
jmp 0x402a82
lea ecx, [ebx + 0x168]
call fcn.0047c110
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0xb4], eax
jmp 0x402a40
mov eax, 0x10
jmp 0x402d45
mov ecx, dword [ebp + edx - 0x8c]
mov dword [ebp + edx - 0x74], ecx
cmp eax, 4
jb 0x402b8e
mov dword [ebp - 0xbc], eax
mov ecx, eax
xor edx, edx
and ecx, 0xfffffffc
mov edi, dword [ebp + edx - 0x88]
mov eax, dword [ebp - 0xb8]
mov dword [eax + edx], edi
add edx, 4
cmp edx, ecx
jb 0x402dd9
mov eax, dword [ebp - 0xbc]
jmp 0x402b8e
mov esi, dword [ebp - 0xac]
jmp 0x4029a9
mov dword [esp], 0x561116
call fcn.00552550
lea esi, cs:[esi]
lea esi, [esi]
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
cmp byte [ecx + 0x54], 0
mov esi, dword [esp + 0x74]
jne 0x402f80
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
mov byte [ebx + 0x54], 1
lea ebp, [ebx + 0xc]
mov edi, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
movd xmm1, ebp
mov byte [esp + 0x2b], 0x45
movd xmm0, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x70]
punpckldq xmm0, xmm1
mov dword [esp + 0x40], ecx
shl ebx, 4
mov dword [esp], 5
movzx edx, word [ebx + 0x579f60]
mov dword [esp + 0x3c], edi
lea edi, [ebx + 0x579f60]
mov dword [esp + 0x14], esi
and dx, 0x3fff
movq qword [esp + 0x34], xmm0
mov eax, edx
shr ax, 3
movzx eax, ax
imul eax, eax, 0x20c5
shr eax, 0x14
movzx ecx, ax
imul ecx, ecx, 0xcccd
shr ecx, 0x13
lea ecx, [ecx + ecx*4]
add ecx, ecx
sub eax, ecx
add eax, 0x30
mov byte [esp + 0x2c], al
mov eax, edx
shr ax, 2
movzx eax, ax
imul eax, eax, 0x147b
shr eax, 0x11
movzx ecx, ax
imul ecx, ecx, 0xcccd
shr ecx, 0x13
lea ecx, [ecx + ecx*4]
add ecx, ecx
sub eax, ecx
add eax, 0x30
mov byte [esp + 0x2d], al
movzx eax, dx
imul eax, eax, 0xcccd
shr eax, 0x13
movzx ecx, ax
mov ebp, eax
lea eax, [eax + eax*4]
imul ecx, ecx, 0xcccd
add eax, eax
sub edx, eax
lea eax, [ebx + 0x579f68]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 0x579f64]
add edx, 0x30
shr ecx, 0x13
mov byte [esp + 0x2f], dl
lea ecx, [ecx + ecx*4]
mov word [esp + 0xc], ax
movzx eax, byte [ebx + 0x579f62]
add ecx, ecx
sub ebp, ecx
and eax, 3
lea ecx, [ebp + 0x30]
lea ebp, [esp + 0x2b]
mov byte [esp + 8], al
mov dword [esp + 4], ebp
mov byte [esp + 0x2e], cl
lea ecx, [esp + 0x30]
call fcn.0047d750
sub esp, 0x18
cmp word [ebx + 0x579f66], 0
jne 0x402fc0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edi, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
sub eax, edx
cmp eax, 1
jg 0x402fab
mov eax, dword [edi]
mov ecx, edi
mov ebp, dword [eax + 8]
mov eax, dword [edi + 4]
sub edx, eax
mov dword [esp + 4], eax
mov dword [esp], edx
call ebp
mov edx, dword [edi + 4]
sub esp, 8
lea eax, [edx + 2]
mov dword [edi + 0xc], eax
mov eax, 0xa2c
mov word [edx], ax
jmp 0x402e37
add ebx, 0x579f6c
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
movzx eax, word [edi + 6]
mov dword [esp + 4], ebp
mov word [esp + 0xc], ax
mov byte [esp + 8], 1
mov dword [esp], 5
call fcn.0047d750
sub esp, 0x18
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 8