Function at 0x4482d0
Capabilities:
Resolve function by parsing pe exports
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x52d50c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov ecx, dword [ebp + 0x2694]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
je 0x44831f
mov eax, 0xe000000a
jmp 0x448beb
mov eax, dword [ebp + 0x2678]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aaa5e
mov esi, dword [ebp + 0x2678]
mov dword [ebp + 0x369c], eax
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 0x20
mul edx
seto cl
mov byte [esp + 0x1b], 0
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004aaa5e
add esp, 4
mov dword [esp + 0x30], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0xa4], edi
je 0x44839f
push 0x446df0
push 0x446dd0
push esi
lea edi, [eax + 4]
push 0x20
push edi
mov dword [eax], esi
call fcn.004f038d
xor ebx, ebx
mov dword [esp + 0xa4], 0xffffffff
cmp dword [ebp + 0x2678], ebx
mov dword [esp + 0x20], edi
jbe 0x44851d
mov dword [esp + 0x24], ebx
add edi, 0x18
lea ecx, [esp + 0x1b]
push 4
mov dword [edi - 8], ebx
mov dword [edi], ecx
mov dword [edi - 0x18], ebp
call fcn.004aaa2e
add esp, 4
test eax, eax
je 0x4483e5
mov dword [eax], 0xffffffff
jmp 0x4483e7
xor eax, eax
push 4
mov dword [edi - 0x14], eax
call fcn.004aaa2e
add esp, 4
test eax, eax
je 0x448400
mov dword [eax], 0xffffffff
jmp 0x448402
xor eax, eax
push 0x14
mov dword [edi - 0x10], eax
call fcn.004aaa2e
add esp, 4
test eax, eax
je 0x44841c
mov esi, eax
call fcn.004579e0
jmp 0x44841e
xor eax, eax
xor esi, esi
push esi
mov dword [edi - 0xc], eax
call fcn.004f1504
mov ecx, dword [ebp + 0x369c]
mov dword [ecx + ebx*8], eax
mov dword [ecx + ebx*8 + 4], edx
mov eax, dword [ebp + 0x2690]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp dword [ecx + eax + 0x1c], esi
jl 0x4484ec
jg 0x448459
cmp dword [ecx + eax + 0x18], esi
jbe 0x4484ec
push 4
call fcn.004aaa2e
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
mov dword [esp + 0xa4], 1
je 0x4484b7
push 0x18
call fcn.004aaa2e
add esp, 4
test eax, eax
je 0x44849f
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x10], 0xffffffff
mov byte [eax + 8], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0xc], ecx
jmp 0x4484a1
xor eax, eax
test eax, eax
mov dword [esi], eax
je 0x4484b9
lea ecx, [edi - 0x18]
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [edx + 4], 0x447b00
jmp 0x4484b9
xor esi, esi
test esi, esi
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x38], esi
je 0x4485e8
push ebx
lea ecx, [ebp + 0x2680]
lea eax, [esp + 0x3c]
call fcn.0044a100
add esp, 4
mov ecx, esi
call fcn.0040b090
jmp 0x448506
push ebx
lea ecx, [ebp + 0x2680]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.0044a100
add esp, 4
mov dword [edi + 4], esi
add dword [esp + 0x24], 0x28
add ebx, 1
add edi, 0x20
cmp ebx, dword [ebp + 0x2678]
jb 0x4483c3
mov eax, dword [ebp + 0x2678]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aaa5e
mov esi, eax
mov eax, dword [ebp + 0x2678]
xor ecx, ecx
add esp, 4
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x28], esi
neg ecx
or ecx, eax
push ecx
call fcn.004aaa5e
add esp, 4
sub esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
lea edi, [ebp + 0x2680]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
xor ebp, ebp
xor esi, esi
add eax, 0x1c
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x448610
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x448610
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
je 0x448603
test ecx, ecx
je 0x4485b4
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4485b9
call fcn.004ec14b
mov ecx, dword [edi + 4]
cmp dword [ecx + esi*4], 0
je 0x448603
test ecx, ecx
je 0x4485d2
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4485d7
call fcn.004ec14b
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*4]
mov eax, dword [eax]
test eax, eax
je 0x4485f2
mov eax, dword [eax + 0x10]
jmp 0x4485f4
mov eax, 0x80004005
jmp 0x448beb
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword [ecx + ebx], eax
mov dword [ebx], esi
add ebp, 1
add ebx, 4
add esi, 1
add dword [esp + 0x1c], 0x20
jmp 0x448584
test ebp, ebp
mov dword [esp + 0x2c], ebp
je 0x4488c0
mov edx, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0x14d
push 0
push edx
push ebp
call ebx
mov esi, eax
cmp esi, 0x102
jne 0x44866f
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x2694]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jne 0x4489f8
mov ecx, dword [esp + 0x28]
push 0x14d
push eax
push ecx
push ebp
call ebx
mov esi, eax
cmp esi, 0x102
je 0x44863b
cmp esi, ebp
jae 0x448a3c
mov edx, dword [esp + 0x24]
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x20]
shl eax, 5
add eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x448571
cmp ecx, 0xe0000007
jne 0x448a20
mov eax, dword [eax + 0x14]
cmp eax, 6
jae 0x448a20
cmp eax, 3
jne 0x44874d
mov edx, dword [esp + 0xac]
cmp byte [edx + 0x369a], 0
je 0x44874d
mov eax, edx
cmp byte [eax + 0x369b], 0
je 0x44874d
mov ebx, eax
movzx eax, word [ebx + 0x2662]
lea edx, [esp + 0x40]
push edx
push eax
lea ebp, [ebx + 0x1008]
lea ecx, [ebx + 0x1808]
push ebp
mov byte [ebx + 0x369a], 0
mov dword [esp + 0x28], eax
call fcn.004479d0
test eax, eax
jne 0x448742
mov eax, dword [esp + 0x40]
mov ecx, ebx
cmp eax, dword [ecx + 0x2668]
jne 0x44874d
mov edx, dword [esp + 0x44]
mov eax, ecx
cmp edx, dword [eax + 0x266c]
jne 0x44874d
mov eax, ebp
mov edx, ebx
call fcn.004493d0
mov cx, word [esp + 0x1c]
lea eax, [ebx + 0x1808]
mov edx, ebx
mov word [ebx + 0x3698], cx
call fcn.00449400
jmp 0x44874d
cmp eax, 0xe0000005
je 0x448a0a
mov eax, dword [esp + 0x20]
mov edx, esi
shl edx, 5
mov ebp, dword [edx + eax + 4]
lea ebx, [edx + eax]
mov eax, dword [ebp]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], ebx
je 0x44877b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44877b
mov dword [ebp], 0xffffffff
mov ebp, dword [ebx + 8]
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x448798
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x448798
mov dword [ebp], 0xffffffff
mov ebx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
push ecx
call sub.WS2_32.dll_closesocket
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4487b7
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4487bc
call fcn.004ec14b
mov edx, dword [edi + 4]
mov ebp, dword [edx + esi*4]
test ebp, ebp
je 0x44880a
mov ebx, dword [ebp]
test ebx, ebx
je 0x448801
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x4487e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x10], 0xffffffff
mov byte [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [ebp]
push eax
call fcn.004aaa59
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.004aaa59
add esp, 4
push esi
mov eax, edi
call fcn.0044a190
add esp, 4
push 4
call fcn.004aaa2e
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0xa4], 2
je 0x448875
push 0x18
call fcn.004aaa2e
add esp, 4
cmp eax, ebp
je 0x44885c
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0x10], 0xffffffff
mov byte [eax + 8], 0
mov dword [eax + 0x14], ebp
mov dword [eax + 0xc], ebp
jmp 0x44885e
xor eax, eax
cmp eax, ebp
mov dword [ebx], eax
je 0x448877
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov edx, dword [ebx]
mov dword [edx + 4], 0x447b00
jmp 0x448877
xor ebx, ebx
cmp ebx, ebp
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x30], ebx
je 0x4485e8
push esi
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.0044a100
add esp, 4
mov ecx, ebx
call fcn.0040b090
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0x20]
shl ecx, 5
add dword [ecx + edx + 0x14], 1
lea eax, [ecx + edx + 0x14]
jmp 0x448571
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x1c], 0
je 0x44890a
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esp + 0x28]
push 0x14d
push 1
push eax
push ebp
call ebx
cmp eax, 0x102
jne 0x44890a
xor esi, esi
test ebp, ebp
jbe 0x44890a
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + esi*4]
push 1
push edx
call ebx
add esi, 1
cmp esi, ebp
jb 0x4488f7
cmp dword [esp + 0x20], 0
je 0x448932
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x446df0
push ecx
push 0x20
push eax
call fcn.004f032a
push esi
call fcn.004aaa63
add esp, 4
mov edx, dword [esp + 0x28]
push edx
call fcn.004aaa63
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.004aaa63
add esp, 4
xor ebx, ebx
mov edi, edi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x448a4e
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x448a4e
test ecx, ecx
je 0x44897b
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x448980
call fcn.004ec14b
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4489ce
mov esi, dword [ebp]
test esi, esi
je 0x4489c5
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x4489a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0xffffffff
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov edx, dword [ebp]
push edx
call fcn.004aaa59
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.004aaa59
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4489e1
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4489e6
call fcn.004ec14b
mov eax, dword [edi + 4]
mov dword [eax + ebx*4], 0
add ebx, 1
jmp 0x448950
mov dword [esp + 0x1c], 0xe000000a
mov byte [esp + 0x1b], 1
jmp 0x4488d5
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0xe0000005
mov byte [esp + 0x1b], 1
jmp 0x4488cf
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x20]
shl eax, 5
mov edx, dword [eax + ecx + 0x1c]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1b], 1
jmp 0x4488d5
mov eax, 1
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1b], al
jmp 0x4488d5
mov ebx, dword [edi + 8]
cmp ecx, ebx
jbe 0x448a5a
call fcn.004ec14b
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x448a67
call fcn.004ec14b
cmp esi, ebx
je 0x448a90
mov eax, dword [edi + 8]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + esi]
jle 0x448a8d
push ecx
push ebx
push ecx
push esi
call fcn.004eb0d1
add esp, 0x10
mov dword [edi + 8], ebp
cmp dword [esp + 0x1c], 0
jne 0x448be7
mov ebp, dword [esp + 0xac]
lea ecx, [ebp + 0x2008]
xor ebx, ebx
mov edi, 7
mov eax, ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x448ac1
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00402af0
lea ecx, [ebp + 0x2210]
mov dword [esp + 0xa4], 3
mov eax, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x448b00
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00402af0
lea esi, [esp + 0x64]
lea ebx, [esp + 0x48]
mov byte [esp + 0xa4], 4
call fcn.0043d710
cmp dword [esp + 0x60], 8
jb 0x448b43
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004aaa59
add esp, 4
xor esi, esi
mov ebx, 8
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x448b75
mov edx, dword [esp + 0x68]
push edx
call fcn.004aaa59
add esp, 4
lea edx, [ebp + 0x2418]
mov eax, edx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov word [esp + 0x84], si
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x448b96
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x88]
call fcn.00402af0
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0xa8], 5
call fcn.0043d8a0
add esp, 4
cmp dword [esp + 0x98], ebx
jb 0x448be7
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004aaa59
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4