Function at 0x46a2c0
Capabilities:
Create thread

Disassembly:
sub esp, 0x110
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
cmp dword [ebp + 0x6b0], esi
push edi
mov byte [esp + 0x1c], 0
jle 0x46a33e
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebp + 0x1c8]
lea ebx, [ebx]
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46a307
mov ecx, dword [edi]
imul ecx, ecx, 0x7ec
add ecx, 0x4fd1b8
push ecx
sub eax, edx
lea edx, [esp + eax + 0x20]
push 0x49e938
push edx
call ebx
add esi, 1
add esp, 0xc
add edi, 4
cmp esi, dword [ebp + 0x6b0]
jl 0x46a300
mov edi, dword [esp + 0x128]
xor ecx, ecx
cmp edi, 0xa
setne cl
push 0x4def48
lea eax, [esp + 0x20]
push eax
add ecx, 0x7b
push ecx
call fcn.0046da00
add esp, 0xc
lea edx, [esp + 0x1c]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x46a367
mov eax, dword [ebp + 0x18]
push 0x64
lea edx, [esp + 0x20]
push edx
push 1
push 0
push 0
push 1
push eax
call fcn.00463090
add esp, 0x1c
cmp dword [0x4def88], 0
mov dword [esp + 0x14], eax
je 0x46a512
xor esi, esi
cmp dword [ebp + 0x6b0], esi
jle 0x46a441
lea eax, [edi - 0xa]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
lea edi, [ebp + 0x1c8]
jmp 0x46a3c6
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja case.0x46a3d2.1
movzx ecx, byte [eax + 0x46a694]
jmp dword [ecx*4 + 0x46a680]
mov ebx, 0x1f
jmp case.0x46a3d2.1
mov ebx, 0x20
jmp case.0x46a3d2.1
mov ebx, 0x21
jmp case.0x46a3d2.1
xor ebx, ebx
cmp dword [edi + 0x180], ebx
setne bl
add ebx, 0x20
mov edx, dword [edi]
imul edx, edx, 0x7ec
push 8
mov dword [edx + 0x4fd2ec], ebx
call fcn.0048163b
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push 0x46a170
push 0x1e000
push 0
mov dword [eax + 4], esi
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esi, 1
add edi, 4
cmp esi, dword [ebp + 0x6b0]
jl 0x46a3c2
push 0x459
call fcn.00432430
mov edx, dword [esp + 0x14]
push edx
call fcn.0045ff40
add esp, 4
cmp eax, 1
je 0x46a56f
mov ecx, dword [ebp + 0x6b0]
xor edx, edx
test ecx, ecx
jle 0x46a4a0
lea eax, [ebp + 0x1c8]
jmp 0x46a480
mov esi, dword [eax]
imul esi, esi, 0x7ec
cmp dword [esi + 0x4fd2ec], 0
je 0x46a494
add edx, 1
add eax, 4
sub ecx, 1
jne 0x46a480
test edx, edx
jne 0x46a441
mov eax, dword [ebp + 0x6b0]
xor ecx, ecx
test eax, eax
jle 0x46a4e5
add ebp, 0x1c8
jmp 0x46a4c0
mov edx, dword [ebp]
imul edx, edx, 0x7ec
cmp dword [edx + 0x4fd2f0], 0
jne 0x46a4d5
add ecx, 1
add ebp, 4
sub eax, 1
jne 0x46a4c0
test ecx, ecx
jne 0x46a56f
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.0045ff50
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004810ab
add esp, 0x110
ret
xor ecx, ecx
mov eax, 0x4fd2ec
lea esp, [esp]
cmp dword [eax - 0x50], 0
je 0x46a52e
cmp dword [eax], 0
je 0x46a52e
add ecx, 1
cmp dword [eax + 0x79c], 0
je 0x46a543
cmp dword [eax + 0x7ec], 0
je 0x46a543
add ecx, 1
add eax, 0xfd8
cmp eax, 0x50a0e4
jl 0x46a520
test ecx, ecx
je 0x46a585
push 0x459
call fcn.00432430
mov eax, dword [esp + 0x14]
push eax
call fcn.0045ff40
add esp, 4
cmp eax, 1
jne 0x46a512
mov edx, dword [esp + 0x14]
push 0
push edx
call fcn.0045ff50
add esp, 8
xor eax, eax
jmp 0x46a4f9
xor ebx, ebx
cmp dword [ebp + 0x6b0], ebx
jle 0x46a4e5
lea eax, [edi - 0xa]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
lea esi, [ebp + 0x1c8]
jmp 0x46a5aa
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja case.0x46a5b6.1
movzx ecx, byte [eax + 0x46a6c8]
jmp dword [ecx*4 + 0x46a6b4]
mov edi, 0x1f
jmp case.0x46a5b6.1
mov edi, 0x20
jmp case.0x46a5b6.1
mov edi, 0x21
jmp case.0x46a5b6.1
xor edx, edx
cmp dword [esi + 0x180], edx
setne dl
add edx, 0x20
mov edi, edx
mov eax, dword [esi]
imul eax, eax, 0x7ec
push 8
mov dword [eax + 0x4fd2ec], edi
call fcn.0048163b
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push 0x46a170
push 0x1e000
push 0
mov dword [eax + 4], ebx
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esp, [esp]
push 0x459
call fcn.00432430
mov edx, dword [esp + 0x14]
push edx
call fcn.0045ff40
add esp, 4
cmp eax, 1
je 0x46a56f
mov eax, dword [esi]
imul eax, eax, 0x7ec
cmp dword [eax + 0x4fd2ec], 0
jne 0x46a620
mov ecx, dword [esi]
imul ecx, ecx, 0x7ec
cmp dword [ecx + 0x4fd2f0], 0
je 0x46a56f
add ebx, 1
add esi, 4
cmp ebx, dword [ebp + 0x6b0]
jl 0x46a5a6
jmp 0x46a4e5