Function at 0x5c0c40
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 0x5c0d81
push esi
push 0x6a1e40
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.005bef50
add esp, 0x18
cmp eax, 1
jne 0x5c0d74
test byte [esi + 0xdf0], 1
jne 0x5c0d06
mov edx, dword [esi + 0xdb0]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.005c0040
add esp, 0x10
test eax, eax
je 0x5c0d06
mov eax, dword [esi + 0xdb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x5c1f35
mov cx, word [esi + 0xdf0]
mov edx, dword [esi + 0xdb0]
push esi
push ecx
push edx
call fcn.005be7a0
add esp, 4
push eax
call fcn.005bea90
add esp, 0xc
test eax, eax
jne 0x5c0d42
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.005c0590
add esp, 4
cmp eax, edi
jne 0x5c20d4
mov ecx, dword [esi + 0xdb0]
push esi
push ecx
call fcn.005bdd90
add esp, 8
mov dword [esi + 0x19e], eax
jmp 0x5c0df8
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.005c0040
add esp, 0x10
test eax, eax
je 0x5c0dc9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
or edx, eax
jne 0x5c0dc9
mov eax, dword [esi + 0xdb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x5c0de1
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.005c08f0
add esp, 8
cmp eax, edi
jne 0x5c20d4
mov edx, dword [esi + 0xdb0]
push edx
call fcn.005c0590
add esp, 4
cmp eax, edi
jne 0x5c20d4
mov eax, dword [esi + 0xdb0]
cmp eax, edi
je 0x5c20d2
cmp byte [eax], 0
je 0x5c20d2
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 0x5c20d2
cmp dword [esi + 0xd84], edi
je 0x5c0e56
mov edx, dword [esi + 0xdb0]
lea eax, [esp + 0x30]
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.005c0040
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.005c0c00
add esp, 0xc
test eax, eax
je 0x5c0eae
cmp byte [esp + 0x13], 0x50
je 0x5c0eae
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.005c0c00
add esp, 0xc
test eax, eax
jne 0x5c0e80
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 3
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.005c0c00
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov edi, dword [esp + 0x45]
add esp, 0xc
test eax, eax
je 0x5c0f61
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 0x5c0f1f
test ebp, ebp
je 0x5c0f61
cmp eax, 0x6054b50
jne 0x5c0f2a
test ebp, ebp
je 0x5c0f61
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.005b2d20
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x5c1fe0
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 0x5c0e68
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 0x5c181c
push 0x52
call fcn.005cec99
mov esi, eax
add esp, 4
test esi, esi
je 0x5c1f9e
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.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1763
mov ebp, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [ebp + 0xd84], ecx
je 0x5c11b5
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 0x5c1183
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 0x5c11a8
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x5c1228
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x5c1228
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 0x5c11c6
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 0x5c1789
lea eax, [edi + 1]
push eax
call fcn.005cec99
add esp, 4
mov dword [esi + 0x46], eax
test eax, eax
je 0x5c1f9e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5c1271
push eax
call fcn.005cec99
add esp, 4
mov dword [esi + 0x3a], eax
test eax, eax
je 0x5c1f9e
mov ecx, dword [esi + 0x46]
push edi
mov byte [ecx], 0
mov edx, dword [esi + 0x46]
push edx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1fe0
mov eax, dword [esi + 0x46]
mov byte [edi + eax], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5c12b1
mov ecx, dword [esi + 0x3a]
push eax
push ecx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1fe0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, eax
or edx, ecx
je 0x5c12d7
push 1
push ecx
push eax
push ebx
call fcn.005b2d20
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x5c17b4
mov eax, dword [ebp + 0xd84]
test eax, eax
je 0x5c12e7
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.005bfa00
add esp, 8
mov dword [esi + 0x36], eax
test eax, eax
je 0x5c1f9e
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 0x5c15d6
or eax, ecx
jne 0x5c147d
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1391
cmp byte [esp + 0x13], 0x50
je 0x5c1391
lea ecx, [esp + 0x13]
push 1
push ecx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
jne 0x5c1376
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 0xf
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c140a
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 0x5c140a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff1
push ebx
call fcn.005b2d20
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x5c17b4
jmp 0x5c1362
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.005b2d20
mov ecx, ebp
add esp, 0x10
add ecx, 0x10
adc edi, 0
cmp eax, ecx
jne 0x5c17c8
cmp edx, edi
jne 0x5c17c8
jmp 0x5c14f3
mov edx, dword [esp + 0x2c]
push 0
push edx
push ebp
push ebx
call fcn.005b2d20
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x5c1fe0
lea eax, [esp + 0x38]
push 0x10
push eax
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1fe0
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 0x5c17dd
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xd84]
test ecx, ecx
je 0x5c157c
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 0x5c1597
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 0x5c158e
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.005c0c00
add esp, 0xc
test eax, eax
je 0x5c17f2
mov ecx, dword [esp + 0x3b]
mov edx, dword [esp + 0x3a]
mov edi, dword [esp + 0x39]
jmp 0x5c1723
cmp dword [edi + 0xd84], 1
jle 0x5c15ad
lea eax, [esp + 0x13]
push 1
push eax
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1620
cmp byte [esp + 0x13], 0x50
je 0x5c1620
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.005c0c00
add esp, 0xc
test eax, eax
jne 0x5c15f3
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x39]
push 3
push eax
push ebx
mov byte [esp + 0x44], dl
call fcn.005c0c00
mov ecx, dword [esp + 0x47]
mov edx, dword [esp + 0x46]
mov edi, dword [esp + 0x45]
add esp, 0xc
test eax, eax
je 0x5c16d5
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 0x5c1691
test ebp, ebp
je 0x5c16d1
cmp eax, 0x2014b50
jne 0x5c169c
test ebp, ebp
je 0x5c16d1
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ebx
call fcn.005b2d20
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x5c1fe0
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 0x5c15df
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 0x5c1710
xor ebp, ebp
cmp ebx, ebp
je 0x5c171f
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 0x5c0fa6
jmp 0x5c181c
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0xd84]
test eax, eax
jne 0x5c1810
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 0x673660
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebp
push esi
push 0
push 0x131
jmp 0x5c1f1d
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 0x5c1f1d
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 0x46]
push edx
push eax
push 0
push 0x134
jmp 0x5c1f1d
mov eax, dword [edi + 0xd84]
test eax, eax
jne 0x5c1810
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 0x5c1f51
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 0x5c1c77
test ebp, ebp
je 0x5c1cf3
lea ecx, [esp + 0x38]
push 0x2a
push ecx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1fe0
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 0x5c18dc
mov byte [eax], cl
inc esi
cmp esi, 0x18
jb 0x5c18cf
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 0x5c1d09
mov eax, dword [ebp + 0x18]
push eax
call fcn.005cec99
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
je 0x5c1f9e
mov ecx, dword [ebp + 0x18]
push ecx
push esi
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1d1e
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 0x5c1d3b
call fcn.005cebb0
mov eax, dword [ebp + 0x20]
add esp, 4
test eax, eax
je 0x5c1bb2
mov edx, eax
push edx
call fcn.005cec99
add esp, 4
mov dword [ebp + 0x3e], eax
test eax, eax
je 0x5c1f9e
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x3e]
push eax
push ecx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1d58
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
cmp ecx, eax
jne 0x5c1bb2
mov edi, dword [ebp + 0x3e]
mov esi, dword [ebp + 0x3a]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5c1bb2
mov eax, dword [ebp + 0x3e]
push eax
call fcn.005cebb0
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 0x5c1bea
mov edx, eax
push edx
call fcn.005cec99
add esp, 4
cmp eax, esi
mov dword [ebp + 0x42], eax
je 0x5c1f9e
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x42]
push eax
push ecx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1d78
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.005c0c00
add esp, 0xc
test eax, eax
je 0x5c1fe0
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 0x5c187f
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 0xd84]
test eax, eax
jne 0x5c1f51
test ebp, ebp
jne 0x5c1f42
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 0x5c1f42
lea eax, [esp + 0x38]
push 0x12
push eax
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
jne 0x5c1d98
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 0x6a1e40
push 0
push 0x135
jmp 0x5c1f1d
mov edx, dword [esp + 0x6c]
mov eax, dword [ebp + 0x46]
push edx
push eax
push 0
push 0x136
jmp 0x5c1f1d
push esi
call fcn.005cebb0
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.005cebb0
mov edx, dword [esp + 0x70]
mov eax, dword [ebp + 0x46]
add esp, 4
push edx
push eax
push 0
push 0x137
jmp 0x5c1f1d
mov ecx, dword [ebp + 0x3e]
push ecx
call fcn.005cebb0
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.005cebb0
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 0x5c1e06
mov eax, dword [esp + 0x3b]
mov ecx, dword [esp + 0x3a]
and eax, 0xff
and ecx, 0xff
shl eax, 8
or eax, ecx
jne 0x5c1e06
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 0x5c1e2c
push esi
push 0x6a1e40
push 0
push 0x143
call fcn.005bf5c0
add esp, 8
push eax
call fcn.005bae30
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 0x5c1e58
push esi
push 0x6a1e40
push 0
push 0x144
jmp 0x5c1f1d
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 0x5c1eac
cmp edi, edx
je 0x5c1eca
push esi
push 0x6a1e40
push 0
push 0x145
call fcn.005bf5c0
add esp, 8
push eax
call fcn.005bae30
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 0x5c1f10
cmp ecx, dword [esp + 0x34]
je 0x5c1f51
push esi
push 0x6a1e40
push 0
push 0x146
call fcn.005bf5c0
add esp, 8
push eax
call fcn.005bae30
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 0x6a1e40
push 0
push 0x142
jmp 0x5c1f1d
mov eax, dword [esp + 0x30]
mov dword [esi + 0xdb8], eax
mov eax, dword [esi + 0xd84]
test eax, eax
je 0x5c1f69
xor eax, eax
jmp 0x5c1f81
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 0x5c1ff4
push eax
call fcn.005cec99
add esp, 4
mov dword [esi + 0xdc8], eax
test eax, eax
jne 0x5c1fb2
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.005c0c00
add esp, 0xc
test eax, eax
jne 0x5c1ff4
mov eax, dword [esi + 0xdc8]
push eax
call fcn.005cebb0
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 0x5c202d
push eax
push 0
push 0x147
lea edi, [esi + 0xb68]
call fcn.005bf5c0
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.005bae30
add esp, 0x18
mov eax, dword [esi + 0xd84]
test eax, eax
jne 0x5c2069
lea edx, [esp + 0x13]
push 1
push edx
push ebx
call fcn.005c0c00
add esp, 0xc
test eax, eax
je 0x5c2069
push esi
push 0x6a1e40
push 0
push 0x148
call fcn.005bf5c0
add esp, 8
push eax
call fcn.005bae30
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xdc0]
test eax, eax
je 0x5c20d2
shl eax, 2
push eax
call fcn.005cec99
mov ecx, eax
add esp, 4
test ecx, ecx
mov dword [esi + 0xdcc], eax
jne 0x5c209f
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0xdbc]
test eax, eax
je 0x5c20b5
mov dword [ecx], eax
mov eax, dword [eax + 0x4e]
add ecx, 4
test eax, eax
jne 0x5c20a9
mov ecx, dword [esi + 0xdc0]
mov edx, dword [esi + 0xdcc]
push 0x5c07f0
push 4
push ecx
push edx
call fcn.005d1e03
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret