Function at 0x45d7ef
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x73a258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov ax, word [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov word [esi + 4], di
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
mov word [esi + 6], di
mov ecx, dword [esp + 0x58]
push 0x18
mov dword [esp + 0x54], edi
mov dword [esi], vtable.CDSChannel.0
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], 0xffffd8f0
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.0040fa60
add esp, 4
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ax, word [esi + 4]
mov bx, ax
mov dl, al
shr dl, 1
mov ebp, 0x2b11
mov ecx, ebx
shr ecx, 2
and ecx, 3
shl ebp, cl
mov ecx, eax
and edx, 1
and ecx, 1
add edx, 1
shl edx, cl
mov eax, 0x10624dd3
and ebx, 1
add ebx, 1
movzx ecx, dx
imul ecx, ebp
imul ecx, dword [0x85ce98]
mul ecx
shr edx, 6
xor eax, eax
mov dword [esi + 0x20], edx
imul edx, dword [0x85ce9c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x1c], edx
mov cx, word [esi + 4]
mov al, cl
shr al, 1
mov word [esp + 0x14], 1
mov word [esp + 0x16], bx
mov dword [esp + 0x18], ebp
and ecx, 1
and eax, 1
add eax, 1
shl eax, cl
movzx ecx, ax
imul ecx, ebp
mov word [esp + 0x20], ax
mov dword [esp + 0x1c], ecx
mov ax, word [esi + 4]
mov bl, al
shr bl, 1
mov ecx, eax
and ecx, 1
and ebx, 1
add ebx, 1
shl ebx, cl
mov ecx, eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
movzx ebx, bx
mov dword [esp + 0x2c], eax
add ebx, ebx
and ecx, 1
mov dword [esp + 0x30], eax
add ebx, ebx
add ecx, 1
mov dword [esp + 0x34], eax
shr ecx, 1
add ebx, ebx
sar ebx, cl
cmp dword [0x8fdf1c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14]
mov word [esp + 0x22], bx
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], 0x24
mov dword [esp + 0x28], 0xc0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
je 0x45d973
mov dword [esp + 0x28], 0xc8
jmp 0x45d983
cmp dword [0x8fdf20], edi
je 0x45d983
mov dword [esp + 0x28], 0xc4
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x60]
push edx
lea edx, [esp + 0x2c]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, edi
jge 0x45d9a6
push eax
call fcn.0071bbc1
jmp 0x45d9f2
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
lea eax, [esi + 0x18]
push eax
push 0x80aa84
push ecx
call dword [edx]
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, edi
jge 0x45d9d0
push ebx
call fcn.0071bbc1
jmp 0x45d9f2
lea edx, [esp + 0x58]
push edx
push edi
push esi
push 0x45d460
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x45d9f2
mov dword [esi + 8], 1
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8