Function at 0x4474d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4747b5
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x6c]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xac], edi
mov dword [ebp - 4], 3
test esi, esi
jne 0x447867
cmp dword [ebp + 0x50], 8
lea edi, [ebp + 0x3c]
mov eax, dword [ebp + 0x4c]
cmovae edi, dword [ebp + 0x3c]
setae byte [ebp - 0xa5]
test eax, eax
je 0x447563
mov ecx, eax
mov edx, edi
test ecx, ecx
je 0x447559
cmp word [edi], 0x2d
je 0x447554
cmp ecx, 1
je 0x447556
add edx, 2
dec ecx
cmp word [edx], 0x2d
jne 0x447545
mov esi, edx
mov eax, dword [ebp + 0x4c]
test esi, esi
je 0x447563
sub esi, edi
sar esi, 1
jmp 0x447566
or esi, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x74], 0
cmp eax, esi
mov word [ebp - 0x74], cx
mov dword [ebp - 0x64], 0
cmovb esi, eax
mov dword [ebp - 0x60], 7
cmp byte [ebp - 0xa5], cl
lea eax, [ebp + 0x3c]
push esi
cmovne eax, dword [ebp + 0x3c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00411b40
mov byte [ebp - 4], 4
lea eax, [ebp + 0x3c]
cmp dword [ebp + 0x50], 8
mov edi, dword [ebp + 0x4c]
cmovae eax, dword [ebp + 0x3c]
setae byte [ebp - 0xa5]
test edi, edi
je 0x4475eb
mov ecx, edi
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x4475e1
cmp word [eax], 0x2d
je 0x4475df
nop word [eax + eax]
cmp ecx, 1
je 0x4475e1
add edx, 2
dec ecx
cmp word [edx], 0x2d
jne 0x4475d0
mov esi, edx
test esi, esi
je 0x4475eb
sub esi, eax
sar esi, 1
jmp 0x4475ee
or esi, 0xffffffff
inc esi
mov dword [ebp - 0xa4], 0
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp edi, esi
jb 0x447f31
or ecx, 0xffffffff
lea eax, [ebp + 0x3c]
sub edi, esi
cmp edi, 0xffffffff
cmovb ecx, edi
cmp byte [ebp - 0xa5], 0
push ecx
cmovne eax, dword [ebp + 0x3c]
lea ecx, [ebp - 0xa4]
lea eax, [eax + esi*2]
push eax
call fcn.00411b40
mov byte [ebp - 4], 5
lea edi, [ebp + 0x54]
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x64]
cmovae edi, dword [ebp + 0x54]
setae byte [ebp - 0xa5]
test eax, eax
je 0x447692
mov ecx, eax
xor esi, esi
mov edx, edi
test ecx, ecx
je 0x447688
cmp word [edi], 0x2d
je 0x447683
cmp ecx, 1
je 0x447685
add edx, 2
dec ecx
cmp word [edx], 0x2d
jne 0x447674
mov esi, edx
mov eax, dword [ebp + 0x64]
test esi, esi
je 0x447692
sub esi, edi
sar esi, 1
jmp 0x447695
or esi, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x44], 0
cmp eax, esi
mov word [ebp - 0x44], cx
mov dword [ebp - 0x34], 0
cmovb esi, eax
mov dword [ebp - 0x30], 7
cmp byte [ebp - 0xa5], cl
lea eax, [ebp + 0x54]
push esi
cmovne eax, dword [ebp + 0x54]
lea ecx, [ebp - 0x44]
push eax
call fcn.00411b40
mov byte [ebp - 4], 6
lea eax, [ebp + 0x54]
cmp dword [ebp + 0x68], 8
mov edi, dword [ebp + 0x64]
cmovae eax, dword [ebp + 0x54]
setae byte [ebp - 0xa5]
test edi, edi
je 0x44771b
mov ecx, edi
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x447711
cmp word [eax], 0x2d
je 0x44770f
nop dword [eax]
cmp ecx, 1
je 0x447711
add edx, 2
dec ecx
cmp word [edx], 0x2d
jne 0x447700
mov esi, edx
test esi, esi
je 0x44771b
sub esi, eax
sar esi, 1
jmp 0x44771e
or esi, 0xffffffff
inc esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
cmp edi, esi
jb 0x447f36
sub edi, esi
lea eax, [ebp + 0x54]
cmp edi, 0xffffffff
mov ecx, 0xffffffff
cmovb ecx, edi
cmp byte [ebp - 0xa5], 0
push ecx
cmovne eax, dword [ebp + 0x54]
lea ecx, [ebp - 0x8c]
lea eax, [eax + esi*2]
push eax
call fcn.00411b40
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4477a7
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44779d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4477e1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4477d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x447821
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x44785b
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447851
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov byte [ebp - 0xa5], 1
jmp 0x447dee
cmp dword [ebp + 0x50], 8
lea edx, [ebp + 0x3c]
lea ecx, [ebp - 0x8c]
cmovae edx, dword [ebp + 0x3c]
call fcn.00417a90
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004511c8
lea ecx, [ebp - 0x28]
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov byte [ebp - 4], 8
lea eax, [ebp + 0x24]
cmp dword [ebp + 0x38], 8
mov ecx, esi
mov dword [esi + 0x134], edi
cmovae eax, dword [ebp + 0x24]
mov dword [esi + 0x130], eax
mov word [esi + 0x138], 0x100
mov byte [esi + 0x10c], 1
call fcn.00439780
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.0043ca90
mov esi, dword [ebp - 0x14]
cmp esi, dword [edi]
je 0x447cb4
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x447995
cmp byte [0x4d3378], 0
jne 0x447995
mov eax, dword [eax]
mov ecx, dword [0x4d2ea0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x447977
mov edi, dword [ecx + 0x34]
mov eax, 0x2aaaaaab
mov ecx, dword [ecx + 0x38]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
jb 0x447977
cmp dword [edi + 0x104], 8
lea eax, [edi + 0xf0]
jb 0x44797c
mov eax, dword [eax]
jmp 0x44797c
mov eax, 0x47c32c
mov ecx, dword [ebp - 0xac]
push eax
push 0
push 0
push 0
push 0
call dword [ebp - 0x14]
mov byte [0x4d3378], 1
mov esi, dword [esi + 0x28]
mov esi, dword [esi + 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x447cb4
nop word [eax + eax]
mov edi, dword [esi + 0x28]
push 0x54
call fcn.004511c8
mov dword [ebp - 0x2c], eax
push 0x54
push 0
push eax
mov byte [ebp - 4], 9
call fcn.00452b60
add esp, 0x10
lea eax, [ebp + 0x24]
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
push edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00411780
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x24]
mov dword [ebp - 0xb0], esp
mov ecx, esp
push eax
call fcn.00411780
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00411780
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004451e0
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xc
push 0x10
mov dword [ebp - 0x3c], str.ApplyPatchFromPackage
mov dword [ebp - 0x34], 0xffffffff
call fcn.004511c8
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x38], 1
mov dword [eax + 4], str.ApplyPatchFromPackage
push 0
push 0
push eax
push 0x4191d0
push 0
mov dword [eax], vtable.Util::UniquePtrThreadAdapter_class_ApplyPatchSetInfo__unsigned_char____cdecl_ApplyPatchSetInfo::__int__void__.0
mov dword [eax + 8], edi
push 0
mov dword [eax + 0xc], 0x4453a0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x447aa2
push ecx
lea ecx, [ebp - 0x28]
call fcn.00448130
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
dec ecx
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
lea edi, [eax*4]
mov eax, dword [ebp - 0x24]
cmp dword [edi + eax], 0
jne 0x447ad4
push 0x10
call fcn.004511c8
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [edi + eax], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [edi + eax]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x38], 0
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x14]
mov dword [eax], str.ApplyPatchFromPackage
mov byte [eax + 4], 1
mov dword [eax + 8], 0xffffffff
inc dword [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00447f60
push dword [esi + 0x28]
lea ecx, [ebp - 0x74]
call fcn.00411890
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
mov eax, dword [esi + 0x28]
add eax, 0x18
push eax
call fcn.00411890
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, dword [esi + 0x28]
cmp dword [edi + 0x44], 0x10
lea eax, [edi + 0x30]
mov edx, dword [eax + 0x10]
jb 0x447b41
mov eax, dword [eax]
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
push edx
cmovae ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
push eax
call fcn.00414cb0
add esp, 8
test al, al
jne 0x447bfd
mov eax, dword [edi + 0x50]
mov dword [ebp - 0xb0], eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x447b9f
lea ecx, [ebp - 0x5c]
lea eax, [edi + 0x10]
push ecx
push eax
call fcn.00425ae0
test al, al
je 0x447b8f
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0xb0]
jmp 0x447b99
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0xb0], eax
cmp byte [edi + 0xd], 0
je 0x447b73
cmp byte [eax + 0xd], 0
jne 0x447bc1
add eax, 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00425ae0
test al, al
jne 0x447bc1
mov eax, dword [ebp - 0xb0]
mov ecx, dword [esi + 0x28]
jmp 0x447bc7
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 0x50]
cmp eax, dword [ecx + 0x50]
je 0x447bfd
mov eax, dword [eax + 0x28]
lea ecx, [ebp - 0x5c]
add eax, 0x18
cmp ecx, eax
je 0x447b30
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x447be8
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00411c40
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], ecx
jmp 0x447b30
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x447c37
mov ecx, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x447c2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x447c6f
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447c65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x447c95
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x447c91
cmp esi, dword [eax + 8]
jne 0x447c91
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x447c81
mov esi, eax
jmp 0x447caa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x447caa
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x447ca0
cmp byte [esi + 0xd], 0
je 0x4479b0
cmp dword [ebp - 0x18], 0
je 0x447d30
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
dec ecx
and ecx, edx
mov esi, dword [eax + ecx*4]
cmp byte [esi + 4], 0
je 0x447cff
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x2c]
mov byte [esi + 4], 0
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x2c]
push dword [esi + 0xc]
mov dword [esi + 8], eax
call edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp byte [eax + 4], 0
je 0x447d1d
push dword [eax + 0xc]
mov byte [eax + 4], 0
call edi
mov edx, dword [ebp - 0x1c]
sub dword [ebp - 0x18], 1
je 0x447d29
inc edx
mov dword [ebp - 0x1c], edx
jmp 0x447cc3
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0xb4]
mov ecx, esi
mov byte [esi + 0x138], 1
call fcn.004396e0
cmp dword [ebp + 0x38], 8
lea edx, [ebp + 0x24]
lea ecx, [ebp + 0xc]
cmovae edx, dword [ebp + 0x24]
cmp dword [ebp + 0x20], 8
push 0
cmovae ecx, dword [ebp + 0xc]
call fcn.00446af0
add esp, 4
mov byte [esi + 0x10c], 0
cmp dword [ebp + 0x38], 8
lea ecx, [ebp + 0x24]
lea eax, [ebp + 0xc]
cmovae ecx, dword [ebp + 0x24]
cmp dword [ebp + 0x20], 8
push 0
push dword [ebp - 0xac]
cmovae eax, dword [ebp + 0xc]
push 0
push 0
push ecx
push eax
mov ecx, esi
call fcn.00438b20
cmp dword [ebp + 0x20], 8
mov ecx, esi
mov byte [ebp - 0xa5], al
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00438890
lea ecx, [ebp - 0x28]
call fcn.00448060
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x447dee
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447de4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x447e28
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447e1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x447e76
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447e6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp + 0x50]
xor eax, eax
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
cmp edx, 8
jb 0x447ec4
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447eba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp + 0x68]
xor eax, eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 7
mov word [ebp + 0x3c], ax
cmp edx, 8
jb 0x447f0e
mov ecx, dword [ebp + 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447f04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447f3b
push edx
push ecx
call fcn.00451449
add esp, 8
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
ret 0x68
call fcn.00412440
call fcn.00412440
call fcn.00460976
int3