Function at 0x42d520
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x543f67
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5cf024]
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 edi, ecx
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x9c]
lea ebx, [edi + 0x140]
mov dword [ebp - 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x9c]
mov esi, eax
mov edx, dword [ecx]
call dword [edx]
push esi
push eax
mov ecx, ebx
call fcn.004df030
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp esi, edi
je 0x42d5dd
nop
push esi
lea ecx, [ebp - 0x1c]
call fcn.004df880
test al, al
jne 0x42d5a7
add esi, 0x8c
cmp esi, edi
jne 0x42d590
cmp esi, edi
je 0x42d5dd
lea ebx, [esi + 0x8c]
cmp ebx, edi
je 0x42d5da
push ebx
lea ecx, [ebp - 0x18]
call fcn.004df880
test al, al
jne 0x42d5d0
push ebx
mov ecx, esi
call fcn.004dfd60
add esi, 0x8c
add ebx, 0x8c
cmp ebx, edi
jne 0x42d5b5
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x10]
cmp edi, ebx
je 0x42d605
push edi
mov ecx, esi
call fcn.004dfd60
add edi, 0x8c
add esi, 0x8c
cmp edi, ebx
jne 0x42d5e4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x150]
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0041d3d0
mov ebx, dword [ebp - 0x10]
add esp, 4
push 0
push 0
push 0x130b
mov dword [ebx + 0x150], esi
push dword [ebx + 0x130]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x90]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebx + 0x13c]
mov dword [ebp + 0x44], 0x57ecdc
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x44], 0x5903f4
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], 0x5903f4
mov dword [ebp - 4], 3
sub esp, 0x18
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ebx, dword [eax + 8]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x17c]
mov ecx, esp
mov esi, dword [eax + 0x40]
lea eax, [edi + edi*2]
shl eax, 3
add edx, eax
mov dword [ebp - 0x18], eax
call fcn.0042cca0
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
lea ecx, [ecx + 0x24]
call esi
mov byte [ebp - 4], 5
push 0x138d
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004dbd50
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.00407e00
mov byte [ebp - 4], 3
lea ecx, [ebp + 4]
call fcn.00407e00
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x9c]
mov esi, eax
mov edx, dword [ecx]
call dword [edx]
push 0
push esi
push eax
lea ecx, [ebp + 0x44]
call fcn.004de830
mov eax, dword [edi]
mov ecx, ebx
lea ebx, [ecx + 0x24]
sub esp, 0x18
mov dword [ebp - 0x20], esp
mov edi, dword [eax + 8]
mov eax, dword [ebx]
mov esi, dword [eax + 0x40]
mov eax, dword [ecx + 0x17c]
mov ecx, esp
add eax, dword [ebp - 0x18]
push eax
call fcn.004071f0
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.004dbd50
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.00407e00
mov byte [ebp - 4], 3
lea ecx, [ebp + 4]
call fcn.00407e00
push 8
call fcn.0051db0e
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
mov dword [esi], 0x42d1e0
mov dword [esi + 4], eax
mov byte [ebp - 4], 3
push 0
push 0
push esi
push 0x42e820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42d801
push 8
push esi
call fcn.0051dadd
add esp, 8
mov dword [ebp - 4], 0x10
lea ecx, [ebp + 0x5c]
call fcn.00407e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x50]
call fcn.0041d1f0
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.0051dacc
lea esp, [ebp + 0x78]
pop ebp
ret