Function at 0x41ca00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eb44
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x45c00c]
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, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0x24]
push 0x2b0
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x320]
push 0
push eax
mov dword [ebp - 0x330], ecx
mov byte [ecx], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x320]
call fcn.00417a00
mov dword [ebp - 4], 0
mov dword [ebp - 0x320], 0x45346c
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.004177e0
mov dword [ebp - 0xbc], 0x80004005
mov byte [ebp - 0xb8], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x320], 0x4534ac
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 3
push 8
mov dword [ebp - 0x8c], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
add esp, 4
mov dword [ebp - 0x84], 3
mov word [eax], cx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 4
lea edx, [ecx + 2]
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0x328]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], esi
cmp byte [edi + 0x3f], cl
jne 0x41cf3e
mov eax, dword [edi + 0x18]
lea ebx, [edi + 0x14]
mov dword [ebp - 0x32c], eax
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
mov ecx, dword [ebp - 0x32c]
mov esi, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x30], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x32c], 0
jne 0x41cbc5
lea ecx, [ebp - 0x30]
call fcn.00422910
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x32c], eax
cmp byte [ebp + 0x1c], 0
je 0x41cebc
push 0x34
lea eax, [ebp - 0x64]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x64], 0x4534ec
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x4c], ecx
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 3
mov word [eax], cx
mov word [ebp - 0x40], cx
mov word [ebp - 0x34], 1
push 8
mov byte [ebp - 4], 8
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 3
mov word [eax], cx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
mov edx, esi
call fcn.004221c0
add esp, 0x1c
test al, al
jne 0x41cca8
push 0x10
push 0x452f54
push str.Incorrect_output_directory_path
push 0
call dword [0x4512d8]
mov ecx, dword [ebp - 0x330]
mov ebx, 0x80004005
mov edi, dword [ebp - 0x20]
mov byte [ecx], 1
jmp 0x41ce0d
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test esi, esi
je 0x41cce7
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x5c
je 0x41cce7
cmp eax, 0x2f
je 0x41cce7
cmp dword [ebp - 0x18], esi
jne 0x41ccd4
lea ecx, [ebp - 0x20]
call fcn.00421600
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, 0x5c
mov word [edi + esi*2], ax
inc esi
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [edi + esi*2], ax
cmp esi, dword [ebp - 0x50]
jbe 0x41cd24
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x58]
mov dword [ebp - 0x324], eax
call fcn.00449b03
mov ecx, dword [ebp - 0x324]
add esp, 8
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], esi
jmp 0x41cd2f
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov dword [ebp - 0x324], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x54], esi
push eax
push edi
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x328]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov al, byte [ecx + 5]
mov byte [ebp - 0x3f], al
mov eax, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx + 4]
mov byte [ebp - 0x40], al
mov ax, word [ecx]
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 1
jne 0x41cde4
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x41cde4
mov esi, dword [eax + 4]
cmp esi, dword [ebp - 0x44]
jbe 0x41cdc0
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x4c]
mov dword [ebp - 0x324], eax
call fcn.00449b03
mov ecx, dword [ebp - 0x324]
add esp, 8
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], esi
jmp 0x41cdcb
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov dword [ebp - 0x324], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x48], esi
push eax
mov eax, dword [ebp - 0x24]
push dword [eax]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 0x41dc50
push 0
push 0xd48
push dword [0x45d450]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x41ce2c
mov esi, dword [ebp - 0x30]
mov ebx, 0x80004004
push edi
call fcn.00449b03
push dword [ebp - 0x4c]
call fcn.00449b03
push dword [ebp - 0x58]
call fcn.00449b03
add esp, 0xc
push esi
jmp 0x41d0fb
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x32c]
jbe 0x41ce69
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x30]
mov esi, eax
call fcn.00449b03
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
jmp 0x41ce6c
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x58]
push esi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x328]
mov eax, dword [ebp - 0x38]
push edi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov ax, word [ebp - 0x34]
mov word [ecx], ax
call fcn.00449b03
mov byte [ebp - 4], 5
push dword [ebp - 0x4c]
call fcn.00449b03
push dword [ebp - 0x58]
call fcn.00449b03
mov edi, dword [ebp - 0x328]
add esp, 0x18
push ebx
mov edx, esi
xor ecx, ecx
call fcn.004221c0
add esp, 4
test al, al
jne 0x41cef5
push 0x10
push 0x452f54
push str.Incorrect_output_directory_path
push 0
call dword [0x4512d8]
mov ecx, dword [ebp - 0x330]
mov ebx, 0x80004005
push esi
mov byte [ecx], 1
jmp 0x41d0fb
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41cf31
mov eax, dword [ebx]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x41cf31
cmp eax, 0x2f
je 0x41cf31
cmp dword [ebx + 8], ecx
jne 0x41cf19
mov ecx, ebx
call fcn.00421600
mov ecx, dword [ebx + 4]
mov edx, 0x5c
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [ebx + 4], ecx
push esi
mov byte [ebp - 4], 4
call fcn.00449b03
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x70]
xor edx, edx
mov dword [ebp - 0x70], eax
cmp byte [edi + 0x3f], al
mov dword [ebp - 0x6c], eax
setne dl
mov dword [ebp - 0x68], eax
lea edx, [edx*2 + 0xce4]
call fcn.00416920
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x6c]
cmp esi, dword [ebp - 0x84]
jbe 0x41cfa6
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x8c]
mov edi, eax
call fcn.00449b03
add esp, 8
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x84], esi
jmp 0x41cfac
mov edi, dword [ebp - 0x8c]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x88], esi
push eax
push dword [ebp - 0x70]
push edi
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x334]
lea eax, [ebp - 0x320]
add esp, 0xc
mov dword [ebp - 0xac], ebx
mov dword [ebx + 0x44], eax
test ebx, ebx
je 0x41cfef
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4502ac]
call esi
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x41d009
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x90], ebx
call fcn.004144b0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x328]
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x104], 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push eax
push 0
lea eax, [ebp - 0x320]
push eax
push 0x41b4e0
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d0b0
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x320]
call fcn.0041a150
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41d0d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41d0d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41d0d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x41d0c0
jg 0x41d0c5
jmp 0x41d0ce
mov ebx, 1
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jne 0x41d0f8
cmp byte [ebp - 0xb8], 0
je 0x41d0e8
cmp byte [ebp - 0x105], 0
je 0x41d0e8
mov al, 1
jmp 0x41d0ea
xor al, al
mov ecx, dword [ebp - 0x330]
mov ebx, dword [ebp - 0xbc]
mov byte [ecx], al
push dword [ebp - 0x70]
call fcn.00449b03
mov edi, dword [ebp - 0x7c]
add esp, 4
test edi, edi
je 0x41d139
lea ebx, [ebx]
mov eax, dword [ebp - 0x80]
dec edi
mov esi, dword [eax + edi*4]
test esi, esi
je 0x41d135
push dword [esi + 0xc]
call fcn.00449b03
push dword [esi]
call fcn.00449b03
push 0x18
push esi
call fcn.00449b38
add esp, 0x10
test edi, edi
jne 0x41d110
push dword [ebp - 0x80]
call fcn.00449b03
push dword [ebp - 0x8c]
call fcn.00449b03
add esp, 8
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x41d170
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
push dword [ebp - 0xc8]
call fcn.00449b03
push dword [ebp - 0xd4]
call fcn.00449b03
push dword [ebp - 0xe0]
call fcn.00449b03
push dword [ebp - 0xec]
call fcn.00449b03
mov esi, dword [ebp - 0xf4]
add esp, 0x10
test esi, esi
je 0x41d1d4
lea esp, [esp]
mov eax, dword [ebp - 0xf8]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x41d1d0
push dword [edi]
call fcn.00449b03
push 0xc
push edi
call fcn.00449b38
add esp, 0xc
test esi, esi
jne 0x41d1b0
push dword [ebp - 0xf8]
call fcn.00449b03
add esp, 4
lea ecx, [ebp - 0x320]
call fcn.004175b0
mov eax, ebx
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.00449a40
mov esp, ebp
pop ebp
ret