Function at 0x4dc270
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568a46
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x15], cl
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov esi, dword [0x6489bc]
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
lea esp, [esp]
cmp esi, dword [0x6489bc]
je 0x4dc395
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4dc354
cmp dword [ebp - 0x44], 0x103
je 0x4dc354
lea eax, [ebp - 0x38]
cmp eax, edi
jae 0x4dc335
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
ja 0x4dc335
mov ebx, ecx
sub ebx, eax
sar ebx, 2
cmp edi, dword [ebp - 0x1c]
jne 0x4dc32c
push ecx
lea ecx, [ebp - 0x24]
call fcn.004e1750
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
test edi, edi
je 0x4dc34e
mov eax, dword [eax + ebx*4]
jmp 0x4dc34c
cmp edi, ebx
jne 0x4dc345
push ecx
lea ecx, [ebp - 0x24]
call fcn.004e1750
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x4dc34e
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x20], edi
cmp byte [esi + 0xd], 0
mov ebx, dword [ebp - 0x1c]
jne 0x4dc2d0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4dc376
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4dc38d
jmp 0x4dc36a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4dc38b
cmp esi, dword [eax + 8]
jne 0x4dc38b
mov esi, eax
mov dword [ebp - 0x40], esi
jmp 0x4dc376
mov esi, eax
mov ebx, dword [ebp - 0x1c]
jmp 0x4dc2c6
xor esi, esi
mov dword [ebp - 0x60], esi
mov eax, edi
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4dc435
lea ebx, [ecx + esi*4]
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.004e1a80
mov dword [ebp - 0x58], 0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
call fcn.004e1670
cmp dword [ebx], 0
je 0x4dc42f
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4dc429
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x78], al
push 0x52
push str.ERROR_____:_4.1.47_:_CleanupThreads_..dll_asodll.cpp:1174__:_CloseHandle_failed_r_n
lea ecx, [ebp - 0x78]
call fcn.004027f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], 0x10
jb 0x4dc417
push dword [ebp - 0x78]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov dword [ebx], 0
inc esi
jmp 0x4dc397
cmp byte [ebp - 0x15], 0
je 0x4dc747
xor esi, esi
mov dword [ebp - 0x54], esi
mov ecx, dword [0x6489c4]
lea ebx, [ebx]
mov eax, dword [0x6489c8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4dc4e6
lea eax, [ecx + esi*4]
cmp dword [eax], 0
je 0x4dc4dd
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4dc4cb
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x90], al
push 0x52
push str.ERROR_____:_4.1.47_:_CleanupThreads_..dll_asodll.cpp:1182__:_CloseHandle_failed_r_n
lea ecx, [ebp - 0x90]
call fcn.004027f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x7c], 0x10
jb 0x4dc4b6
push dword [ebp - 0x90]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov eax, dword [0x6489c4]
mov dword [eax + esi*4], 0
mov ecx, dword [0x6489c4]
inc esi
mov dword [ebp - 0x54], esi
jmp 0x4dc450
mov dword [0x6489c8], ecx
xor edx, edx
mov dword [ebp - 0x30], edx
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 6
mov esi, dword [0x6489bc]
mov esi, dword [esi]
mov dword [ebp - 0x3c], esi
lea ebx, [ebx]
cmp esi, dword [0x6489bc]
je 0x4dc64c
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x34]
cmp eax, edi
jae 0x4dc59c
cmp edx, eax
ja 0x4dc59c
mov ebx, eax
sub ebx, edx
sar ebx, 2
cmp edi, ecx
jne 0x4dc591
mov eax, ecx
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x4dc591
sub edi, edx
sar edi, 2
mov eax, 0x3fffffff
sub eax, edi
cmp eax, 1
jae 0x4dc55f
push str.vector_T__too_long
call fcn.0051a53a
inc edi
sub ecx, edx
sar ecx, 2
mov edx, ecx
shr edx, 1
mov eax, 0x3fffffff
sub eax, edx
cmp eax, ecx
jae 0x4dc578
xor ecx, ecx
jmp 0x4dc57a
add ecx, edx
cmp ecx, edi
cmovb ecx, edi
push ecx
lea ecx, [ebp - 0x30]
call fcn.004e1d40
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
test edi, edi
je 0x4dc602
mov eax, dword [edx + ebx*4]
mov dword [edi], eax
jmp 0x4dc602
cmp edi, ecx
jne 0x4dc5fc
mov eax, ecx
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x4dc5fc
sub edi, edx
sar edi, 2
mov eax, 0x3fffffff
sub eax, edi
cmp eax, 1
jae 0x4dc5c7
push str.vector_T__too_long
call fcn.0051a53a
inc edi
sub ecx, edx
sar ecx, 2
mov edx, ecx
shr edx, 1
mov eax, 0x3fffffff
sub eax, edx
cmp eax, ecx
jae 0x4dc5e0
xor ecx, ecx
jmp 0x4dc5e2
add ecx, edx
cmp ecx, edi
cmovb ecx, edi
push ecx
lea ecx, [ebp - 0x30]
call fcn.004e1d40
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
test edi, edi
je 0x4dc602
mov dword [edi], ebx
add edi, 4
mov dword [ebp - 0x2c], edi
cmp byte [esi + 0xd], 0
jne 0x4dc510
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4dc630
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4dc507
jmp 0x4dc61b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4dc645
cmp esi, dword [eax + 8]
jne 0x4dc645
mov esi, eax
mov dword [ebp - 0x3c], esi
jmp 0x4dc630
mov esi, eax
jmp 0x4dc507
xor esi, esi
mov dword [ebp - 0x5c], esi
mov eax, edi
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x4dc71e
lea ebx, [edx + esi*4]
push ebx
lea eax, [ebp - 0x48]
push eax
call fcn.004e1a80
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x58]
push eax
call fcn.004e1670
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [ebx], 0
je 0x4dc712
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4dc70c
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], eax
mov byte [ebp - 0xa8], al
push 0x52
push str.ERROR_____:_4.1.47_:_CleanupThreads_..dll_asodll.cpp:1195__:_CloseHandle_failed_r_n
lea ecx, [ebp - 0xa8]
call fcn.004027f0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x94], 0x10
jb 0x4dc6f1
push dword [ebp - 0xa8]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
mov dword [ebx], 0
inc esi
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x30]
jmp 0x4dc651
mov byte [ebp - 4], 1
test edx, edx
je 0x4dc744
push edx
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4dc76d
push ecx
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret