Function at 0x4a6180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dabd2
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], eax
test edi, edi
je 0x4a683f
cmp dword [eax + 8], 0
je 0x4a683f
push 0x4f9c2c
push 0x42f
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 1
push 0x1002
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4a62cb
push 1
push 0x30
push 5
push 0x4f9bf0
push edi
call fcn.00450ff0
add esp, 0x14
push 0x10
push 0x10
push 0x1036
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xa
push 2
push 0xfe
push esi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 5
mov dword [ebp - 0x60], esi
call fcn.00413540
add esp, 4
push eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0
push 0x10
push 0x10
push 1
push 0x6b
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x10
push 0x10
push 1
push 0x6a
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
push 0xffffffffffffffff
push dword [ebp - 0x60]
mov esi, eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x60]
push 1
push 0x1003
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [ebp - 0x6c]
push 0x24
call fcn.004a71b8
mov esi, eax
mov dword [ebp - 0x78], eax
add esp, 4
test esi, esi
je 0x4a62f5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x4a62fa
xor esi, esi
mov dword [ebp - 0x78], esi
mov eax, dword [ebp - 0x64]
push 0xffffffffffffffeb
push edi
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov dword [esi], edi
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
push 0xffffffffffffffeb
push edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 2
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0xc]
add ecx, 0x4f0
call fcn.004812b0
mov dword [ebp - 0x90], eax
lea edx, [esi + 8]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], edx
mov ecx, dword [eax + 8]
movzx ecx, word [ecx + 0x28]
push ecx
mov ecx, edx
call fcn.004a69b0
mov eax, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0x70], edx
mov ecx, dword [eax + 8]
xor eax, eax
cmp ax, word [ecx + 0x28]
jae 0x4a67bf
mov esi, 0x34
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x88], esi
nop word [eax + eax]
movzx eax, word [ecx + 0x28]
cmp edx, eax
jae 0x4a6799
mov eax, dword [ecx + esi]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4a6799
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x8c]
push 0x48
mov byte [ebp - 4], 1
mov esi, dword [eax]
add esi, dword [ebp - 0x74]
mov dword [ebp - 0x68], esi
call fcn.004a71b8
mov edi, eax
add esp, 4
mov dword [ebp - 0x60], edi
test edi, edi
je 0x4a6409
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 0x4a640b
xor edi, edi
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + 0x2c]
push eax
push esi
push ecx
push dword [ebp - 0x64]
push dword [ebp - 0x90]
call fcn.004a4220
movups xmm0, xmmword [esi + 8]
add esp, 0x14
movups xmmword [edi + 0xc], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x1c], xmm0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4a6443
call fcn.004a2a20
mov ecx, dword [esi]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x4a6451
call fcn.004a26e0
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [edi + 8], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov dword [edi], eax
call fcn.004a2a40
test eax, eax
je 0x4a65a2
mov ecx, esi
call fcn.004a2380
mov esi, eax
push 0x5c
push esi
mov dword [ebp - 0x60], esi
call fcn.004ab2c0
add esp, 8
test eax, eax
jne 0x4a64a4
push 0x2f
push esi
call fcn.004ab2c0
add esp, 8
test eax, eax
je 0x4a64aa
lea esi, [eax + 2]
mov dword [ebp - 0x60], esi
push esi
call fcn.004a27e0
push eax
push esi
call fcn.004a29e0
mov dword [ebp - 0x80], eax
push 0x4e68d8
mov byte [ebp - 4], 2
call fcn.004a27e0
push eax
push 0x4e68d8
call fcn.004a29e0
add esp, 0x18
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x80]
call fcn.004a24b0
mov esi, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
push 0
mov byte [ebp - 4], 4
sub ecx, dword [eax + 0x24]
lea eax, [ebp - 0x98]
push ecx
push eax
call fcn.004696e0
add esp, 0xc
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.004a24b0
mov esi, eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4a6536
call fcn.004a2a20
mov ecx, dword [esi]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4a6544
call fcn.004a26e0
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4a6557
call fcn.004a2a20
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4a656a
call fcn.004a2a20
mov ecx, dword [ebp - 0x9c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4a657d
call fcn.004a2a20
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4a658d
call fcn.004a2a20
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4a659d
call fcn.004a2a20
mov esi, dword [ebp - 0x68]
jmp 0x4a65f4
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x60], 0x4e6d6c
push eax
call fcn.004696e0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x4a65d3
call fcn.004a2a20
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4a65e1
call fcn.004a26e0
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x4a65f4
call fcn.004a2a20
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], SysReAllocStringLen
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
cmp ecx, dword [eax + 0x270]
mov dword [ebp - 0x38], edi
sbb eax, eax
mov dword [ebp - 0x48], 0
inc eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
cdq
push edx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00469740
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4a665a
call fcn.004a2a20
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4a6668
call fcn.004a26e0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x4a667b
call fcn.004a2a20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004a2380
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0x104d
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x60]
push edi
mov dword [ebp - 0x5c], eax
call fcn.004a27e0
push eax
push edi
call fcn.004a29e0
mov dword [ebp - 0x84], eax
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x84]
push eax
push 1
push dword [ebp - 0x5c]
mov byte [ebp - 4], 0x10
push edi
call fcn.00469da0
add esp, 0x1c
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x4a66e6
call fcn.004a2a20
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 2
push dword [ebp - 0x5c]
push edi
call fcn.00469da0
push 0
push dword [esi + 0x20]
lea eax, [ebp - 0xa8]
push eax
call fcn.004696e0
add esp, 0x1c
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4a6723
call fcn.004a2a20
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4a6731
call fcn.004a26e0
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x4a6744
call fcn.004a2a20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 3
push dword [ebp - 0x5c]
push edi
call fcn.00469da0
push esi
push 4
push dword [ebp - 0x5c]
push edi
call fcn.00469da0
add esp, 0x20
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x4a6776
call fcn.004a2a20
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x15
test ecx, ecx
je 0x4a6789
call fcn.004a2a20
mov edx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
inc edx
add dword [ebp - 0x74], 0x28
add esi, 4
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x88], esi
mov ecx, dword [eax + 8]
movzx eax, word [ecx + 0x28]
cmp edx, eax
jl 0x4a6390
mov esi, dword [ebp - 0x78]
cmp word [ecx + 0x28], 0
je 0x4a6812
push 0xffff
push 1
push 0x101e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 2
push 0x101e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 3
push 0x101e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffff
push 4
push 0x101e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
push 0x4a5690
push 0
push 0
call fcn.004be02c
mov dword [esi + 0x18], eax
add esp, 0x18
mov al, 1
jmp 0x4a6841
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret