Function at 0x46bc70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac18
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x46c22f
mov edi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
je 0x46c22f
push 0x4a1a64
push 0x42f
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x1002
push ebx
call esi
test eax, eax
jne 0x46bda6
push 1
push 0x30
push 5
push 0x4a1a28
push ebx
call fcn.0042d740
add esp, 0x14
push 0x10
push 0x10
push 0x1036
push ebx
call esi
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x24
call fcn.0046d6f6
mov esi, eax
mov dword [ebp - 0x2c], eax
add esp, 4
test esi, esi
je 0x46bdd0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x46bdd5
xor esi, esi
mov dword [ebp - 0x2c], esi
mov eax, dword [edi + 8]
push 0xffffffffffffffeb
push ebx
mov eax, dword [eax]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push 0xffffffffffffffeb
push ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 2
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + 0x4e4]
call fcn.00440930
mov ecx, dword [edi + 8]
mov dword [ebp - 0x54], eax
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
movzx ecx, word [ecx + 0x28]
push ecx
mov ecx, eax
call fcn.0046c690
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 0x46c1a6
mov dword [ebp - 0x28], edx
jmp 0x46be50
movzx eax, word [ecx + 0x28]
cmp edx, eax
jae 0x46c18c
mov esi, dword [ecx + edx*4 + 0x34]
mov dword [ebp - 0x24], esi
test esi, esi
je 0x46c18c
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x38]
push 0x48
mov byte [ebp - 4], 1
mov edi, dword [eax]
add edi, dword [ebp - 0x28]
call fcn.0046d6f6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46bec1
mov dword [ebx + 4], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
jmp 0x46bec3
xor ebx, ebx
lea eax, [ebx + 0x2c]
push eax
push edi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x54]
call fcn.0046a730
movdqu xmm0, xmmword [edi + 8]
add esp, 0x14
lea ecx, [ebx + 4]
movdqu xmmword [ebx + 0xc], xmm0
movq xmm0, qword [edi + 0x18]
push edi
movq qword [ebx + 0x1c], xmm0
call fcn.004688f0
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebx], eax
call fcn.00468f70
test eax, eax
je 0x46bffd
mov ecx, edi
call fcn.004689b0
push 0x5c
push eax
mov dword [ebp - 0x14], eax
call fcn.0046f665
add esp, 8
test eax, eax
je 0x46bf3c
add eax, 2
mov dword [ebp - 0x14], eax
push 0x490b20
call fcn.00468d70
push eax
push 0x490b20
call fcn.00468f00
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edi + 0x24]
push 0
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
call fcn.00434dc0
mov esi, eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00468d70
push eax
push dword [ebp - 0x14]
call fcn.00468f00
add esp, 0x24
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.00468a70
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.00468a70
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004688f0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x46bfc8
call fcn.00468f40
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x46bfd8
call fcn.00468f40
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x46bfe8
call fcn.00468f40
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x46bff8
call fcn.00468f40
mov ecx, dword [ebp - 0x34]
jmp 0x46c025
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], 0x490fa0
push eax
call fcn.00434dc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004688f0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46c032
call fcn.00468f40
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x88], connect
mov dword [ebp - 0x84], 0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x268]
mov eax, dword [eax + 0x26c]
cmp dword [ebp - 0x24], ecx
mov dword [ebp - 0x90], eax
sbb eax, eax
mov dword [ebp - 0x6c], ebx
inc eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x80], 0
push eax
call fcn.00434e20
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.004688f0
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46c0b1
call fcn.00468f40
lea ecx, [ebp - 0x18]
call fcn.004689b0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x104d
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x14]
mov esi, eax
call fcn.00468d70
push eax
push dword [ebp - 0x14]
call fcn.00468f00
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
push 1
push esi
push ebx
call fcn.004353f0
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46c10e
call fcn.00468f40
lea eax, [ebp - 0x1c]
push eax
push 2
push esi
push ebx
call fcn.004353f0
push 0
push dword [edi + 0x20]
lea eax, [ebp - 0x48]
push eax
call fcn.00434dc0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004688f0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x46c149
call fcn.00468f40
lea eax, [ebp - 0x18]
push eax
push 3
push esi
push ebx
call fcn.004353f0
push edi
push 4
push esi
push ebx
call fcn.004353f0
mov ecx, dword [ebp - 0x1c]
add esp, 0x20
mov byte [ebp - 4], 0
test ecx, ecx
je 0x46c173
call fcn.00468f40
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x46c186
call fcn.00468f40
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
inc edx
add dword [ebp - 0x28], 0x28
mov dword [ebp - 0x10], edx
movzx eax, word [ecx + 0x28]
cmp edx, eax
jl 0x46be50
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi + 8]
cmp word [eax + 0x28], 0
je 0x46c1f2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 1
push 0x101e
push ebx
call edi
push 0xffff
push 2
push 0x101e
push ebx
call edi
push 0xffff
push 3
push 0x101e
push ebx
call edi
push 0xffff
push 4
push 0x101e
push ebx
call edi
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x58]
push eax
push 0
push esi
push 0x46b410
push 0
push 0
call fcn.00470f30
mov dword [esi + 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
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