Function at 0x4b3900
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512df0
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 0x4b394e
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 0x4b397b
mov ecx, eax
call fcn.004a1960
mov ebx, eax
jmp 0x4b397d
xor ebx, ebx
mov edi, dword [ebp + 8]
mov ecx, edi
push str.inputFilePath
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b3eec
push str.inputFilePath
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b3eec
push str.inputFilePath
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4b39d8
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 0x4b39e2
xor ecx, ecx
jmp 0x4b39f0
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b39e7
sub ecx, esi
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 0x4b3e13
push str.outputFolder
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b3e13
push str.outputFolder
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4b3a5e
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 0x4b3a68
xor ecx, ecx
jmp 0x4b3a79
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b3a70
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0047e3b0
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x4b3e09
cmp ecx, edx
jg 0x4b3e09
mov al, byte [ecx + eax]
cmp al, 0x5c
je 0x4b3ab5
push 1
push 0x551834
lea ecx, [esp + 0x18]
call fcn.00487290
lea edx, [ebx + 8]
lea ecx, [esp + 0x10]
call fcn.0047da90
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
or esi, 0xffffffff
cmp eax, 0x57a1b0
je 0x4b3b04
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 1
jne 0x4b3b04
push str.onFinishId
mov ecx, edi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a570
mov dword [ebx + 4], eax
jmp 0x4b3c74
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b3b20
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], 9
test eax, 0xffff0000
jne 0x4b3b60
movzx ecx, ax
call fcn.00471400
test eax, eax
je 0x4b3b6e
mov edx, str.onFinishId_not_exist
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004724d0
jmp 0x4b3b6e
push str.onFinishId_not_exist
lea ecx, [esp + 0x18]
call fcn.00471eb0
push str.extractWithGzip
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xa
call fcn.00471bb0
mov byte [esp + 0x38], 0xb
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b3ba2
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], 0xc
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x38], 0xd
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 0
je 0x4b3bec
push 2
push ecx
lea ecx, [esp + 0x28]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x38], 0xc
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 0x4b3c0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0xb
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 0x4b3c30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0xa
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 0x4b3c52
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 0x4b3c74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.shouldDecrypt
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b3caf
push str.shouldDecrypt
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 5
jne 0x4b3caf
push str.shouldDecrypt
mov ecx, edi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a850
mov byte [ebx + 0x10], al
push str.deleteDecrypted
mov ecx, edi
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b3cea
push str.deleteDecrypted
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 5
jne 0x4b3cea
push str.deleteDecrypted
mov ecx, edi
call fcn.0048ad90
mov ecx, eax
call fcn.0048a850
mov byte [ebx + 0x11], al
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0
push ebx
push 0x4a3100
push 0
push 0
call fcn.004ea558
add esp, 0x18
test eax, eax
jne 0x4b3dfd
test ebx, ebx
je 0x4b3d27
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.extractWithGzip
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 0x4b3d69
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], 0x10
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x38], 0x11
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 0
je 0x4b3db3
push 2
push ecx
lea ecx, [esp + 0x28]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x38], 0x10
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 0x4b3dd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x38], 0xf
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b3df3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 0xe
jmp 0x4b3fba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b3ff9
push 0x80070057
call fcn.004712d0
push str.outputFolder_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWithGzip
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 0x4b3e55
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 + 0x18]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov byte [esp + 0x38], 8
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 0
je 0x4b3e9f
push 2
push ecx
lea ecx, [esp + 0x28]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x38], 7
or esi, 0xffffffff
mov edx, dword [esp + 0x14]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b3ec4
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 0x4b3ee2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x38], 5
jmp 0x4b3fba
push str.inputFilePath_error
lea ecx, [esp + 0x20]
call fcn.00471c70
push str.extractWithGzip
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 0x4b3f2e
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 0x4b3f72
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 0x4b3f97
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 0x4b3fb5
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 0x4b3fd7
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 0x4b3ff9
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 0x4b401c
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