Function at 0x467f90
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
mov eax, dword [ebx + 0x6a0]
xor esi, esi
test eax, eax
push edi
mov byte [esp + 0x1c], 0
jle 0x467ffd
lea ebp, [ebx + 0x1c8]
mov ecx, dword [ebp]
lea edi, [esp + 0x1c]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x4f28d8]
xor eax, eax
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x49f620
lea edx, [esp + ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebx + 0x6a0]
add esp, 0xc
inc esi
add ebp, 4
cmp esi, eax
jl 0x467fb8
mov ebp, dword [esp + 0x124]
xor ecx, ecx
cmp ebp, 0xa
lea eax, [esp + 0x1c]
setne cl
push 0x4d4768
add ecx, 0x7b
push eax
push ecx
call fcn.0046b7d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x64
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebx + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
push 1
push 0
push 0
push 1
push edx
call fcn.0045d0f0
mov edi, eax
mov eax, dword [0x4d47a8]
add esp, 0x28
mov dword [esp + 0x14], edi
test eax, eax
je 0x4681fe
mov eax, dword [ebx + 0x6a0]
xor esi, esi
test eax, eax
jle 0x468125
lea eax, [ebp - 0xa]
lea edi, [ebx + 0x1c8]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
jmp 0x468097
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja case.0x4680a4.4
xor ecx, ecx
mov cl, byte [eax + 0x46838c]
jmp dword [ecx*4 + 0x468378]
mov ebp, 0x1f
jmp case.0x4680a4.4
mov ebp, 0x20
jmp case.0x4680a4.4
mov ebp, 0x21
jmp case.0x4680a4.4
mov ecx, dword [edi + 0x174]
xor edx, edx
test ecx, ecx
setne dl
add edx, 0x20
mov ebp, edx
mov ecx, dword [edi]
push 8
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov dword [eax*4 + 0x4f29ac], ebp
call fcn.0047e5d8
add esp, 4
lea ecx, [esp + 0x18]
mov dword [eax + 4], esi
mov dword [eax], ebx
push ecx
push 0
push eax
push 0x467e50
push 0x1e000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebx + 0x6a0]
inc esi
add edi, 4
cmp esi, eax
jl 0x468093
mov edi, dword [esp + 0x14]
push 0x459
call fcn.00445c60
push edi
call fcn.0045d2e0
add esp, 8
cmp eax, 1
je 0x46835f
mov eax, dword [ebx + 0x6a0]
xor ebp, ebp
test eax, eax
jle 0x4681a8
lea edx, [ebx + 0x1c8]
mov esi, eax
mov ecx, dword [edx]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x4f29ac]
test ecx, ecx
je 0x46816e
inc ebp
add edx, 4
dec esi
jne 0x468155
test ebp, ebp
je 0x4681a8
push 0x459
call fcn.00445c60
push edi
call fcn.0045d2e0
add esp, 8
cmp eax, 1
jne 0x468141
push 0
push edi
call fcn.0045d2f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov eax, dword [ebx + 0x6a0]
xor esi, esi
test eax, eax
jle 0x4681e3
add ebx, 0x1c8
mov edx, eax
mov ecx, dword [ebx]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x4f29b0]
test eax, eax
jne 0x4681d5
inc esi
add ebx, 4
dec edx
jne 0x4681bc
test esi, esi
jne 0x46835f
push 0
push edi
call fcn.0045d2f0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
xor ecx, ecx
mov eax, 0x4f29ac
mov edx, dword [eax - 0x50]
test edx, edx
je 0x468212
cmp dword [eax], 0
je 0x468212
inc ecx
add eax, 0x78c
cmp eax, 0x4fede4
jl 0x468205
test ecx, ecx
je 0x468252
push 0x459
call fcn.00445c60
push edi
call fcn.0045d2e0
add esp, 8
cmp eax, 1
jne 0x4681fe
push 0
push edi
call fcn.0045d2f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
mov eax, dword [ebx + 0x6a0]
xor ebp, ebp
test eax, eax
jle 0x4681e3
mov edx, dword [esp + 0x124]
lea esi, [ebx + 0x1c8]
lea eax, [edx - 0xa]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
jmp 0x46827c
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja case.0x468289.4
xor ecx, ecx
mov cl, byte [eax + 0x4683c0]
jmp dword [ecx*4 + 0x4683ac]
mov edi, 0x1f
jmp case.0x468289.4
mov edi, 0x20
jmp case.0x468289.4
mov edi, 0x21
jmp case.0x468289.4
mov ecx, dword [esi + 0x174]
xor edx, edx
test ecx, ecx
setne dl
add edx, 0x20
mov edi, edx
mov ecx, dword [esi]
push 8
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov dword [eax*4 + 0x4f29ac], edi
call fcn.0047e5d8
add esp, 4
lea ecx, [esp + 0x18]
mov dword [eax + 4], ebp
mov dword [eax], ebx
push ecx
push 0
push eax
push 0x467e50
push 0x1e000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x459
call fcn.00445c60
mov edx, dword [esp + 0x18]
push edx
call fcn.0045d2e0
add esp, 8
cmp eax, 1
je 0x46835b
mov ecx, dword [esi]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x4f29ac]
test ecx, ecx
jne 0x4682f4
mov ecx, dword [esi]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x4f29b0]
test eax, eax
je 0x46835b
mov eax, dword [ebx + 0x6a0]
inc ebp
add esi, 4
cmp ebp, eax
jl 0x468278
mov edi, dword [esp + 0x14]
jmp 0x4681e3
mov edi, dword [esp + 0x14]
push 0
push edi
call fcn.0045d2f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret