Function at 0x47fa10
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e15c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x3a4], 0
jne 0x47fbea
push 0x2a7
push str.d:workcodegit_saltbox_src_scinstallermaindlg.cpp
push str._s__d_:_init_failed
push 0
call fcn.0043f550
add esp, 0x10
mov ecx, edi
push 0x64
call fcn.00480020
mov eax, dword [0x7ae004]
push 0x1e
mov dword [ebp - 0x18], eax
call fcn.004852f4
add esp, 4
test eax, eax
je 0x47fabc
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 8
mov dword [eax + 8], 8
mov word [eax + 0x1c], cx
add eax, 0xc
movups xmm0, xmmword [str.dlg_main]
mov dword [ebp - 0x18], eax
movups xmmword [eax], xmm0
mov dword [ebp - 4], 0
mov eax, dword [0x7ae004]
push 0x2e
mov dword [ebp - 0x14], eax
call fcn.004852f4
add esp, 4
test eax, eax
je 0x47fb09
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov word [eax + 0x2c], cx
add eax, 0xc
push 0x20
push str.main_already_lan
push eax
mov dword [ebp - 0x14], eax
call fcn.00667e40
add esp, 0xc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [0x7c5ac0]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0049b9a2
push 0
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.0048be91
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x47fb4b
cmp dword [eax - 4], 0
jge 0x47fb65
mov eax, dword [eax - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
mov ecx, esi
push eax
call fcn.00481290
test al, al
jne 0x47fb65
xor eax, eax
jmp 0x47fb67
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00480120
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fb97
push edi
call esi
test eax, eax
jg 0x47fb97
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x28]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fbb9
push edi
call esi
test eax, eax
jg 0x47fbb9
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fbdb
push edi
call esi
test eax, eax
jg 0x47fbdb
push edi
call fcn.004852ef
add esp, 4
mov dword [ebp - 4], 7
mov edi, dword [ebp - 0x18]
jmp 0x47ffdc
sub esp, 0x18
lea eax, [edi + 0x470]
mov dword [ebp - 0x28], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0044e260
xor edx, edx
mov ecx, esi
call fcn.004554b0
lea eax, [edi + 0x488]
mov dword [ebp - 4], 8
mov ecx, esp
push eax
call fcn.0042fd80
lea esi, [edi + 0x3a0]
mov dword [ebp - 4], 0xffffffff
push 1
mov ecx, esi
call fcn.0047c430
test eax, eax
jne 0x47fdce
push 0x2af
push str.d:workcodegit_saltbox_src_scinstallermaindlg.cpp
push str._s__d_:_GetMainFolder_or_setInfo_failed
push eax
call fcn.0043f550
add esp, 0x10
mov ecx, edi
push 0x64
call fcn.00480020
mov eax, dword [0x7ae004]
push 0x1e
mov dword [ebp - 0x14], eax
call fcn.004852f4
add esp, 4
test eax, eax
je 0x47fca0
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 8
mov dword [eax + 8], 8
mov word [eax + 0x1c], cx
add eax, 0xc
movups xmm0, xmmword [str.dlg_main]
mov dword [ebp - 0x14], eax
movups xmmword [eax], xmm0
mov dword [ebp - 4], 9
mov eax, dword [0x7ae004]
push 0x36
mov dword [ebp - 0x18], eax
call fcn.004852f4
add esp, 4
test eax, eax
je 0x47fced
mov dword [eax], 1
xor ecx, ecx
mov dword [eax + 4], 0x14
mov dword [eax + 8], 0x14
mov word [eax + 0x34], cx
add eax, 0xc
push 0x28
push str.main_init_failed_lan
push eax
mov dword [ebp - 0x18], eax
call fcn.00667e40
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
mov ecx, dword [0x7c5ac0]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049b9a2
push 0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.0048be91
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x47fd2f
cmp dword [eax - 4], 0
jge 0x47fd49
mov eax, dword [eax - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
mov ecx, esi
push eax
call fcn.00481290
test al, al
jne 0x47fd49
xor eax, eax
jmp 0x47fd4b
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00480120
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fd7b
push edi
call esi
test eax, eax
jg 0x47fd7b
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x24]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fd9d
push edi
call esi
test eax, eax
jg 0x47fd9d
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fdbf
push edi
call esi
test eax, eax
jg 0x47fdbf
push edi
call fcn.004852ef
add esp, 4
mov dword [ebp - 4], 0x10
mov edi, dword [ebp - 0x14]
jmp 0x47ffdc
mov eax, dword [edi + 0x4b8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x4a0]
push eax
call fcn.0042fd80
lea ecx, [edi + 0x3c8]
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x48]
cmp ecx, eax
je 0x47fe0b
cmp dword [ebp - 0x34], 0x10
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.00430430
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
mov dword [edi + 0x3e0], eax
cmp edx, 0x10
jb 0x47fe4f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47fe45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48000b
push edx
push ecx
call fcn.0062a23d
add esp, 8
cmp dword [esi + 4], 0
jne 0x47fe59
xor eax, eax
jmp 0x47feb0
cmp dword [esi + 0xa8], 0
jne 0x47feab
push 0
push 0
push esi
push 0x47c390
push 0
push 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x47feab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x3cd
push str.d:workcodegit_saltbox_src_base_scupgrade.cpp
push str._s__d_:__SCUpgrade::Start__CreateThread_failed_:__d
push 0
call fcn.0043f550
add esp, 0x14
xor eax, eax
jmp 0x47feb0
mov eax, 1
mov dword [edi + 0x4bc], eax
test eax, eax
jne 0x47fff7
push 0x2bb
push str.d:workcodegit_saltbox_src_scinstallermaindlg.cpp
push str._s__d_:_Start_failed
push eax
call fcn.0043f550
add esp, 0x10
mov ecx, edi
push 0x64
call fcn.00480020
push str.dlg_main
lea ecx, [ebp - 0x20]
call fcn.00426210
push str.main_start_failed_lan
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0x12
call fcn.00426210
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x13
mov ecx, dword [0x7c5ac0]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0049b9a2
push 0
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push eax
call fcn.0048be91
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x15
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x47ff42
cmp dword [eax - 4], 0
jge 0x47ff5c
mov eax, dword [eax - 8]
xor ecx, ecx
test eax, eax
cmovle eax, ecx
mov ecx, esi
push eax
call fcn.00481290
test al, al
jne 0x47ff5c
xor eax, eax
jmp 0x47ff5e
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00480120
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47ff8e
push edi
call esi
test eax, eax
jg 0x47ff8e
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x30]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47ffb0
push edi
call esi
test eax, eax
jg 0x47ffb0
push edi
call fcn.004852ef
add esp, 4
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47ffd2
push edi
call esi
test eax, eax
jg 0x47ffd2
push edi
call fcn.004852ef
add esp, 4
mov dword [ebp - 4], 0x19
mov edi, dword [ebp - 0x20]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x47fff7
push edi
call esi
test eax, eax
jg 0x47fff7
push edi
call fcn.004852ef
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0068843e
int3