Function at 0x47e6d9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481ec7
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x49a0d0]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x49a0d0]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x54], 0
mov dword [esp + 0x10], ebx
je 0x47e749
push 0x1a
pop esi
call fcn.0047b8e9
push 0x19
pop esi
mov edi, eax
call fcn.0047b8e9
push 0
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x47ead4
cmp byte [ebx + 0x68], 0
je 0x47e756
xor eax, eax
jmp 0x47ead7
mov esi, dword [sym.imp.USER32.dll_GetParent]
add ebx, 4
push dword [ebx]
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3023
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 2
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 0x3024
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
call fcn.0044d300
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
call fcn.004038c3
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x3c]
push eax
push 0x3ec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x3c]
push eax
mov esi, 0x49f2f8
push esi
call fcn.00402950
cmp word [esp + 0x3c], 0
jne 0x47e876
push 0x1a
pop esi
call fcn.0047b8e9
push 0x1b
pop esi
mov dword [esp + 0x10], eax
call fcn.0047b8e9
push 0
push dword [esp + 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebx]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 0x3023
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 2
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 0x3024
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ec
push dword [ebx]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47ead4
lea ecx, [esp + 0x3c]
call fcn.0047e2a2
test eax, eax
jne 0x47e892
push 0x1a
pop esi
call fcn.0047b8e9
push 0x1c
jmp 0x47e806
lea eax, [esp + 0x3c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x47e8aa
cmp eax, 0xb7
jne 0x47e883
xor eax, eax
push 0x206
push eax
mov word [esp + 0x24c], ax
lea eax, [esp + 0x24e]
push eax
call fcn.0044d300
add esp, 0xc
push 0x104
lea eax, [esp + 0x248]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x49124c
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00403806
add esp, 0xc
and dword [esp + 0x460], 0
push 0
sub esp, 0x1c
lea eax, [esp + 0x40]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402cea
call fcn.0047e337
mov esi, dword [esp + 0x30]
add esp, 0x20
lea eax, [esp + 0x244]
push eax
lea ecx, [esi + 0x5c]
call fcn.0047fe64
test eax, eax
jge 0x47e95c
push 0x1a
pop esi
call fcn.0047b8e9
push 0x1d
pop esi
mov edi, eax
call fcn.0047b8e9
push 0x10
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x47eac7
push dword [esp + 0x3c]
call fcn.0044a5ad
movzx eax, ax
add eax, 0xffffffbf
pop ecx
cmp ax, 0x19
ja 0x47ea1f
mov eax, esi
call fcn.0047dae0
push dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0047d921
pop ecx
cmp edx, dword [esp + 0x18]
ja 0x47ea52
jb 0x47e9a5
cmp eax, dword [esp + 0x14]
jae 0x47ea52
push 9
pop esi
call fcn.0047b8e9
push 0x28
pop esi
mov dword [esp + 0x10], eax
call fcn.0047b8e9
push 0
push dword [esp + 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebx]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 0x3023
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 2
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call esi
push 0x3024
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ec
push dword [ebx]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x47eac7
push 9
pop esi
call fcn.0047b8e9
push 0x27
pop esi
mov dword [esp + 0x14], eax
call fcn.0047b8e9
push 0x124
push dword [esp + 0x18]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x47e9c8
mov esi, dword [esp + 0x10]
push 0x3f0
push dword [ebx]
mov dword [esi + 0x54], 1
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ee
push dword [ebx]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
push edi
push 0x64
push 0x64
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push edi
push esi
push fcn.0047df49
push edi
push edi
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, edi
je 0x47eaaa
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
sub esp, 0x1c
lea eax, [esp + 0x40]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00402cea
call fcn.0047e337
add esp, 0x20
push 1
xor ebx, ebx
lea esi, [esp + 0x24]
call fcn.00402d9d
xor eax, eax
inc eax
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.004498d8
mov esp, ebp
pop ebp
ret