Function at 0x46fd90
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c54ad
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66b958]
push dword [eax + 0x66bae4]
push ecx
mov dword [esp], 0x40c00000
push dword [eax + 0x66bb70]
push dword [eax + 0x66bb74]
push dword [eax + 0x66b924]
call fcn.00480a30
add esp, 0x18
test al, al
je 0x46fe80
mov dword [ebx + 0x1e4], 0
mov eax, dword [ebx + 0x1d4]
cmp eax, 0xffffffff
je 0x46fe4a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x46fe34
push 0
push dword [ebx + 0x1d4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebx + 0x1d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x1d4], 0xffffffff
mov ecx, ebx
call fcn.00473d90
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_THPrac::THGameGui::GuiScanFolder_void_::_5::_lambda_1___void___.0
push ebx
mov ecx, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x5c], eax
call fcn.004699b0
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x46fe80
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
push eax
call edx
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.004181d0
imul eax, dword [0x66b030], 0xe2c
add esp, 4
mov dword [esp], 0
push 0
push 0
mov edi, dword [eax + 0x66ba2c]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.0040b100
mov esi, eax
call fcn.0040eab0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 0x10
subss xmm0, dword [esi]
mulss xmm0, dword [0x5cbfc4]
movss dword [esp], xmm0
call fcn.00418b00
push edi
push 0x5cbf50
call fcn.0043c950
add esp, 0xc
call fcn.00439230
mov eax, dword [ebx + 0x1e4]
test eax, eax
jne 0x47017f
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66bb5c]
push 0x5cbf50
call fcn.0043c950
call fcn.00437ac0
imul eax, dword [0x66b030], 0xe2c
push 0
push dword [eax + 0x66bb7c]
call fcn.0043c8d0
imul eax, dword [0x66b030], 0xe2c
lea esi, [ebx + 0x1e8]
push esi
push dword [eax + 0x66bb68]
call fcn.00431e50
lea eax, [ebx + 0x1e9]
push eax
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66bb64]
call fcn.00431e50
imul eax, dword [0x66b030], 0xe2c
lea edi, [ebx + 0x1eb]
push edi
push dword [eax + 0x66bb8c]
call fcn.00431e50
add esp, 0x28
cmp byte [esi], 0
jne 0x46ffb4
cmp byte [ebx + 0x1e9], 0
jne 0x46ffb4
cmp byte [ebx + 0x1ea], 0
jne 0x46ffb4
cmp byte [edi], 0
jmp 0x47010f
call fcn.00437ac0
imul eax, dword [0x66b030], 0xe2c
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [eax + 0x66bb88]
call fcn.00431560
add esp, 8
test al, al
je 0x47003e
lea eax, [ebp - 0x30]
push str.Browse_for_folder...
push eax
call fcn.004813f0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push 0x5d5a64
push eax
call fcn.0045da10
add esp, 0x10
test al, al
jne 0x47002f
lea ecx, [ebx + 0x208]
lea eax, [ebp - 0x30]
cmp ecx, eax
je 0x47002f
cmp dword [ebp - 0x1c], 7
push dword [ebp - 0x20]
cmova eax, dword [ebp - 0x30]
push eax
call fcn.00469260
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004443f0
mov edi, dword [ebx + 0x21c]
lea esi, [ebx + 0x208]
mov eax, dword [esi + 0x10]
mov ecx, esi
cmp edi, 7
jbe 0x470056
mov ecx, dword [esi]
test eax, eax
jne 0x47008c
push eax
push 0x5d5a64
push ecx
call fcn.00469370
add esp, 0xc
test eax, eax
jne 0x47008c
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66bb54]
push 0x5cbf50
call fcn.0043c950
add esp, 8
jmp 0x4700dc
cmp edi, 7
jbe 0x470093
mov esi, dword [esi]
push 0xfde9
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00544550
cmp dword [ebp - 0x3c], 0xf
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
cmova ecx, dword [ebp - 0x50]
imul eax, dword [0x66b030], 0xe2c
push ecx
push dword [eax + 0x66bb58]
call fcn.0043c950
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004443a0
cmp dword [ebx + 0x21c], 7
lea eax, [ebx + 0x208]
mov ecx, dword [eax + 0x10]
jbe 0x4700f0
mov eax, dword [eax]
test ecx, ecx
jne 0x47010b
push ecx
push 0x5d5a64
push eax
call fcn.00469370
add esp, 0xc
test eax, eax
jne 0x47010b
xor al, al
jmp 0x47010d
mov al, 1
test al, al
je 0x47035d
imul eax, dword [0x66b030], 0xe2c
lea ecx, [ebp - 0x18]
push 0
push ecx
push 0
mov dword [ebp - 0x18], 0x3fc00000
mov dword [ebp - 0x14], 0x3f000000
push dword [eax + 0x66b954]
call fcn.00480dc0
add esp, 0x10
test eax, eax
je 0x47035d
cmp dword [ebx + 0x1d4], 0xffffffff
jne 0x470170
push 0
push 0
push 0
push dword [ebx + 0x1d8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x1d4], eax
mov dword [ebx + 0x1e4], 1
jmp 0x47035d
cmp eax, 1
jne 0x4702f2
call fcn.0040ea60
fmul dword [0x5cbfc4]
push ecx
fstp dword [esp]
call fcn.00418b50
imul eax, dword [0x66b030], 0xe2c
mov dword [esp], 0
push 0
push 0
push dword [eax + 0x66bb6c]
lea eax, [ebp - 0x58]
push eax
call fcn.0040b100
mov esi, eax
call fcn.0040eab0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm1, xmm1
subss xmm0, dword [esi]
add esp, 0x10
mulss xmm0, dword [0x5cbfc4]
subss xmm0, xmm1
movss dword [esp], xmm0
call fcn.00418b00
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66bb6c]
push 0x5cbf50
call fcn.0043c950
add esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004181d0
add esp, 8
lea eax, [ebp - 0x50]
lea ecx, [ebx + 0x1ec]
push eax
call fcn.0046e2b0
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 2
jbe 0x470241
mov eax, dword [eax]
push 0
push eax
call fcn.0043c8d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004443a0
mov eax, dword [ebx + 0x2a4]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x274]
add eax, ebx
cmp dword [eax + 0x14], 0xf
jbe 0x470275
mov eax, dword [eax]
push eax
call fcn.0046e7f0
mov eax, dword [ebx + 0x1d4]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, 0xffffffff
je 0x4702a3
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
cmp dword [ebp - 0x14], 0x103
je 0x47035d
mov dword [ebx + 0x1e4], 2
mov eax, dword [ebx + 0x1d4]
cmp eax, 0xffffffff
je 0x47035d
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
cmp dword [ebp - 0x14], 0x103
jne 0x4702da
push 0
push dword [ebx + 0x1d4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebx + 0x1d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x1d4], 0xffffffff
jmp 0x47035d
cmp eax, 2
jne 0x47035d
call fcn.0040ea60
fmul dword [0x5cbfc4]
push ecx
fstp dword [esp]
call fcn.00418b50
imul eax, dword [0x66b030], 0xe2c
push dword [eax + 0x66bb78]
call fcn.0046e7f0
imul eax, dword [0x66b030], 0xe2c
lea ecx, [ebp - 0x38]
push 0
push ecx
push 0
mov dword [ebp - 0x38], 0x3fc00000
mov dword [ebp - 0x34], 0x3f000000
push dword [eax + 0x66badc]
call fcn.00480dc0
add esp, 0x18
test eax, eax
je 0x47035d
push 1
push 0
mov ecx, ebx
call fcn.0046fb30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret