Function at 0x46e620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x46ec6a
mov edi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
je 0x46ec6a
push str.Resolving_symbols...
push 0x42f
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x1002
push esi
call ebx
test eax, eax
jne 0x46e756
push 1
push 0x30
push 5
push 0x4aa2c8
push esi
call fcn.0042f0c0
add esp, 0x14
push 0x10
push 0x10
push 0x1036
push esi
call ebx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xa
push 2
push 0xfe
push 0x32
call esi
push eax
push 0x31
call esi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, eax
push 5
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0x10
push 0x10
push 1
push 0x6b
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
push eax
call esi
push 0
push 0x10
push 0x10
push 1
push 0x6a
push 0
mov ebx, eax
call edi
push eax
call esi
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x10]
call esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
push 1
push 0x1003
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push ebx
call esi
push edi
call esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x24
call fcn.004705b4
mov ebx, eax
mov dword [ebp - 0x2c], eax
add esp, 4
test ebx, ebx
je 0x46e780
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
jmp 0x46e785
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [edi + 8]
push 0xffffffffffffffeb
push esi
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov dword [ebx], esi
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ebx
push 0xffffffffffffffeb
push esi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 2
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + 0x4fc]
call fcn.00442320
mov ecx, dword [edi + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebx + 8]
mov dword [ebp - 0x54], eax
movzx ecx, word [ecx + 0x28]
push ecx
mov ecx, eax
call fcn.0046f3f0
mov ecx, dword [edi + 8]
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edx
movzx eax, word [ecx + 0x28]
cmp dx, ax
jae 0x46eb8e
mov dword [ebp - 0x30], edx
jmp 0x46e800
movzx eax, word [ecx + 0x28]
cmp edx, eax
jae 0x46eb74
mov eax, dword [ecx + edx*4 + 0x34]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x46eb74
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x54]
push 0x48
mov byte [ebp - 4], 1
mov ebx, dword [eax]
add ebx, dword [ebp - 0x30]
call fcn.004705b4
mov edi, eax
add esp, 4
test edi, edi
je 0x46e871
mov dword [edi + 4], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
jmp 0x46e873
xor edi, edi
lea eax, [edi + 0x2c]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp - 0x44]
call fcn.0046d080
movdqu xmm0, xmmword [ebx + 8]
add esp, 0x14
movdqu xmmword [edi + 0xc], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [edi + 0x1c], xmm0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46e8a9
call fcn.0046b840
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x46e8b7
call fcn.0046b5c0
mov eax, dword [ebx + 4]
mov ecx, ebx
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [edi], eax
call fcn.0046b860
test eax, eax
je 0x46ec17
mov ecx, ebx
call fcn.0046b310
mov esi, eax
push 0x5c
push esi
mov dword [ebp - 0x24], esi
call fcn.00472b95
add esp, 8
test eax, eax
jne 0x46e90a
push 0x2f
push esi
call fcn.00472b95
add esp, 8
test eax, eax
je 0x46e910
add eax, 2
mov dword [ebp - 0x24], eax
push 0x498ab8
call fcn.0046b670
push eax
push 0x498ab8
call fcn.0046b800
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebx + 0x24]
push 0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00436640
mov esi, eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0046b670
push eax
push dword [ebp - 0x24]
call fcn.0046b800
add esp, 0x24
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046b3d0
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0046b3d0
mov esi, eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x46e991
call fcn.0046b840
mov ecx, dword [esi]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x46e99f
call fcn.0046b5c0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x46e9af
call fcn.0046b840
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x46e9bf
call fcn.0046b840
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x46e9cf
call fcn.0046b840
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x46e9df
call fcn.0046b840
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46e9ef
call fcn.0046b840
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x8c], connect
mov dword [ebp - 0x88], 0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x280]
mov eax, dword [eax + 0x284]
cmp dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
sbb eax, eax
mov dword [ebp - 0x70], edi
inc eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x84], 0
push eax
call fcn.004366a0
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x46ea66
call fcn.0046b840
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x46ea74
call fcn.0046b5c0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46ea84
call fcn.0046b840
lea ecx, [ebp - 0x14]
call fcn.0046b310
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0x104d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov edi, eax
call fcn.0046b670
push eax
push esi
call fcn.0046b800
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 1
push edi
push esi
mov byte [ebp - 4], 9
call fcn.00436c60
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46eadf
call fcn.0046b840
lea eax, [ebp - 0x18]
push eax
push 2
push edi
push esi
call fcn.00436c60
push 0
push dword [ebx + 0x20]
lea eax, [ebp - 0x50]
push eax
call fcn.00436640
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x46eb13
call fcn.0046b840
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x46eb21
call fcn.0046b5c0
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46eb31
call fcn.0046b840
lea eax, [ebp - 0x14]
push eax
push 3
push edi
push esi
call fcn.00436c60
push ebx
push 4
push edi
push esi
call fcn.00436c60
mov ecx, dword [ebp - 0x18]
add esp, 0x20
mov byte [ebp - 4], 0
test ecx, ecx
je 0x46eb5b
call fcn.0046b840
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x46eb6e
call fcn.0046b840
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
inc edx
add dword [ebp - 0x30], 0x28
mov dword [ebp - 0x10], edx
movzx eax, word [ecx + 0x28]
cmp edx, eax
jl 0x46e800
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi + 8]
cmp word [eax + 0x28], 0
je 0x46ebda
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 1
push 0x101e
push esi
call edi
push 0xffff
push 2
push 0x101e
push esi
call edi
push 0xffff
push 3
push 0x101e
push esi
call edi
push 0xffff
push 4
push 0x101e
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x5c]
push eax
push 0
push ebx
push 0x46ddc0
push 0
push 0
call fcn.00474460
mov dword [ebx + 0x18], eax
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov esi, str._unknown_
push eax
call fcn.00436640
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x46ec43
call fcn.0046b840
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x46ec51
call fcn.0046b5c0
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46e9f2
call fcn.0046b840
jmp 0x46e9f2
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret