Function at 0x43b700
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463759
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x472008]
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 - 0x550], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x548], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x554], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp + 0x24]
push 0x2b8
mov dword [ebp - 0x54c], eax
lea eax, [ebp - 0x538]
push 0
push eax
mov dword [ebp - 0x544], ecx
mov byte [ecx], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x538]
call fcn.00436810
mov dword [ebp - 4], 0
mov dword [ebp - 0x538], 0x46972c
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 1
call fcn.004365f0
mov dword [ebp - 0x2cc], 0x80004005
mov byte [ebp - 0x2c8], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x538], 0x46976c
mov dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 3
push 8
mov dword [ebp - 0x29c], 0
call fcn.0045e549
xor ecx, ecx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0
add esp, 4
mov dword [ebp - 0x294], 3
mov word [eax], cx
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 4], 4
lea edx, [ecx + 2]
mov dword [ebp - 0x2b4], esi
mov esi, dword [ebp - 0x53c]
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2b8], ebx
cmp byte [esi + 0x3f], cl
jne 0x43bda9
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x224], edi
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
lea ecx, [ecx*2 + 2]
push ecx
push dword [esi + 0x14]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0x10
mov byte [ebp - 4], 5
test edi, edi
jne 0x43b95e
xor eax, eax
mov dword [ebp - 0x238], edi
mov word [ebx], ax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
cmp word [ebp - 0x21c], ax
je 0x43b940
mov edi, edi
inc eax
mov edi, eax
cmp word [ebp + eax*2 - 0x21c], 0
jne 0x43b8f0
cmp edi, dword [ebp - 0x224]
jbe 0x43b940
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push ebx
mov esi, eax
call fcn.0045e2f3
mov eax, edi
mov ebx, esi
add esp, 8
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [ebp + 0x1c], 0
mov edi, 0x5c
je 0x43bd18
push 0x38
lea eax, [ebp - 0x280]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x27c], 0
mov byte [ebp - 4], 6
push 8
mov dword [ebp - 0x280], 0x4697ac
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x270], 0
call fcn.0045e549
xor ecx, ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 3
mov word [eax], cx
mov byte [ebp - 4], 7
push 8
mov dword [ebp - 0x264], ecx
call fcn.0045e549
xor ecx, ecx
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 3
mov word [eax], cx
mov word [ebp - 0x258], cx
mov word [ebp - 0x24c], 1
push 8
mov byte [ebp - 4], 8
call fcn.0045e549
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 3
mov word [eax], cx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 9
push eax
mov edx, ebx
call fcn.0040f5c0
add esp, 0x1c
test al, al
jne 0x43ba7f
push 0x10
push 0x4693c8
push str.Incorrect_output_directory_path
push 0
call dword [0x4657c4]
mov ecx, dword [ebp - 0x544]
mov ebx, 0x80004005
mov edi, dword [ebp - 0x230]
mov byte [ecx], 1
jmp 0x43bc40
mov esi, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
test esi, esi
je 0x43bad3
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x5c
je 0x43bad3
cmp eax, 0x2f
je 0x43bad3
cmp dword [ebp - 0x228], esi
jne 0x43babd
lea ecx, [ebp - 0x230]
call fcn.0040b900
mov esi, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x230]
mov eax, 0x5c
mov word [edi + esi*2], ax
inc esi
xor eax, eax
mov dword [ebp - 0x22c], esi
mov word [edi + esi*2], ax
cmp esi, dword [ebp - 0x268]
jbe 0x43bb1c
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push dword [ebp - 0x270]
mov dword [ebp - 0x220], eax
call fcn.0045e2f3
mov ecx, dword [ebp - 0x220]
add esp, 8
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], esi
jmp 0x43bb2a
mov eax, dword [ebp - 0x270]
mov ecx, eax
mov dword [ebp - 0x220], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x26c], esi
push eax
push edi
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x53c]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x250], eax
mov al, byte [ecx + 5]
mov byte [ebp - 0x257], al
mov eax, dword [ecx + 8]
mov dword [ebp - 0x254], eax
mov al, byte [ecx + 4]
mov byte [ebp - 0x258], al
mov ax, word [ecx]
mov word [ebp - 0x24c], ax
mov eax, dword [ebp - 0x548]
cmp dword [eax + 4], 1
jne 0x43bc17
mov eax, dword [eax]
lea ecx, [ebp - 0x264]
mov eax, dword [eax]
mov dword [ebp - 0x540], eax
cmp eax, ecx
je 0x43bc17
mov esi, dword [eax + 4]
cmp esi, dword [ebp - 0x25c]
jbe 0x43bbea
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push dword [ebp - 0x264]
mov dword [ebp - 0x220], eax
call fcn.0045e2f3
mov ecx, dword [ebp - 0x220]
add esp, 8
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], esi
jmp 0x43bbf8
mov eax, dword [ebp - 0x264]
mov ecx, eax
mov dword [ebp - 0x220], eax
lea eax, [esi*2 + 2]
mov dword [ebp - 0x260], esi
push eax
mov eax, dword [ebp - 0x540]
push dword [eax]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0x40cf80
push 0
push 0xd48
push dword [0x4736a8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x43bc6a
mov ebx, 0x80004004
push edi
call fcn.0045e2f3
push dword [ebp - 0x264]
call fcn.0045e2f3
push dword [ebp - 0x270]
call fcn.0045e2f3
add esp, 0xc
push dword [ebp - 0x23c]
jmp 0x43bff6
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x540], eax
cmp eax, dword [ebp - 0x224]
jbe 0x43bcb4
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push ebx
mov esi, eax
call fcn.0045e2f3
mov eax, dword [ebp - 0x540]
mov ebx, esi
add esp, 8
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x270]
push ebx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x53c]
mov eax, dword [ebp - 0x250]
push edi
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x254]
mov dword [ecx + 8], eax
mov ax, word [ebp - 0x24c]
mov word [ecx], ax
call fcn.0045e2f3
mov byte [ebp - 4], 5
push dword [ebp - 0x264]
call fcn.0045e2f3
push dword [ebp - 0x270]
call fcn.0045e2f3
add esp, 0x18
mov edi, 0x5c
mov esi, dword [ebp - 0x53c]
mov edx, ebx
add esi, 0x14
xor ecx, ecx
push esi
call fcn.0040f5c0
add esp, 4
test al, al
jne 0x43bd5f
push 0x10
push 0x4693c8
push str.Incorrect_output_directory_path
push 0
call dword [0x4657c4]
mov ecx, dword [ebp - 0x544]
mov ebx, 0x80004005
push dword [ebp - 0x23c]
mov byte [ecx], 1
jmp 0x43bff6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43bd96
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x43bd96
cmp eax, 0x2f
je 0x43bd96
cmp dword [esi + 8], ecx
jne 0x43bd83
mov ecx, esi
call fcn.0040b900
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov word [eax + ecx*2], di
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esi + 4], ecx
push ebx
mov byte [ebp - 4], 4
call fcn.0045e2f3
mov esi, dword [ebp - 0x53c]
add esp, 4
xor eax, eax
xor ebx, ebx
cmp byte [esi + 0x3f], al
mov dword [ebp - 0x248], eax
setne bl
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
lea ebx, [ebx*2 + 0xce4]
push ebx
call fcn.004024d0
mov edi, eax
test edi, edi
je 0x43be29
xor esi, esi
cmp word [edi], si
je 0x43bde8
nop
inc esi
cmp word [edi + esi*2], 0
jne 0x43bde0
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x244], esi
push ecx
mov ebx, eax
mov dword [ebp - 0x240], esi
push edi
push ebx
mov dword [ebp - 0x248], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x10
jmp 0x43be42
mov edx, ebx
lea ecx, [ebp - 0x248]
call fcn.0040ffa0
mov esi, dword [ebp - 0x244]
mov ebx, dword [ebp - 0x248]
mov byte [ebp - 4], 0xd
cmp esi, dword [ebp - 0x294]
jbe 0x43be85
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045e549
push dword [ebp - 0x29c]
mov edi, eax
call fcn.0045e2f3
add esp, 8
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x294], esi
jmp 0x43be8b
mov edi, dword [ebp - 0x29c]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x298], esi
push eax
push ebx
push edi
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0x54c]
lea eax, [ebp - 0x538]
add esp, 0xc
mov dword [ebp - 0x2bc], ebx
mov dword [ebx + 0x54], eax
test ebx, ebx
je 0x43becc
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4642a0]
call esi
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x43bee6
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2a0], ebx
call fcn.00433790
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x53c]
mov byte [ebp - 0x318], 0
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xe
push eax
push 0
lea eax, [ebp - 0x538]
push eax
push 0x43a390
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x224], eax
test eax, eax
je 0x43bfe1
push ecx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x538]
call fcn.00438f50
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x43bfab
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43bfab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x2c8], 0
je 0x43bfcf
cmp byte [ebp - 0x315], 0
je 0x43bfcf
mov ecx, dword [ebp - 0x544]
mov al, 1
mov ebx, dword [ebp - 0x2cc]
mov byte [ecx], al
jmp 0x43bff0
mov ecx, dword [ebp - 0x544]
xor al, al
mov ebx, dword [ebp - 0x2cc]
mov byte [ecx], al
jmp 0x43bff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x43bff0
lea ebx, [eax + 1]
push dword [ebp - 0x248]
call fcn.0045e2f3
mov edi, dword [ebp - 0x28c]
add esp, 4
test edi, edi
je 0x43c03c
jmp 0x43c010
mov eax, dword [ebp - 0x290]
dec edi
mov esi, dword [eax + edi*4]
test esi, esi
je 0x43c038
push dword [esi + 0xc]
call fcn.0045e2f3
push dword [esi]
call fcn.0045e2f3
push 0x18
push esi
call fcn.0045e28c
add esp, 0x10
test edi, edi
jne 0x43c010
push dword [ebp - 0x290]
call fcn.0045e2f3
push dword [ebp - 0x29c]
call fcn.0045e2f3
add esp, 8
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x43c076
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4642a0]
call esi
push dword [ebp - 0x2d8]
call fcn.0045e2f3
push dword [ebp - 0x2e4]
call fcn.0045e2f3
push dword [ebp - 0x2f0]
call fcn.0045e2f3
push dword [ebp - 0x2fc]
call fcn.0045e2f3
mov esi, dword [ebp - 0x304]
add esp, 0x10
test esi, esi
je 0x43c0d4
nop
mov eax, dword [ebp - 0x308]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x43c0d0
push dword [edi]
call fcn.0045e2f3
push 0xc
push edi
call fcn.0045e28c
add esp, 0xc
test esi, esi
jne 0x43c0b0
push dword [ebp - 0x308]
call fcn.0045e2f3
add esp, 4
lea ecx, [ebp - 0x538]
call fcn.00436340
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.0045e090
mov esp, ebp
pop ebp
ret