Function at 0x42c310
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x5459a7
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 0x9c]
lea ebx, [eax + 0x148]
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov ecx, ebx
call fcn.004e4a40
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp esi, edi
je 0x42c411
nop
push esi
lea ecx, [ebp - 0x1c]
call fcn.004e5180
test al, al
jne 0x42c397
add esi, 0x8c
cmp esi, edi
jne 0x42c380
cmp esi, edi
je 0x42c411
lea ebx, [esi + 0x8c]
cmp ebx, edi
je 0x42c3ca
push ebx
lea ecx, [ebp - 0x18]
call fcn.004e5180
test al, al
jne 0x42c3c0
push ebx
mov ecx, esi
call fcn.004e5590
add esi, 0x8c
add ebx, 0x8c
cmp ebx, edi
jne 0x42c3a5
mov ebx, dword [ebp - 0x14]
cmp esi, edi
je 0x42c411
mov ebx, dword [ebx + 0x10]
cmp edi, ebx
je 0x42c3fb
push edi
mov ecx, esi
call fcn.004e5590
add edi, 0x8c
add esi, 0x8c
cmp edi, ebx
jne 0x42c3d8
mov edi, dword [ebp - 0x10]
mov ebx, dword [edi + 0x158]
jmp 0x42c3fe
mov edi, dword [ebp - 0x10]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0041b4b0
add esp, 4
mov dword [edi + 0x158], esi
mov esi, dword [ebp - 0x10]
push 0
push 0
push 0x130b
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x90]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esi + 0x144]
mov dword [ebp + 0x44], 0x57fd4c
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x44], 0x590f74
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0
mov dword [ebp + 0x58], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 7
mov word [ebp + 0x5c], cx
mov dword [ebp - 4], 2
mov dword [ebp + 0x44], 0x590f74
mov dword [ebp - 4], 3
sub esp, 0x18
mov eax, dword [eax]
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov ebx, dword [eax + 8]
mov eax, dword [esi + 0x24]
mov esi, dword [eax + 0x40]
lea eax, [edi + edi*2]
mov edi, dword [ebp - 0x10]
shl eax, 3
mov dword [ebp - 0x18], eax
mov edx, dword [edi + 0x184]
add edx, eax
call fcn.0042bbd0
mov byte [ebp - 4], 4
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x20], esp
lea ecx, [edi + 0x24]
push eax
call esi
mov byte [ebp - 4], 5
push 0x138d
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004e1930
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x14]
mov ecx, edi
push eax
call ebx
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x1c]
call fcn.00407b40
mov byte [ebp - 4], 3
lea ecx, [ebp + 4]
call fcn.00407b40
mov eax, dword [ebp - 0x10]
push 0
mov ecx, dword [eax + 0x9c]
mov esi, ecx
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
lea ecx, [ebp + 0x44]
call fcn.004e42b0
mov ecx, dword [ebp - 0x10]
sub esp, 0x18
mov eax, dword [edi]
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x20], esp
mov edi, dword [eax + 8]
mov eax, dword [ebx]
mov esi, dword [eax + 0x40]
mov eax, dword [ecx + 0x184]
mov ecx, esp
add eax, dword [ebp - 0x18]
push eax
call fcn.00406ba0
mov byte [ebp - 4], 9
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x18], esp
mov ecx, ebx
push eax
call esi
mov byte [ebp - 4], 0xa
push 0x138d
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004e1930
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
push eax
call edi
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x1c]
call fcn.00407b40
mov byte [ebp - 4], 3
lea ecx, [ebp + 4]
call fcn.00407b40
push 8
call fcn.00521500
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x10]
mov dword [esi], 0x42c080
mov dword [esi + 4], edi
mov byte [ebp - 4], 3
push 0
push 0
push esi
push 0x42d7f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42c5f4
push 8
push esi
call fcn.005214f2
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0041ac70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.005214e1
lea esp, [ebp + 0x78]
pop ebp
ret