Function at 0x437e8e
Capabilities:
Create thread

Disassembly:
push 0x858
mov eax, 0x46ca0b
call fcn.0046b3e5
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.00429c31
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x437f32
mov edx, dword [edi + 0x60]
push 0x26e
mov esi, dword [edx + 4]
push 0x40fd90
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x60]
call esi
mov esi, dword [ebp - 0x844]
mov edx, esi
mov ecx, eax
call fcn.00444f99
jmp 0x4385b8
cmp dword [ebp - 0x858], 0xfebefebe
je 0x437f6c
mov eax, dword [edi + 0x60]
push 0x26f
push 0x40fd90
mov dword [ebp - 0x844], 0x800704df
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x60]
call esi
mov esi, 0x800704df
jmp 0x437f24
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.0042939f
cmp dword [edi + 0x70], 0
jne 0x437fc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x27c
mov dword [ebp - 0x844], eax
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 4]
jmp 0x437f0c
mov edx, 0x40cd00
lea esi, [ebp - 0x840]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x43803c
inc ecx
cmp ecx, 4
jne 0x437fd2
mov eax, dword [ebp - 0x860]
test eax, eax
je 0x43811c
lea edx, [ebp - 0x84c]
mov ecx, eax
call fcn.00417dc4
mov ebx, eax
mov dword [ebp - 0x844], ebx
test ebx, ebx
jns 0x438116
mov eax, dword [edi + 0x60]
push 0x293
push 0x40fd90
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x60]
call esi
mov edx, ebx
mov ecx, eax
call fcn.00444f99
mov ebx, dword [ebp - 0x84c]
jmp 0x4385b2
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 [0x473450]
mov eax, dword [ebp - 0x844]
mov ecx, dword [ebp - 0x858]
call dword [eax + 0x1c]
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x438098
mov edi, dword [ebp - 0x848]
push 0x283
jmp 0x437fba
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 [0x473450]
mov ecx, esi
call edi
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4380d5
mov edi, dword [ebp - 0x848]
push 0x287
jmp 0x437fba
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 [0x473450]
mov ecx, esi
call edi
mov edi, dword [ebp - 0x848]
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x437fe0
push 0x28b
jmp 0x437fba
mov ebx, dword [ebp - 0x84c]
mov esi, dword [ebp - 0x85c]
test esi, esi
je 0x438234
lea edx, [ebp - 0x848]
mov ecx, esi
call fcn.004187ad
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43814b
push 0x29a
jmp 0x437fba
cmp dword [ebp - 0x848], 0
jne 0x438185
push 0x29b
mov eax, dword [edi + 0x60]
push 0x40fd90
mov dword [ebp - 0x844], 0x80070003
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x60]
call esi
mov edx, 0x80070003
jmp 0x4385ab
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 0x4381d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2a1
jmp 0x437fb4
lea edx, [ebp - 0x848]
lea ecx, [ebp - 0x830]
call fcn.004187ad
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4381fc
push 0x2a5
jmp 0x437fba
cmp dword [ebp - 0x848], 0
jne 0x43820f
push 0x2a6
jmp 0x438159
lea edx, [ebp - 0x850]
lea ecx, [ebp - 0x830]
call fcn.00417dc4
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x438234
push 0x2ab
jmp 0x437fba
mov eax, dword [edi + 0x2b4]
xor esi, esi
mov dword [ebp - 0x844], esi
test eax, eax
jne 0x43825a
mov esi, 0x80070057
mov ecx, esi
mov dword [ebp - 0x844], esi
call fcn.0041802b
jmp 0x43825d
mov dword [edi + 0x34], eax
mov ecx, esi
call fcn.00418048
test esi, esi
jns 0x438272
push 0x2b0
jmp 0x437fba
lea ecx, [edi + 0xe4]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x438291
push 0x2b4
jmp 0x437fba
lea ecx, [edi + 0x104]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4382b0
push 0x2b5
jmp 0x437fba
lea ecx, [edi + 0x164]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4382cf
push 0x2b6
jmp 0x437fba
lea ecx, [edi + 0x184]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4382ee
push 0x2b7
jmp 0x437fba
lea ecx, [edi + 0x1a4]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43830d
push 0x2b8
jmp 0x437fba
push 0
lea ecx, [edi + 0x1c0]
call fcn.0042996b
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43832e
push 0x2b9
jmp 0x437fba
lea ecx, [edi + 0x1e8]
call fcn.004293f1
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43834d
push 0x2ba
jmp 0x437fba
lea ecx, [edi + 0x258]
call fcn.004293f1
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43836c
push 0x2bb
jmp 0x437fba
push 0x1e
lea ecx, [edi + 0x220]
call fcn.00429728
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x43838d
push 0x2bc
jmp 0x437fba
lea ecx, [edi + 0x44]
call fcn.004180ff
mov dword [ebp - 0x844], eax
test eax, eax
jns 0x4383a9
push 0x2c0
jmp 0x437fba
test ebx, ebx
je 0x4383c9
mov esi, ebx
xor ebx, ebx
mov dword [ebp - 0x84c], ebx
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x4383c6
call fcn.00417eee
and dword [edi + 0x6c], ebx
mov dword [edi + 0x6c], esi
mov esi, dword [ebp - 0x850]
test esi, esi
je 0x4383fb
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 0x4383f8
call fcn.00417eee
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.0042939f
cmp dword [edi + 0x74], 0
jne 0x43842d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2d0
jmp 0x437fb4
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.0042939f
cmp dword [edi + 0x78], 0
jne 0x43845f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2d3
jmp 0x437fb4
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.0042939f
cmp dword [esi], 0
jne 0x438493
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2d6
jmp 0x437fb4
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 0x437cd0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, esi
call fcn.0042939f
cmp dword [esi], 0
jne 0x438500
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2e6
jmp 0x437fb4
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 0x437cd0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, esi
call fcn.0042939f
cmp dword [esi], 0
jne 0x43856e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
push 0x2f4
jmp 0x437fb4
push dword [ebp + 0x10]
lea ecx, [edi + 0x88]
call fcn.00429f28
mov esi, eax
mov dword [ebp - 0x844], esi
test esi, esi
jns 0x4385b8
mov eax, dword [edi + 0x60]
push 0x2f8
push 0x40fd90
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473450]
lea ecx, [edi + 0x60]
call esi
mov edx, dword [ebp - 0x844]
mov ecx, eax
call fcn.00444f99
mov esi, dword [ebp - 0x844]
mov ecx, esi
call fcn.00418048
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x850]
test ecx, ecx
je 0x4385d9
call fcn.00417eee
and dword [ebp - 0x850], 0
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4385ef
mov ecx, ebx
call fcn.00417eee
and dword [ebp - 0x84c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x854]
call fcn.00416e29
mov eax, dword [ebp - 0x844]
call fcn.0046b399
ret 0x1c