Function at 0x4477c6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp dword [ebx + 0x30d0], esi
je 0x4477e6
push str.reentry
jmp 0x447a25
cmp dword [ebx + 0x1d20], 3
jne 0x4477fb
push esi
push ebx
call fcn.004281fe
mov dword [ebp - 0x40], eax
jmp 0x4477fe
mov dword [ebp - 0x40], esi
mov eax, dword [ebx + 0x1d20]
cmp eax, 0x40
je 0x4479e3
cmp eax, 0x60
je 0x4479e3
push ebx
call fcn.0044550a
test eax, eax
je 0x447829
cmp dword [ebp - 0x40], esi
je 0x4479e3
mov eax, dword [ebx + 0x1d20]
cmp eax, 0x50
je 0x4479e3
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
inc esi
mov dword [ebp - 0x44], ecx
lea ecx, [ebx + 0x584]
mov dword [ebx + 0x30d0], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], 2
cmp eax, 4
je 0x44789a
xor ecx, ecx
cmp dword [ebp - 0x40], ecx
jne 0x4478bb
push ecx
push ebx
call fcn.004281fe
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4478b9
push str.USTDAction_is_unsupported_this_directory
xor edx, edx
mov ecx, ebx
call fcn.00427caa
and dword [ebx + 0x30d0], 0
jmp 0x447a2e
lea eax, [ebx + 0x1870]
cmp word [eax], 0
je 0x4478b0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], 0x12
push ebx
call fcn.00428458
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
cmp word [edx], 0x21
jne 0x4478d4
or dword [ebp - 0x2c], esi
add dword [ebp - 0x4c], 2
cmp dword [ebp - 0x40], ecx
jne 0x4478f6
push str.ELTATaget_list_make_error
push 0x11
push ecx
push eax
mov dword [ebx + 0x30d0], ecx
call dword [sym.imp.PPLIB32W.DLL_XMessage]
add esp, 0x10
jmp 0x447a2e
or dword [ebp - 0x2c], 4
push ecx
push ecx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
test edi, edi
je 0x447924
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x447910
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
jmp 0x447926
xor eax, eax
lea ecx, [eax + 0x44]
call fcn.00424f73
push 0xc
lea edi, [eax + 0x14]
pop ecx
lea esi, [ebp - 0x4c]
mov dword [eax + 0x10], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp + 0xc], eax
cmp ecx, edi
je 0x447961
lea esi, [eax + 0x44]
sub esi, ecx
movzx edx, word [ecx]
mov word [esi + ecx], dx
inc ecx
inc ecx
cmp dx, di
jne 0x44794d
lea ecx, [eax + 0x44]
mov dword [eax + 0x24], ecx
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 0xc]
push 0x44544e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4479b2
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4479b2
cmp dword [ebp - 0x18], 0x12
je 0x4479c7
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x40
push 0x1388
push edi
lea eax, [ebp - 0x24]
push eax
push 1
call esi
cmp eax, 1
je 0x44798f
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebx + 0x30d0], edi
jmp 0x447a2e
cmp dword [ebx + 0x1d20], 3
jne 0x447a0c
cmp dword [0x48aa04], 6
jb 0x4479fe
push esi
push ebx
call fcn.004475eb
jmp 0x447a2e
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
call fcn.00449f3d
jmp 0x447a2e
cmp dword [ebp + 0xc], str.Move
je 0x447a20
push dword [ebp + 0x10]
push ebx
call fcn.0044a140
jmp 0x447a2e
push str.USTDAction_is_unsupported_this_directory
xor edx, edx
mov ecx, ebx
call fcn.00427caa
pop edi
pop esi
pop ebx
leave
ret 0x10