Function at 0x4b2970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512d40
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b29be
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x14
mov dword [esp + 0x3c], 0
call fcn.004e991c
add esp, 4
test eax, eax
je 0x4b29eb
mov ecx, eax
call fcn.004a1960
mov ebx, eax
jmp 0x4b29ed
xor ebx, ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push str.inputFilePath
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b300e
push str.inputFilePath
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b300e
push str.inputFilePath
mov ecx, edi
call fcn.0048ad90
mov dword [esp + 0x20], eax
cmp byte [eax + 8], 4
je 0x4b2a4e
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4b2a58
xor ecx, ecx
jmp 0x4b2a6c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2a61
sub ecx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0047e3b0
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.0047da90
push str.outputFolder
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b2f3b
push str.outputFolder
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b2f3b
push str.outputFolder
mov ecx, edi
call fcn.0048ad90
mov dword [esp + 0x20], eax
cmp byte [eax + 8], 4
je 0x4b2ae0
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x4b2aea
xor ecx, ecx
jmp 0x4b2afe
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2af3
sub ecx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0047e3b0
lea edx, [ebx + 8]
lea ecx, [esp + 0x10]
call fcn.0047da90
push str.zipDllPath
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b2e68
push str.zipDllPath
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b2e68
push str.zipDllPath
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4b2b6d
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x4b2b77
xor ecx, ecx
jmp 0x4b2b89
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2b80
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0047e3b0
lea edx, [ebx + 0xc]
lea ecx, [esp + 0x10]
call fcn.0047da90
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
or esi, 0xffffffff
cmp eax, 0x57a1b0
je 0x4b2be7
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 1
jne 0x4b2be7
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a570
mov edi, dword [esp + 0x18]
mov dword [ebx + 4], eax
jmp 0x4b2d4f
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b2c03
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.onFinishId_not_exist
mov byte [esp + 0x38], 0xd
test eax, 0xffff0000
jne 0x4b2c3d
movzx edi, ax
mov ecx, edi
call fcn.00471400
test eax, eax
je 0x4b2c4b
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.004724d0
jmp 0x4b2c4b
push str.onFinishId_not_exist
lea ecx, [esp + 0x18]
call fcn.00471eb0
push str.extractWith7zip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xe
call fcn.00471bb0
mov byte [esp + 0x38], 0xf
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b2c7f
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov byte [esp + 0x38], 0x10
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x38], 0x11
mov edi, dword [esp + 0x18]
cmp dword [edi + 0xc], 0
je 0x4b2cc7
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 8]
push eax
call fcn.00473100
mov byte [esp + 0x38], 0x10
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2ce9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0xf
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2d0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0xe
mov ecx, esi
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2d2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2d4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0
push ebx
push 0x4a23e0
push 0
push 0
call fcn.004ea558
add esp, 0x18
test eax, eax
jne 0x4b2e5c
test ebx, ebx
je 0x4b2d8c
mov ecx, ebx
call fcn.004b3160
push ebx
call fcn.004e98a6
add esp, 4
push str._beginthreadex_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWith7zip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x12
call fcn.00471bb0
mov byte [esp + 0x38], 0x13
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b2dce
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 0x14
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x38], 0x15
cmp dword [edi + 0xc], 0
je 0x4b2e12
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 8]
push eax
call fcn.00473100
mov byte [esp + 0x38], 0x14
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2e34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x38], 0x13
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2e52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0x12
jmp 0x4b30dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b311b
push str.zipDllPath_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWith7zip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 9
call fcn.00471bb0
mov byte [esp + 0x38], 0xa
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b2eaa
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 0xb
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x38], 0xc
cmp dword [esi + 0xc], 0
je 0x4b2eee
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.00473100
mov byte [esp + 0x38], 0xb
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b2f13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x38], 0xa
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b2f31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 9
jmp 0x4b30dc
push str.outputFolder_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWith7zip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 5
call fcn.00471bb0
mov byte [esp + 0x38], 6
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b2f7d
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 7
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x38], 8
cmp dword [esi + 0xc], 0
je 0x4b2fc1
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.00473100
mov byte [esp + 0x38], 7
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b2fe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x38], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b3004
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 5
jmp 0x4b30dc
push str.inputFilePath_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWith7zip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.00471bb0
mov byte [esp + 0x38], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b3050
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x1c]
mov byte [esp + 0x38], 3
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x38], 4
cmp dword [esi + 0xc], 0
je 0x4b3094
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.00473100
mov byte [esp + 0x38], 3
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b30b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x38], 2
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b30d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0x20]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b30f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b311b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4b313e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4