Function at 0x49fc70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4fcd
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4a0367
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x4a0367
push 0x4f2ccc
push 0x42f
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x1002
push esi
call edi
test eax, eax
jne 0x49fda9
push 1
push 0x30
push 5
push 0x4f2c90
push esi
call fcn.00450f00
add esp, 0x14
push 0x10
push 0x10
push 0x1036
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
call esi
push 0x31
mov edi, eax
call esi
push 0xa
push 2
push 0xfe
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 5
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
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 dword [ebp - 0x24], eax
call edi
push eax
call esi
push dword [ebp - 0x24]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
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]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
call esi
push edi
call esi
mov esi, dword [ebp + 8]
push 0x24
call fcn.004a0e21
mov edi, eax
mov dword [ebp - 0x24], eax
add esp, 4
test edi, edi
je 0x49fdd3
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
jmp 0x49fdd8
xor edi, edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffeb
push esi
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [edi + 4], eax
mov dword [edi], esi
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
push 0xffffffffffffffeb
push esi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 2
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
add ecx, 0x4ec
call fcn.0047b140
mov dword [ebp - 0x48], eax
lea edx, [edi + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov eax, 0x66666667
movzx edi, word [ecx + 0x28]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
cmp edi, eax
jae 0x49fe6c
lea eax, [edi + edi*4]
mov edi, dword [ebp - 0x1c]
push edi
mov edx, dword [edi]
lea esi, [edx + eax*8]
mov eax, dword [edi + 4]
push eax
push esi
call fcn.0049c7a0
mov dword [edi + 4], esi
mov esi, dword [ebp + 8]
jmp 0x49feae
jbe 0x49feb1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x49fe9a
lea eax, [ebp - 0x2d]
push eax
push edi
call fcn.0049c8a0
jmp 0x49feb1
sub edi, dword [ebp - 0x2c]
mov eax, dword [ecx + 4]
push ecx
push edi
push eax
call fcn.0049cb00
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 8]
xor eax, eax
cmp ax, word [ecx + 0x28]
jae 0x4a02df
mov edi, 0x34
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], edi
movzx eax, word [ecx + 0x28]
cmp edx, eax
jae 0x4a02bf
mov eax, dword [ecx + edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a02bf
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
push 0x48
mov byte [ebp - 4], 1
mov esi, dword [eax]
add esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
call fcn.004a0e21
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
test edi, edi
je 0x49ff49
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 0x49ff4b
xor edi, edi
mov ecx, dword [ebp - 0x28]
lea eax, [edi + 0x2c]
push eax
push esi
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x48]
call fcn.0049de40
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 0x49ff80
call fcn.0049c750
mov ecx, dword [esi]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x49ff8e
call fcn.0049c480
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 - 0x24]
mov eax, dword [eax + 4]
mov dword [edi], eax
call fcn.0049c770
test eax, eax
je 0x4a00cd
mov ecx, esi
call fcn.0049c120
mov esi, eax
push 0x5c
push esi
mov dword [ebp - 0x10], esi
call fcn.004a500e
add esp, 8
test eax, eax
jne 0x49ffe1
push 0x2f
push esi
call fcn.004a500e
add esp, 8
test eax, eax
je 0x49ffe7
lea esi, [eax + 2]
mov dword [ebp - 0x10], esi
push esi
call fcn.0049c580
push eax
push esi
call fcn.0049c710
mov dword [ebp - 0x40], eax
push 0x4dfce8
mov byte [ebp - 4], 2
call fcn.0049c580
push eax
push 0x4dfce8
call fcn.0049c710
add esp, 0x18
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x40]
call fcn.0049c250
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
push 0
mov byte [ebp - 4], 4
sub ecx, dword [eax + 0x24]
lea eax, [ebp - 0x50]
push ecx
push eax
call fcn.00464550
add esp, 0xc
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.0049c250
mov esi, eax
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4a006a
call fcn.0049c750
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4a0078
call fcn.0049c480
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4a0088
call fcn.0049c750
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4a0098
call fcn.0049c750
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4a00a8
call fcn.0049c750
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4a00b8
call fcn.0049c750
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4a00c8
call fcn.0049c750
mov esi, dword [ebp - 0x14]
jmp 0x4a0119
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x10], 0x4e0168
push eax
call fcn.00464550
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x4a00fb
call fcn.0049c750
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4a0109
call fcn.0049c480
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x4a0119
call fcn.0049c750
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0x9c], accept
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 1
cmp ecx, dword [eax + 0x270]
mov dword [ebp - 0x80], edi
sbb eax, eax
mov dword [ebp - 0x90], 0
inc eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x34]
cdq
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004645b0
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4a018e
call fcn.0049c750
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4a019c
call fcn.0049c480
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x4a01ac
call fcn.0049c750
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0049c120
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x104d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x14], eax
call fcn.0049c580
push eax
push edi
call fcn.0049c710
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
push eax
push 1
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00464bd0
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x4a0214
call fcn.0049c750
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push 2
push edi
push dword [ebp + 8]
call fcn.00464bd0
push 0
push dword [esi + 0x20]
lea eax, [ebp - 0x60]
push eax
call fcn.00464550
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4a024e
call fcn.0049c750
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4a025c
call fcn.0049c480
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x4a026c
call fcn.0049c750
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 3
push edi
push dword [ebp + 8]
call fcn.00464bd0
push esi
mov esi, dword [ebp + 8]
push 4
push edi
push esi
call fcn.00464bd0
add esp, 0x20
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x4a029f
call fcn.0049c750
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0x15
test ecx, ecx
je 0x4a02b2
call fcn.0049c750
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
inc edx
add dword [ebp - 0x38], 0x28
add edi, 4
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], edi
mov ecx, dword [eax + 8]
movzx eax, word [ecx + 0x28]
cmp edx, eax
jl 0x49fed3
cmp word [ecx + 0x28], 0
je 0x4a0328
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]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x64]
push eax
push 0
push esi
push 0x49f260
push 0
push 0
call fcn.004b8717
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
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
mov esp, ebp
pop ebp
ret