Function at 0x436fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459124
mov eax, dword fs:[0]
push eax
sub esp, 0x308
push ebx
push esi
push edi
mov eax, dword [0x46a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x314]
mov byte [eax], 0
call fcn.00432880
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 0x4609e4
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.00432460
mov dword [ebp - 0xb0], 0x80004005
mov byte [ebp - 0xac], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x314], 0x46096c
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
push 8
mov dword [ebp - 0x80], 0
call fcn.00448381
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 dword [ebp - 4], 4
lea edx, [ecx + 2]
mov eax, dword [ebp + 8]
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 0x437412
mov eax, dword [edi + 0x18]
lea ebx, [edi + 0x14]
mov dword [ebp + 8], eax
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448381
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x24], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx]
push esi
call fcn.00449190
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
jne 0x437133
lea ecx, [ebp - 0x24]
call fcn.0040cf70
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov dword [ebp + 8], eax
cmp byte [ebp + 0x1c], 0
je 0x437391
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x58], 0x4609ac
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.00448381
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 3
mov word [eax], cx
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x40], ecx
call fcn.00448381
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 3
mov word [eax], cx
mov word [ebp - 0x34], cx
mov word [ebp - 0x28], 1
push 8
mov byte [ebp - 4], 8
call fcn.00448381
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, esi
call fcn.0040ec70
test al, al
jne 0x437206
push 0x10
push 0x4605f4
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x20]
mov esi, 0x80004005
mov edi, dword [ebp - 0x18]
mov byte [eax], 1
jmp 0x4372e9
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x437245
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x5c
je 0x437245
cmp eax, 0x2f
je 0x437245
cmp dword [ebp - 0x10], esi
jne 0x437232
lea ecx, [ebp - 0x18]
call fcn.0040a330
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, 0x5c
mov word [edi + esi*2], ax
inc esi
xor eax, eax
mov dword [ebp - 0x14], esi
mov word [edi + esi*2], ax
cmp esi, dword [ebp - 0x44]
jbe 0x43727c
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448381
push dword [ebp - 0x4c]
mov dword [ebp + 0x1c], eax
call fcn.0044824b
mov ecx, dword [ebp + 0x1c]
add esp, 8
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], esi
jmp 0x437284
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov dword [ebp + 0x1c], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x48], esi
push eax
push edi
push ecx
call fcn.00449190
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx + 5]
mov byte [ebp - 0x33], al
mov eax, dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov al, byte [ecx + 4]
mov byte [ebp - 0x34], al
mov ax, word [ecx]
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x4372d0
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push dword [eax]
call fcn.0040a5b0
push 0
push 0xd48
lea ecx, [ebp - 0x58]
call fcn.0042c260
cmp eax, 1
je 0x43730a
mov esi, 0x80004004
push edi
call fcn.0044824b
push dword [ebp - 0x40]
call fcn.0044824b
push dword [ebp - 0x4c]
call fcn.0044824b
add esp, 0xc
push dword [ebp - 0x24]
jmp 0x43758c
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 8]
jbe 0x437344
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448381
push dword [ebp - 0x24]
mov esi, eax
call fcn.0044824b
mov eax, dword [ebp + 0x1c]
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
jmp 0x437347
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x4c]
push esi
call fcn.00449190
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x2c]
push edi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 8], eax
mov ax, word [ebp - 0x28]
mov word [ecx], ax
call fcn.0044824b
mov byte [ebp - 4], 5
push dword [ebp - 0x40]
call fcn.0044824b
push dword [ebp - 0x4c]
call fcn.0044824b
mov edi, dword [ebp + 0x18]
add esp, 0x18
push ebx
mov edx, esi
xor ecx, ecx
call fcn.0040ec70
test al, al
jne 0x4373c6
push 0x10
push 0x4605f4
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp + 0x20]
mov esi, 0x80004005
push dword [ebp - 0x24]
mov byte [eax], 1
jmp 0x43758c
mov eax, dword [ebx + 4]
test eax, eax
je 0x437402
mov ecx, dword [ebx]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x437402
cmp edx, 0x2f
je 0x437402
cmp dword [ebx + 8], eax
jne 0x4373ef
mov ecx, ebx
call fcn.0040a330
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, 0x5c
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [ebx + 4], eax
push esi
mov byte [ebp - 4], 4
call fcn.0044824b
mov al, byte [edi + 0x3f]
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x64]
test al, al
setne dl
lea edx, [edx*2 + 0xce4]
call fcn.0040f4a0
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x78]
jbe 0x437462
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00448381
push dword [ebp - 0x80]
mov ebx, eax
call fcn.0044824b
add esp, 8
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], esi
jmp 0x437465
mov ebx, dword [ebp - 0x80]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x7c], esi
push eax
push dword [ebp - 0x64]
push ebx
call fcn.00449190
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x314]
add esp, 0xc
mov dword [ebp - 0xa0], esi
mov dword [esi + 0x44], eax
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x4374a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x84], esi
call fcn.0042fc90
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 + 0x18]
mov byte [ebp - 4], 0xb
push eax
push 0
lea eax, [ebp - 0x314]
push eax
push 0x436020
push 0
push 0
call fcn.0044d021
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x43753a
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x43753a
jle 0x437538
movzx esi, si
or esi, 0x80070000
jmp 0x437589
push ecx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x314]
call fcn.00434d60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x437566
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x437566
call edi
cmp byte [ebp - 0xac], 0
je 0x43757c
cmp byte [ebp - 0xf9], 0
je 0x43757c
mov al, 1
jmp 0x43757e
xor al, al
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp - 0xb0]
mov byte [ecx], al
push dword [ebp - 0x64]
call fcn.0044824b
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004376f0
push dword [ebp - 0x80]
call fcn.0044824b
add esp, 4
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4375be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x314]
call fcn.00436e40
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