Function at 0x436ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b6e4
mov eax, dword fs:[0]
push eax
sub esp, 0x308
push ebx
push esi
push edi
mov eax, dword [0x46c008]
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.00432780
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 0x462a8c
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.00432360
mov dword [ebp - 0xb0], 0x80004005
mov byte [ebp - 0xac], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x314], 0x462a14
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 3
push 8
mov dword [ebp - 0x80], 0
call fcn.0044a831
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 0x437302
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.0044a831
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.0044b640
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
jne 0x437023
lea ecx, [ebp - 0x24]
call fcn.0040ce90
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov dword [ebp + 8], eax
cmp byte [ebp + 0x1c], 0
je 0x437281
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x58], 0x462a54
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0044a831
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.0044a831
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.0044a831
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.0040eb90
test al, al
jne 0x4370f6
push 0x10
push 0x46269c
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 0x4371d9
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x437135
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x5c
je 0x437135
cmp eax, 0x2f
je 0x437135
cmp dword [ebp - 0x10], esi
jne 0x437122
lea ecx, [ebp - 0x18]
call fcn.0040a240
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 0x43716c
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044a831
push dword [ebp - 0x4c]
mov dword [ebp + 0x1c], eax
call fcn.0044a6fb
mov ecx, dword [ebp + 0x1c]
add esp, 8
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], esi
jmp 0x437174
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.0044b640
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 0x4371c0
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
push dword [eax]
call fcn.0040a4c0
push 0
push 0xd48
lea ecx, [ebp - 0x58]
call fcn.0042c180
cmp eax, 1
je 0x4371fa
mov esi, 0x80004004
push edi
call fcn.0044a6fb
push dword [ebp - 0x40]
call fcn.0044a6fb
push dword [ebp - 0x4c]
call fcn.0044a6fb
add esp, 0xc
push dword [ebp - 0x24]
jmp 0x43747c
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 8]
jbe 0x437234
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044a831
push dword [ebp - 0x24]
mov esi, eax
call fcn.0044a6fb
mov eax, dword [ebp + 0x1c]
add esp, 8
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
jmp 0x437237
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.0044b640
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.0044a6fb
mov byte [ebp - 4], 5
push dword [ebp - 0x40]
call fcn.0044a6fb
push dword [ebp - 0x4c]
call fcn.0044a6fb
mov edi, dword [ebp + 0x18]
add esp, 0x18
push ebx
mov edx, esi
xor ecx, ecx
call fcn.0040eb90
test al, al
jne 0x4372b6
push 0x10
push 0x46269c
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 0x43747c
mov eax, dword [ebx + 4]
test eax, eax
je 0x4372f2
mov ecx, dword [ebx]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x4372f2
cmp edx, 0x2f
je 0x4372f2
cmp dword [ebx + 8], eax
jne 0x4372df
mov ecx, ebx
call fcn.0040a240
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.0044a6fb
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.0040f3c0
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x78]
jbe 0x437352
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044a831
push dword [ebp - 0x80]
mov ebx, eax
call fcn.0044a6fb
add esp, 8
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], esi
jmp 0x437355
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.0044b640
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 0x437394
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x84], esi
call fcn.0042fb90
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 0x435f30
push 0
push 0
call fcn.0044f4d1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0x1c], eax
test eax, eax
jne 0x43742a
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x43742a
jle 0x437428
movzx esi, si
or esi, 0x80070000
jmp 0x437479
push ecx
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x314]
call fcn.00434c60
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x437456
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x437456
call edi
cmp byte [ebp - 0xac], 0
je 0x43746c
cmp byte [ebp - 0xf9], 0
je 0x43746c
mov al, 1
jmp 0x43746e
xor al, al
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp - 0xb0]
mov byte [ecx], al
push dword [ebp - 0x64]
call fcn.0044a6fb
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004375e0
push dword [ebp - 0x80]
call fcn.0044a6fb
add esp, 4
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4374ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x314]
call fcn.00436d50
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