Function at 0xe85d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xf1420d
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0xe85dfe
mov edi, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
lea eax, [edi - 1]
cmp eax, edx
mov dword [esp + 0x18], edx
jle 0xe85dfb
call fcn.00e6e4b0
mov ecx, dword [esp + 0x18]
sub edi, ecx
xor edx, edx
div edi
add edx, ecx
mov dword [esi + 0x44], edx
mov eax, dword [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0xe86334
mov edi, dword [eax + 0xc]
call fcn.00e6e4b0
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x3e8
idiv ecx
cmp edi, edx
jle 0xe86334
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x48], ebx
jbe 0xe86334
lea ecx, [ecx]
mov eax, dword [esi + 0x5c]
mov ecx, 1
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x10], ecx
jne 0xe85e5b
mov edx, dword [eax + 0x88]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jle 0xe86322
lea esp, [esp]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x465
push ecx
call edi
cmp eax, 0xffffffff
jne 0xe85eb0
jmp 0xe85e90
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
push ebx
push edx
push 0x465
push eax
call edi
cmp eax, 0xffffffff
je 0xe85e90
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
dec ecx
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0xe85edd
call fcn.00e6e4b0
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
xor edx, edx
div ecx
add edx, dword [esp + 0x10]
jmp 0xe85edf
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, eax
lea edx, [ecx + 2]
mov dword [esp + 0x14], edx
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0xe85f00
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x7c]
call fcn.00e51cc0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
push 1
push eax
push 0x465
push ecx
call edi
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
xor ecx, ecx
mov word [esp + 0x6c], cx
mov ecx, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
lea edx, [ecx + 2]
mov di, word [ecx]
add ecx, 2
cmp di, bx
jne 0xe85f51
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00e51cc0
mov dword [esp + 0x498], ebx
mov edx, dword [esi + 0x5c]
mov eax, dword [edx + 0x10]
cmp eax, 1
jne 0xe85f86
cmp dword [esi + 0x58], ebx
jne 0xe86300
cmp eax, 6
jne 0xe85fab
push str.AD418965_BA62_4742_83D1_650C23B92721
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x10], 8
jne 0xe86132
inc dword [0xf3a538]
push 8
call fcn.00eb9980
add esp, 4
push 0xf8
mov edi, eax
call fcn.00eb9980
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 1
cmp eax, ebx
je 0xe85ff3
push eax
call fcn.00e89700
mov dword [esp + 0x10], eax
jmp 0xe85ff7
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x10]
mov byte [esp + 0x498], bl
mov ecx, dword [esi + 0x5c]
push 0x14
mov dword [edx], ecx
push str.abk__eiie3lgliec
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00e511b0
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
push eax
add ecx, 0x58
mov byte [esp + 0x4a4], 2
call fcn.00e51680
mov byte [esp + 0x498], bl
cmp dword [esp + 0x5c], 0x10
jb 0xe8605e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00eb98f8
add esp, 4
mov edx, dword [0xf3a538]
mov eax, dword [esp + 0x10]
push edi
push ecx
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.00e88e40
add esp, 4
call fcn.00e76ff0
push ebx
push ebx
push edi
push 0xe85970
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1fe
lea edx, [esp + 0x8a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x90], cx
call fcn.00ec1460
mov eax, dword [0xf3a538]
add esp, 0xc
push eax
push str.EEFE71E9_8125_4b08_A99B_76C1FFF5DC0A__d
lea edx, [esp + 0x8c]
call fcn.00e89300
add esp, 8
lea ecx, [esp + 0x84]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00e76970
movzx edi, word [eax + 0xf4]
call fcn.00e76970
movzx eax, word [eax + 0xf6]
mov ecx, dword [0xf3b7ec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
movzx edi, di
movzx eax, ax
push edi
push eax
call edx
mov eax, dword [esi + 0x34]
push ebx
push 0x3e8
push 0x2715
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x10], 9
jne 0xe862c9
inc dword [0xf3a53c]
push 8
call fcn.00eb9980
add esp, 4
push 0xf8
mov edi, eax
call fcn.00eb9980
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x498], 3
cmp eax, ebx
je 0xe8617a
push eax
call fcn.00e89700
mov dword [esp + 0x10], eax
jmp 0xe8617e
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x498], bl
mov edx, dword [esi + 0x5c]
push 0x1c
push str.KFE8334820K99__fe_RD____hdw
lea ecx, [esp + 0x2c]
mov dword [eax], edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00e511b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x58
mov byte [esp + 0x4a4], 4
call fcn.00e51680
mov byte [esp + 0x498], bl
cmp dword [esp + 0x3c], 0x10
jb 0xe861e5
mov edx, dword [esp + 0x28]
push edx
call fcn.00eb98f8
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0xf3a53c]
push edi
push ecx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [edi], eax
mov dword [edi + 4], ecx
call fcn.00e88e40
add esp, 4
call fcn.00e76ff0
push ebx
push ebx
push edi
push 0xe872e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1fe
lea eax, [esp + 0x28a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x290], dx
call fcn.00ec1460
mov ecx, dword [0xf3a53c]
add esp, 0xc
push ecx
push str.B68ECD09_E1A7_433c_9B79_8B54003D12EC__d
lea edx, [esp + 0x28c]
call fcn.00e89300
add esp, 8
lea edx, [esp + 0x284]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00e76970
movzx edi, word [eax + 0xf4]
call fcn.00e76970
movzx eax, word [eax + 0xf6]
mov ecx, dword [0xf3b7ec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
movzx edi, di
movzx eax, ax
push edi
push eax
call edx
mov eax, dword [esi + 0x34]
push ebx
push 0x3e8
push 0x2715
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x498], 0xffffffff
cmp dword [esp + 0x80], 8
jb 0xe862eb
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jl 0xe85e70
jmp 0xe86322
mov dword [esp + 0x498], 0xffffffff
cmp dword [esp + 0x80], 8
jb 0xe86322
mov edx, dword [esp + 0x6c]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x48]
jb 0xe85e40
mov eax, dword [esi + 0x50]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.00eb9637
mov esp, ebp
pop ebp
ret