Function at 0x462780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46783a
mov eax, dword fs:[0]
push eax
sub esp, 0x314
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 0x20]
lea ecx, [ebp - 0x314]
mov byte [ebx], 0
call fcn.00461060
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 0x46e964
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 1
call fcn.00408c00
mov dword [ebp - 0xb0], 0x80004005
mov byte [ebp - 0xac], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x314], 0x46e8ec
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
push 8
mov dword [ebp - 0x80], 0
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0
add esp, 4
mov dword [ebp - 0x78], 3
mov word [eax], cx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 4
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa4], esi
mov al, byte [edi + 0x3f]
test al, al
jne 0x462b12
mov esi, dword [edi + 0x18]
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
mov ecx, dword [edi + 0x18]
mov ebx, eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [eax]
push ebx
call fcn.0041f8c0
add esp, 0x10
mov byte [ebp - 4], 5
test esi, esi
jne 0x4628d9
lea ecx, [ebp - 0x58]
call fcn.00437d80
mov ebx, dword [ebp - 0x58]
cmp byte [ebp + 0x1c], 0
je 0x462ac2
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x4c], 0x46e92c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
mov word [eax], cx
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x34], ecx
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 3
mov word [eax], cx
mov word [ebp - 0x28], cx
mov word [ebp - 0x1c], 1
push 8
mov byte [ebp - 4], 8
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x18], eax
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 3
mov word [eax], cx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
mov edx, ebx
call fcn.0043a130
test al, al
jne 0x4629a9
push 0x10
push 0x46e570
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x20]
mov esi, 0x80004005
mov byte [eax], 1
jmp 0x462a60
lea ecx, [ebp - 0x18]
call fcn.0043ad70
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.00435880
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
mov al, byte [edi + 5]
mov byte [ebp - 0x27], al
mov eax, dword [edi + 8]
mov dword [ebp - 0x24], eax
mov al, byte [edi + 4]
mov byte [ebp - 0x28], al
mov ax, word [edi]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x4629f1
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push dword [eax]
call fcn.00435880
cmp byte [0x47b1a1], 0
je 0x462a18
lea eax, [ebp - 0x4c]
push eax
push 0x437650
push 0
push 0xd48
push dword [0x47b2b4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x462a56
push 4
call fcn.0041bfdb
mov esi, eax
add esp, 4
mov byte [esi], 0
lea eax, [ebp - 0x4c]
push eax
push 0x437650
push 0
push 0xd48
push dword [0x47b2b4]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push esi
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 9
call fcn.0041bebc
mov eax, dword [ebp + 0x1c]
add esp, 4
cmp eax, 1
je 0x462a81
mov esi, 0x80004004
push dword [ebp - 0x18]
call fcn.0041bebc
push dword [ebp - 0x34]
call fcn.0041bebc
push dword [ebp - 0x40]
call fcn.0041bebc
add esp, 0xc
push ebx
jmp 0x462c53
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00435880
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov ax, word [ebp - 0x1c]
mov word [edi], ax
call fcn.0041bebc
mov byte [ebp - 4], 5
push dword [ebp - 0x34]
call fcn.0041bebc
push dword [ebp - 0x40]
call fcn.0041bebc
mov ebx, dword [ebp - 0x58]
add esp, 0xc
lea esi, [edi + 0x14]
mov edx, ebx
push esi
xor ecx, ecx
call fcn.0043a130
test al, al
jne 0x462af8
push 0x10
push 0x46e570
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x20]
mov esi, 0x80004005
push ebx
mov byte [eax], 1
jmp 0x462c53
mov ecx, esi
call fcn.0043ad70
push ebx
mov byte [ebp - 4], 4
call fcn.0041bebc
mov al, byte [edi + 0x3f]
add esp, 4
mov ebx, dword [ebp + 0x20]
xor edx, edx
lea ecx, [ebp - 0x64]
test al, al
setne dl
lea edx, [edx*2 + 0xce4]
call fcn.0043b580
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x80]
call fcn.00435880
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x314]
mov dword [ebp - 0xa0], esi
mov dword [esi + 0x44], eax
mov eax, dword [esi]
cmp eax, vtable.CExtractCallbackImp.4.0
jne 0x462c7c
inc dword [esi + 0x14]
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x462b6a
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x84], esi
call fcn.0045c400
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xf8], 1
mov dword [ebp + 0x1c], 0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0xd
push eax
push 0
lea eax, [ebp - 0x314]
push eax
push 0x45d750
push 0
push 0
call fcn.00420584
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x462c04
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x462c04
jle 0x462bfe
movzx esi, si
or esi, 0x80070000
test esi, esi
je 0x462c30
jmp 0x462c50
push ecx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x314]
call fcn.0045ec90
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x462c30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x462c30
call edi
cmp byte [ebp - 0xac], 0
je 0x462c46
cmp byte [ebp - 0xf9], 0
je 0x462c46
mov al, 1
jmp 0x462c48
xor al, al
mov esi, dword [ebp - 0xb0]
mov byte [ebx], al
push dword [ebp - 0x64]
call fcn.0041bebc
add esp, 4
lea ecx, [ebp - 0x314]
call fcn.00408f70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push esi
call dword [eax + 4]
jmp 0x462b5a