Function at 0x439cae
Capabilities:
Create thread

Disassembly:
push 0x858
mov eax, 0x46e4dd
call fcn.0046cef5
mov dword [ebp - 0x848], ecx
mov eax, dword [ebp + 8]
lea esi, [ebp + 0x14]
lea edi, [ebp - 0x840]
mov dword [ebp - 0x860], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x85c], eax
xor eax, eax
mov dword [ebp - 0x854], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x84c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x850], eax
mov edi, ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x858]
push ecx
lea ecx, [edi + 0x88]
call fcn.0042b9f8
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x439d52
mov edx, dword [edi + 0x60]
push 0x26e
mov esi, dword [edx + 4]
push 0x410048
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x60]
call esi
mov esi, dword [ebp - 0x844]
mov edx, esi
mov ecx, eax
call fcn.00446ed9
jmp 0x43a3d8
cmp dword [ebp - 0x858], 0xfebefebe
je 0x439d8c
mov eax, dword [edi + 0x60]
push 0x26f
push 0x410048
mov dword [ebp - 0x844], 0x800704df
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x60]
call esi
mov esi, 0x800704df
jmp 0x439d44
mov eax, 0x3e8
mov dword [edi + 0x2f8], 0x7530
mov dword [edi + 0x2fc], eax
mov dword [edi + 0x300], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x70]
call fcn.0042b18f
cmp dword [edi + 0x70], 0
jne 0x439de5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x27c
mov dword [ebp - 0x844], eax
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 4]
jmp 0x439d2c
mov edx, 0x412b94
lea esi, [ebp - 0x840]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x439e5c
inc ecx
cmp ecx, 4
jne 0x439df2
mov eax, dword [ebp - 0x860]
test eax, eax
je 0x439f3c
lea edx, [ebp - 0x84c]
mov ecx, eax
call fcn.00418e2d
mov ebx, eax
mov dword [ebp - 0x844], ebx
test ebx, ebx
jns 0x439f36
mov eax, dword [edi + 0x60]
push 0x293
push 0x410048
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x60]
call esi
mov edx, ebx
mov ecx, eax
call fcn.00446ed9
mov ebx, dword [ebp - 0x84c]
jmp 0x43a3d2
mov eax, dword [edi + 0x2b4]
lea ecx, [ebp - 0x854]
push ecx
sub esp, 0x10
mov dword [ebp - 0x858], eax
mov edi, esp
lea esi, [ebp - 0x840]
mov eax, dword [eax]
mov dword [ebp - 0x844], eax
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x47547c]
mov eax, dword [ebp - 0x844]
mov ecx, dword [ebp - 0x858]
call dword [eax + 0x1c]
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x439eb8
mov edi, dword [ebp - 0x848]
push 0x283
jmp 0x439dda
mov esi, dword [ebp - 0x854]
mov eax, dword [ebp - 0x848]
add eax, 0x330
push eax
mov ecx, dword [esi]
mov edi, dword [ecx + 0x1c]
mov ecx, edi
call dword [0x47547c]
mov ecx, esi
call edi
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x439ef5
mov edi, dword [ebp - 0x848]
push 0x287
jmp 0x439dda
mov esi, dword [ebp - 0x854]
mov eax, dword [ebp - 0x848]
add eax, 0x2f4
push eax
mov ecx, dword [esi]
mov edi, dword [ecx + 0x20]
mov ecx, edi
call dword [0x47547c]
mov ecx, esi
call edi
mov edi, dword [ebp - 0x848]
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x439e00
push 0x28b
jmp 0x439dda
mov ebx, dword [ebp - 0x84c]
mov esi, dword [ebp - 0x85c]
test esi, esi
je 0x43a054
lea edx, [ebp - 0x848]
mov ecx, esi
call fcn.004197ec
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x439f6b
push 0x29a
jmp 0x439dda
cmp dword [ebp - 0x848], 0
jne 0x439fa5
push 0x29b
mov eax, dword [edi + 0x60]
push 0x410048
mov dword [ebp - 0x844], 0x80070003
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x60]
call esi
mov edx, 0x80070003
jmp 0x43a3cb
and dword [ebp - 0x864], 0
lea eax, [ebp - 0x830]
push 0x820
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x830]
push eax
push 0x410
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x439ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2a1
jmp 0x439dd4
lea edx, [ebp - 0x848]
lea ecx, [ebp - 0x830]
call fcn.004197ec
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a01c
push 0x2a5
jmp 0x439dda
cmp dword [ebp - 0x848], 0
jne 0x43a02f
push 0x2a6
jmp 0x439f79
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x830]
call fcn.00418e2d
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a054
push 0x2ab
jmp 0x439dda
mov eax, dword [edi + 0x2b4]
xor esi, esi
mov dword [ebp - 0x844], esi
test eax, eax
jne 0x43a07a
mov esi, 0x80070057
mov ecx, esi
mov dword [ebp - 0x844], esi
call fcn.00419094
jmp 0x43a07d
mov dword [edi + 0x34], eax
mov ecx, esi
call fcn.004190b1
test esi, esi
jns 0x43a092
push 0x2b0
jmp 0x439dda
lea ecx, [edi + 0xe4]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a0b1
push 0x2b4
jmp 0x439dda
lea ecx, [edi + 0x104]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a0d0
push 0x2b5
jmp 0x439dda
lea ecx, [edi + 0x164]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a0ef
push 0x2b6
jmp 0x439dda
lea ecx, [edi + 0x184]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a10e
push 0x2b7
jmp 0x439dda
lea ecx, [edi + 0x1a4]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a12d
push 0x2b8
jmp 0x439dda
push 0
lea ecx, [edi + 0x1c0]
call fcn.0042b732
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a14e
push 0x2b9
jmp 0x439dda
lea ecx, [edi + 0x1e8]
call fcn.0042b1b8
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a16d
push 0x2ba
jmp 0x439dda
lea ecx, [edi + 0x258]
call fcn.0042b1b8
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a18c
push 0x2bb
jmp 0x439dda
push 0x1e
lea ecx, [edi + 0x220]
call fcn.0042b4ef
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a1ad
push 0x2bc
jmp 0x439dda
lea ecx, [edi + 0x44]
call fcn.00419168
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43a1c9
push 0x2c0
jmp 0x439dda
test ebx, ebx
je 0x43a1e9
mov esi, ebx
xor ebx, ebx
mov dword [ebp - 0x84c], ebx
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x43a1e6
call fcn.00418f57
and dword [edi + 0x6c], ebx
mov dword [edi + 0x6c], esi
mov esi, dword [ebp - 0x850]
test esi, esi
je 0x43a21b
mov eax, esi
xor esi, esi
mov dword [ebp - 0x850], esi
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x85c], eax
test ecx, ecx
je 0x43a218
call fcn.00418f57
and dword [edi + 0x68], esi
mov eax, dword [ebp - 0x85c]
mov dword [edi + 0x68], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x74]
call fcn.0042b18f
cmp dword [edi + 0x74], 0
jne 0x43a24d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2d0
jmp 0x439dd4
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [edi + 0x78]
call fcn.0042b18f
cmp dword [edi + 0x78], 0
jne 0x43a27f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2d3
jmp 0x439dd4
xor eax, eax
lea esi, [edi + 0x7c]
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov ecx, esi
call fcn.0042b18f
cmp dword [esi], 0
jne 0x43a2b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2d6
jmp 0x439dd4
lea eax, [edi + 0xc8]
mov dword [edi + 0x2cc], eax
lea ecx, [edi + 0x2c0]
lea eax, [edi + 0x180]
mov dword [ecx], edi
mov dword [edi + 0x2d0], eax
mov eax, dword [edi + 0x74]
mov dword [edi + 0x2c4], eax
mov eax, dword [esi]
lea esi, [edi + 0x80]
mov dword [edi + 0x2c8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x439af0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, esi
call fcn.0042b18f
cmp dword [esi], 0
jne 0x43a320
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2e6
jmp 0x439dd4
lea eax, [edi + 0xd4]
mov dword [edi + 0x2e0], eax
lea ecx, [edi + 0x2d4]
lea eax, [edi + 0x1a0]
mov dword [ecx], edi
mov dword [edi + 0x2e4], eax
lea esi, [edi + 0x84]
mov eax, dword [edi + 0x78]
mov dword [edi + 0x2d8], eax
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x2dc], eax
xor eax, eax
push eax
push eax
push ecx
push 0x439af0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, esi
call fcn.0042b18f
cmp dword [esi], 0
jne 0x43a38e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x2f4
jmp 0x439dd4
push dword [ebp + 0x10]
lea ecx, [edi + 0x88]
call fcn.0042bcef
mov esi, eax
mov dword [ebp - 0x844], esi
test esi, esi
jns 0x43a3d8
mov eax, dword [edi + 0x60]
push 0x2f8
push 0x410048
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47547c]
lea ecx, [edi + 0x60]
call esi
mov edx, dword [ebp - 0x844]
mov ecx, eax
call fcn.00446ed9
mov esi, dword [ebp - 0x844]
mov ecx, esi
call fcn.004190b1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x850]
test ecx, ecx
je 0x43a3f9
call fcn.00418f57
and dword [ebp - 0x850], 0
mov byte [ebp - 4], 0
test ebx, ebx
je 0x43a40f
mov ecx, ebx
call fcn.00418f57
and dword [ebp - 0x84c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x854]
call fcn.00417a67
mov eax, dword [ebp - 0x844]
call fcn.0046cea9
ret 0x1c