Function at 0x565bb0
Capabilities:
Delete file

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
xor edi, edi
test byte [esi + 0xdf1], 0x80
lea ebp, [esi + 0xdbc]
mov dword [esp + 0x14], edi
mov dword [esi + 0xdb4], edi
mov dword [esi + 0xdc4], edi
mov dword [ebp], edi
je 0x565cf1
push esi
push 0x62cce0
push edi
push 0xffffffffffffffff
push 1
mov dword [esi + 0xdfc], edi
push edi
mov word [esi + 0xdf2], di
mov word [esi + 0xdf4], 0xffff
mov word [esi + 0xdf6], di
mov word [esi + 0xdfa], di
mov dword [esi + 0xe00], edi
mov dword [esi + 0xe04], edi
mov dword [esi + 0x19e], 0x200000
call fcn.00563af0
add esp, 0x18
cmp eax, 1
jne 0x565ce4
test byte [esi + 0xdf0], 1
jne 0x565c76
mov edx, dword [esi + 0xdb0]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00564f50
add esp, 0x10
test eax, eax
je 0x565c76
mov eax, dword [esi + 0xdb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x566ea5
mov cx, word [esi + 0xdf0]
mov edx, dword [esi + 0xdb0]
push esi
push ecx
push edx
call fcn.00563340
add esp, 4
push eax
call fcn.00563630
add esp, 0xc
test eax, eax
jne 0x565cb2
mov eax, dword [esi + 0x8e]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf6
pop ebp
add eax, 0x13
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0xdb0]
push eax
call fcn.00565490
add esp, 4
cmp eax, edi
jne 0x567044
mov ecx, dword [esi + 0xdb0]
push esi
push ecx
call fcn.00562930
add esp, 8
mov dword [esi + 0x19e], eax
jmp 0x565d68
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x58
ret
mov ecx, dword [esi + 0xdb0]
lea edx, [esp + 0x30]
push esi
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call fcn.00564f50
add esp, 0x10
test eax, eax
je 0x565d39
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
or edx, eax
jne 0x565d39
mov eax, dword [esi + 0xdb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x565d51
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret
mov ecx, dword [esi + 0xdb0]
push esi
push ecx
call fcn.00565860
add esp, 8
cmp eax, edi
jne 0x567044
mov edx, dword [esi + 0xdb0]
push edx
call fcn.00565490
add esp, 4
cmp eax, edi
jne 0x567044
mov eax, dword [esi + 0xdb0]
cmp eax, edi
je 0x567042
cmp byte [eax], 0
je 0x567042
push edi
push 0x8000080
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x24], ebx
je 0x567042
cmp dword [esi + 0xd84], edi
je 0x565dc6
mov edx, dword [esi + 0xdb0]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00564f50
add esp, 0x10
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esi + 0xdc0], edi
mov ebp, 1
lea eax, [esp + 0x13]
push ebp
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x565e1e
cmp byte [esp + 0x13], 0x50
je 0x565e1e
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add edx, ebp
push ebp
adc ecx, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x17]
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
jne 0x565df0
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 3
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.00565b70
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov edi, dword [esp + 0x45]
add esp, 0xc
test eax, eax
je 0x565ed1
mov eax, ecx
mov ebp, edx
and eax, 0xff
and ebp, 0xff
shl eax, 8
or eax, ebp
mov ebp, edi
shl eax, 8
and ebp, 0xff
or eax, ebp
mov ebp, dword [esp + 0x38]
shl eax, 8
and ebp, 0xff
or eax, ebp
xor ebp, ebp
cmp eax, 0x4034b50
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
jne 0x565e8f
test ebp, ebp
je 0x565ed1
cmp eax, 0x6054b50
jne 0x565e9a
test ebp, ebp
je 0x565ed1
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.00565650
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x566f50
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ecx, 1
adc eax, 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
xor edi, edi
jmp 0x565dd8
mov eax, dword [esp + 0x28]
mov dword [esi + 0xdb4], eax
mov eax, ecx
and eax, 0xff
mov esi, edx
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, edi
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, dword [esp + 0x38]
shl eax, 8
and esi, 0xff
or eax, esi
cmp eax, 0x4034b50
jne 0x56678c
push 0x52
call fcn.005738e8
mov esi, eax
add esp, 4
test esi, esi
je 0x566f0e
mov ecx, 0x14
xor eax, eax
mov edi, esi
push 0x1a
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
stosw word es:[edi], ax
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x5666d3
mov ebp, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [ebp + 0xd84], ecx
je 0x566125
xor edx, edx
mov dh, byte [esp + 0x39]
mov dl, byte [esp + 0x38]
mov word [esi + 2], dx
mov eax, dword [ebp + 0xd80]
neg eax
sbb eax, eax
and eax, 0xfffff500
add eax, 0xb14
mov word [esi], ax
xor eax, eax
movzx dx, byte [esp + 0x3a]
mov ah, byte [esp + 0x3b]
or eax, edx
mov word [esi + 0x2c], ax
mov word [esi + 4], ax
movzx dx, byte [esp + 0x3c]
mov dword [esp + 0x20], eax
xor eax, eax
mov ah, byte [esp + 0x3d]
or eax, edx
mov word [esi + 6], ax
mov eax, dword [esp + 0x41]
mov edx, dword [esp + 0x40]
and eax, 0xff
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x3f]
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x3e]
shl eax, 8
and edx, 0xff
or eax, edx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x45]
mov edx, dword [esp + 0x44]
and eax, 0xff
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x43]
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x42]
shl eax, 8
and edx, 0xff
or eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x49]
mov edx, dword [esp + 0x48]
and eax, 0xff
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x47]
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x46]
shl eax, 8
and edx, 0xff
or eax, edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x4d]
mov edx, dword [esp + 0x4c]
and eax, 0xff
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x4b]
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [esp + 0x4a]
shl eax, 8
and edx, 0xff
or eax, edx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x4f]
mov edx, dword [esp + 0x4e]
and eax, 0xff
shl eax, 8
and edx, 0xff
or eax, edx
mov dword [esi + 0x18], eax
mov edx, dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x51]
and eax, 0xff
and edx, 0xff
shl eax, 8
or eax, edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov word [esi + 0x28], cx
mov word [esi + 0x2a], cx
mov eax, dword [ebp + 0xd80]
mov dword [esp + 0x18], edi
cmp eax, ecx
mov eax, dword [esp + 0x14]
je 0x5660f3
and eax, 0xff
mov dword [esi + 0x2e], eax
mov word [esi + 0x4a], cx
mov word [esi + 0x4c], cx
mov eax, dword [ebp + 0xd84]
cmp eax, 1
jle 0x566118
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x566198
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x566198
mov edi, esi
lea ecx, [esp + 0x38]
lea eax, [esp + 0x38]
sub edi, ecx
mov ebp, 0x1a
mov dl, byte [eax]
mov byte [edi + eax], dl
inc eax
dec ebp
jne 0x566136
xor eax, eax
xor ecx, ecx
mov ah, byte [esi + 0x19]
mov ch, byte [esi + 0x17]
mov al, byte [esi + 0x18]
mov cl, byte [esi + 0x16]
mov dword [esi + 0x1c], eax
xor edx, edx
movzx ax, byte [esp + 0x3a]
mov dh, byte [esp + 0x3b]
mov edi, ecx
xor ecx, ecx
or edx, eax
mov ch, byte [esi + 0x11]
mov dword [esp + 0x20], edx
mov cl, byte [esi + 0x10]
xor edx, edx
mov dl, byte [esi + 0xf]
mov ebp, dword [esp + 0x6c]
shl ecx, 8
or ecx, edx
xor eax, eax
mov al, byte [esi + 0xe]
mov dword [esp + 0x18], edi
shl ecx, 8
or ecx, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov edx, dword [esp + 0x1c]
lea eax, [esi + 0x4e]
cmp edi, ecx
mov dword [esp + 0x1c], eax
mov dword [edx], esi
mov dword [eax], ecx
je 0x5666f9
lea eax, [edi + 1]
push eax
call fcn.005738e8
add esp, 4
mov dword [esi + 0x46], eax
test eax, eax
je 0x566f0e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5661e1
push eax
call fcn.005738e8
add esp, 4
mov dword [esi + 0x3a], eax
test eax, eax
je 0x566f0e
mov ecx, dword [esi + 0x46]
push edi
mov byte [ecx], 0
mov edx, dword [esi + 0x46]
push edx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566f50
mov eax, dword [esi + 0x46]
mov byte [edi + eax], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x566221
mov ecx, dword [esi + 0x3a]
push eax
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566f50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, eax
or edx, ecx
je 0x566247
push 1
push ecx
push eax
push ebx
call fcn.00565650
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x566724
mov eax, dword [ebp + 0xd84]
test eax, eax
je 0x566257
mov eax, dword [esi + 0x3a]
mov dword [esi + 0x3e], eax
mov eax, dword [esi + 0x46]
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
mov ecx, dword [esi + 0x46]
push ebp
push ecx
call fcn.00564910
add esp, 8
mov dword [esi + 0x36], eax
test eax, eax
je 0x566f0e
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
xor edi, edi
lea ecx, [edx + eax + 0x1e]
mov dword [esi + 0x32], ebp
mov eax, dword [esp + 0x30]
mov edx, ecx
mov ecx, dword [esp + 0x34]
add edx, eax
adc edi, ecx
add ebp, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ebp
adc edx, edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x2c], edx
mov edx, dword [edi + 0xdc0]
inc edx
mov dword [edi + 0xdc0], edx
mov dl, byte [esp + 0x20]
test dl, 8
je 0x566546
or eax, ecx
jne 0x5663ed
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566301
cmp byte [esp + 0x13], 0x50
je 0x566301
lea ecx, [esp + 0x13]
push 1
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
jne 0x5662e6
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 0xf
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x56637a
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov eax, dword [esp + 0x39]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
and eax, 0xff
or ecx, edx
mov edx, dword [esp + 0x38]
shl ecx, 8
or ecx, eax
and edx, 0xff
shl ecx, 8
or ecx, edx
cmp ecx, 0x8074b50
je 0x56637a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff1
push ebx
call fcn.00565650
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x566724
jmp 0x5662d2
mov eax, dword [esp + 0x43]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x41]
and eax, 0xff
shl eax, 8
and ecx, 0xff
and edx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x40]
shl eax, 8
mov edi, dword [esp + 0x2c]
or eax, edx
shl eax, 8
and ecx, 0xff
push 1
or eax, ecx
xor ecx, ecx
add ebp, eax
push ecx
adc edi, ecx
push ecx
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], edi
call fcn.00565650
mov ecx, ebp
add esp, 0x10
add ecx, 0x10
adc edi, 0
cmp eax, ecx
jne 0x566738
cmp edx, edi
jne 0x566738
jmp 0x566463
mov edx, dword [esp + 0x2c]
push 0
push edx
push ebp
push ebx
call fcn.00565650
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x566f50
lea eax, [esp + 0x38]
push 0x10
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566f50
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov eax, dword [esp + 0x39]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
and eax, 0xff
or ecx, edx
mov edx, dword [esp + 0x38]
shl ecx, 8
or ecx, eax
and edx, 0xff
shl ecx, 8
or ecx, edx
cmp ecx, 0x8074b50
jne 0x56674d
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xd84]
test ecx, ecx
je 0x5664ec
mov ecx, dword [esp + 0x3f]
mov edx, dword [esp + 0x3e]
mov eax, dword [esp + 0x3d]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
and eax, 0xff
or ecx, edx
mov edx, dword [esp + 0x3c]
shl ecx, 8
or ecx, eax
and edx, 0xff
shl ecx, 8
or ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov eax, dword [esp + 0x45]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x44]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
shl ecx, 8
or ecx, edx
mov dword [esi + 0x14], ecx
jmp 0x566507
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x3c]
sub esi, ecx
mov edi, 0xc
add esi, 0xa
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x5664fe
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
add ebp, 0x10
adc eax, 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x38]
push 4
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566762
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov edi, dword [esp + 0x39]
jmp 0x566693
cmp dword [edi + 0xd84], 1
jle 0x56651d
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566590
cmp byte [esp + 0x13], 0x50
je 0x566590
mov edx, dword [esp + 0x2c]
add ebp, 1
lea ecx, [esp + 0x13]
push 1
adc edx, 0
push ecx
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
call fcn.00565b70
add esp, 0xc
test eax, eax
jne 0x566563
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 3
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.00565b70
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov edi, dword [esp + 0x45]
add esp, 0xc
test eax, eax
je 0x566645
mov eax, ecx
mov ebp, edx
and eax, 0xff
and ebp, 0xff
shl eax, 8
or eax, ebp
mov ebp, edi
shl eax, 8
and ebp, 0xff
or eax, ebp
mov ebp, dword [esp + 0x38]
shl eax, 8
and ebp, 0xff
or eax, ebp
xor ebp, ebp
cmp eax, 0x4034b50
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
jne 0x566601
test ebp, ebp
je 0x566641
cmp eax, 0x2014b50
jne 0x56660c
test ebp, ebp
je 0x566641
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.00565650
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x566f50
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ebp, 1
adc eax, 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
jmp 0x56654f
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0x32]
mov ebx, dword [esi + 0x1c]
add eax, ebx
mov ebx, dword [esp + 0x18]
lea eax, [eax + ebx + 0x1e]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, ebp
mov ebp, dword [esp + 0x20]
sub eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sbb ebx, ebp
mov dword [esp + 0x34], ebx
mov ebp, dword [esi + 0x10]
cmp eax, ebp
jne 0x566680
xor ebp, ebp
cmp ebx, ebp
je 0x56668f
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov edi, dword [esp + 0x39]
mov ebx, dword [esp + 0x24]
mov eax, ecx
mov esi, edx
and eax, 0xff
and esi, 0xff
shl eax, 8
or eax, esi
mov esi, edi
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, dword [esp + 0x38]
shl eax, 8
and esi, 0xff
or eax, esi
cmp eax, 0x4034b50
je 0x565f16
jmp 0x56678c
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0xd84]
test eax, eax
jne 0x566780
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov edx, dword [ebp + 0xdc0]
lea esi, [ebp + 0xb68]
inc edx
push edx
push 0x601600
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebp
push esi
push 0
push 0x131
jmp 0x566e8d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + 0x46]
push eax
push ecx
push 0
push 0x132
jmp 0x566e8d
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 0x46]
push edx
push eax
push 0
push 0x134
jmp 0x566e8d
mov eax, dword [edi + 0xd84]
test eax, eax
jne 0x566780
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov edi, dword [esp + 0x39]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esi + 0xdbc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xd84]
test eax, eax
jne 0x566ec1
mov eax, ecx
mov esi, edx
and eax, 0xff
and esi, 0xff
shl eax, 8
or eax, esi
mov esi, edi
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, dword [esp + 0x38]
shl eax, 8
and esi, 0xff
or eax, esi
cmp eax, 0x2014b50
jne 0x566be7
test ebp, ebp
je 0x566c63
lea ecx, [esp + 0x38]
push 0x2a
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566f50
mov al, byte [ebp + 3]
xor edx, edx
mov dh, al
and al, 0x1f
mov dl, byte [ebp + 2]
mov edi, ebp
mov word [ebp + 0x2c], dx
mov dl, byte [esp + 0x3d]
mov byte [ebp + 3], al
mov al, byte [esp + 0x3d]
and al, 0x1f
xor esi, esi
mov byte [esp + 0x3d], al
lea eax, [esp + 0x3a]
mov byte [esp + 0x13], 0
sub edi, eax
lea eax, [esp + esi + 0x3a]
mov cl, byte [edi + eax]
cmp cl, byte [eax]
je 0x56684c
mov byte [eax], cl
inc esi
cmp esi, 0x18
jb 0x56683f
xor ecx, ecx
mov byte [esp + 0x3d], dl
mov ch, byte [esp + 0x39]
xor edx, edx
mov cl, byte [esp + 0x38]
mov word [ebp], cx
mov dh, byte [esp + 0x3b]
movzx ax, byte [esp + 0x3a]
or edx, eax
xor ecx, ecx
mov word [ebp + 2], dx
mov ch, byte [esp + 0x3d]
movzx dx, byte [esp + 0x3c]
or ecx, edx
xor eax, eax
mov word [ebp + 4], cx
mov ah, byte [esp + 0x3f]
movzx cx, byte [esp + 0x3e]
or eax, ecx
mov word [ebp + 6], ax
mov edx, dword [esp + 0x43]
mov eax, dword [esp + 0x42]
mov ecx, dword [esp + 0x41]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x40]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [ebp + 8], edx
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov eax, dword [esp + 0x45]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x44]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc], ecx
mov eax, dword [esp + 0x4b]
mov ecx, dword [esp + 0x4a]
mov edx, dword [esp + 0x49]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x48]
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
shl eax, 8
or eax, ecx
mov dword [ebp + 0x10], eax
mov edx, dword [esp + 0x4f]
mov eax, dword [esp + 0x4e]
mov ecx, dword [esp + 0x4d]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x4c]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [ebp + 0x14], edx
mov ecx, dword [esp + 0x51]
mov edx, dword [esp + 0x50]
and ecx, 0xff
shl ecx, 8
and edx, 0xff
or ecx, edx
mov dword [ebp + 0x18], ecx
mov eax, dword [esp + 0x53]
mov ecx, dword [esp + 0x52]
and eax, 0xff
shl eax, 8
and ecx, 0xff
or eax, ecx
xor ecx, ecx
mov dword [ebp + 0x20], eax
mov edx, dword [esp + 0x55]
mov eax, dword [esp + 0x54]
and edx, 0xff
shl edx, 8
and eax, 0xff
or edx, eax
xor eax, eax
mov dword [ebp + 0x24], edx
mov ch, byte [esp + 0x57]
movzx dx, byte [esp + 0x56]
or ecx, edx
mov word [ebp + 0x28], cx
mov ah, byte [esp + 0x59]
movzx cx, byte [esp + 0x58]
or eax, ecx
mov word [ebp + 0x2a], ax
mov edx, dword [esp + 0x5d]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5b]
and edx, 0xff
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x5a]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
shl edx, 8
or edx, eax
mov dword [ebp + 0x2e], edx
mov ecx, dword [esp + 0x61]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5f]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x5e]
shl ecx, 8
and eax, 0xff
and edx, 0xff
or ecx, eax
mov eax, dword [ebp + 0x32]
shl ecx, 8
or ecx, edx
cmp eax, ecx
jne 0x566c79
mov eax, dword [ebp + 0x18]
push eax
call fcn.005738e8
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x566f0e
mov ecx, dword [ebp + 0x18]
push ecx
push esi
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566c8e
mov edx, dword [ebp + 0x18]
push edx
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x46]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov ecx, dword [esp + 0x18]
push ecx
jne 0x566cab
call fcn.005737ff
mov eax, dword [ebp + 0x20]
add esp, 4
test eax, eax
je 0x566b22
mov edx, eax
push edx
call fcn.005738e8
add esp, 4
mov dword [ebp + 0x3e], eax
test eax, eax
je 0x566f0e
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x3e]
push eax
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566cc8
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
cmp ecx, eax
jne 0x566b22
mov edi, dword [ebp + 0x3e]
mov esi, dword [ebp + 0x3a]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x566b22
mov eax, dword [ebp + 0x3e]
push eax
call fcn.005737ff
mov ecx, dword [ebp + 0x3a]
add esp, 4
mov dword [ebp + 0x3e], ecx
mov eax, dword [ebp + 0x24]
xor esi, esi
cmp eax, esi
je 0x566b5a
mov edx, eax
push edx
call fcn.005738e8
add esp, 4
cmp eax, esi
mov dword [ebp + 0x42], eax
je 0x566f0e
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x42]
push eax
push ecx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566ce8
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x18]
add edx, edi
push 4
mov word [ebp + 0x4a], si
lea ecx, [edx + eax + 0x2e]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x3c]
adc ecx, esi
push edx
mov word [ebp + 0x4c], si
mov ebp, dword [ebp + 0x4e]
push ebx
mov dword [esp + 0x38], ecx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566f50
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov edi, dword [esp + 0x39]
mov eax, ecx
and eax, 0xff
mov esi, edx
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, edi
shl eax, 8
and esi, 0xff
or eax, esi
mov esi, dword [esp + 0x38]
shl eax, 8
and esi, 0xff
or eax, esi
cmp eax, 0x2014b50
je 0x5667ef
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 0xd84]
test eax, eax
jne 0x566ec1
test ebp, ebp
jne 0x566eb2
and ecx, 0xff
mov eax, dword [esp + 0x38]
shl ecx, 8
and edx, 0xff
and edi, 0xff
or ecx, edx
and eax, 0xff
shl ecx, 8
or ecx, edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x566eb2
lea eax, [esp + 0x38]
push 0x12
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
jne 0x566d08
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x6c]
push ecx
push 0x62cce0
push 0
push 0x135
jmp 0x566e8d
mov edx, dword [esp + 0x6c]
mov eax, dword [ebp + 0x46]
push edx
push eax
push 0
push 0x136
jmp 0x566e8d
push esi
call fcn.005737ff
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
call fcn.005737ff
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x46]
add esp, 4
push edx
push eax
push 0
push 0x137
jmp 0x566e8d
mov ecx, dword [ebp + 0x3e]
push ecx
call fcn.005737ff
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov edx, dword [ebp + 0x42]
push edx
call fcn.005737ff
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x39]
mov edx, dword [esp + 0x38]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
or ecx, edx
jne 0x566d76
mov eax, dword [esp + 0x3b]
mov ecx, dword [esp + 0x3a]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
jne 0x566d76
mov edx, dword [esp + 0x3f]
mov eax, dword [esp + 0x3e]
mov ecx, dword [esp + 0x3c]
and edx, 0xff
shl edx, 8
and eax, 0xff
mov ebp, ecx
or edx, eax
mov eax, dword [esp + 0x3d]
mov edi, eax
and ebp, 0xff
and edi, 0xff
shl edi, 8
or edi, ebp
cmp edi, edx
je 0x566d9c
push esi
push 0x62cce0
push 0
push 0x143
call fcn.00564160
add esp, 8
push eax
call fcn.0055f9d0
mov eax, dword [esp + 0x49]
mov ecx, dword [esp + 0x48]
add esp, 0xc
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [esi + 0xdc0]
cmp ecx, eax
je 0x566dc8
push esi
push 0x62cce0
push 0
push 0x144
jmp 0x566e8d
mov eax, dword [esp + 0x43]
mov ecx, dword [esp + 0x42]
mov edx, dword [esp + 0x41]
and eax, 0xff
shl eax, 8
and ecx, 0xff
mov ebp, dword [esp + 0x30]
or eax, ecx
mov ecx, dword [esp + 0x40]
shl eax, 8
and edx, 0xff
mov edi, dword [esp + 0x34]
or eax, edx
mov edx, dword [esp + 0x2c]
shl eax, 8
and ecx, 0xff
or eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebp
sbb edx, edi
xor edi, edi
cmp eax, ecx
jne 0x566e1c
cmp edi, edx
je 0x566e3a
push esi
push 0x62cce0
push 0
push 0x145
call fcn.00564160
add esp, 8
push eax
call fcn.0055f9d0
add esp, 0xc
mov eax, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov ecx, dword [esp + 0x45]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x44]
shl eax, 8
or eax, ecx
and edx, 0xff
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp eax, edx
jne 0x566e80
cmp ecx, dword [esp + 0x34]
je 0x566ec1
push esi
push 0x62cce0
push 0
push 0x146
call fcn.00564160
add esp, 8
push eax
call fcn.0055f9d0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret
push esi
push 0x62cce0
push 0
push 0x142
jmp 0x566e8d
mov eax, dword [esp + 0x30]
mov dword [esi + 0xdb8], eax
mov eax, dword [esi + 0xd84]
test eax, eax
je 0x566ed9
xor eax, eax
jmp 0x566ef1
mov eax, dword [esp + 0x49]
mov ecx, dword [esp + 0x48]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
test eax, eax
mov dword [esi + 0xdc4], eax
je 0x566f64
push eax
call fcn.005738e8
add esp, 4
mov dword [esi + 0xdc8], eax
test eax, eax
jne 0x566f22
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x58
ret
mov edx, dword [esi + 0xdc4]
push edx
push eax
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
jne 0x566f64
mov eax, dword [esi + 0xdc8]
push eax
call fcn.005737ff
add esp, 4
mov dword [esi + 0xdc8], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0xdb4]
test eax, eax
je 0x566f9d
push eax
push 0
push 0x147
lea edi, [esi + 0xb68]
call fcn.00564160
add esp, 8
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 0xdb0]
push esi
push edi
push ecx
call fcn.0055f9d0
add esp, 0x18
mov eax, dword [esi + 0xd84]
test eax, eax
jne 0x566fd9
lea edx, [esp + 0x13]
push 1
push edx
push ebx
call fcn.00565b70
add esp, 0xc
test eax, eax
je 0x566fd9
push esi
push 0x62cce0
push 0
push 0x148
call fcn.00564160
add esp, 8
push eax
call fcn.0055f9d0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xdc0]
test eax, eax
je 0x567042
shl eax, 2
push eax
call fcn.005738e8
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esi + 0xdcc], eax
jne 0x56700f
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0xdbc]
test eax, eax
je 0x567025
mov dword [ecx], eax
mov eax, dword [eax + 0x4e]
add ecx, 4
test eax, eax
jne 0x567019
mov ecx, dword [esi + 0xdc0]
mov edx, dword [esi + 0xdcc]
push 0x565760
push 4
push ecx
push edx
call fcn.005765bf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret