Function at 0x40d001
Capabilities:
Create directory
Get common file path
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43fb9a
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x5f8]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x3c], ecx
mov dword [0x453d0d], edi
call fcn.00413c41
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b456
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x600], edi
mov byte [esp + 0x23], 1
call fcn.00413c41
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b48c
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x600], 1
call fcn.00413c41
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b4be
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x600], 2
call fcn.00413c41
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40b4f0
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0x208
lea ecx, [esp + 0x3e8]
push ecx
push edi
mov byte [esp + 0x60c], 3
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x3e4]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b526
sub eax, ecx
mov esi, eax
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x18]
call fcn.00409b60
mov byte [esp + 0x600], 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, edi
jge 0x40b55d
or eax, 0xffffffff
jmp 0x40b57d
lea edx, [esp + 0x3e4]
push edx
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
jne 0x40b57b
or eax, 0xffffffff
jmp 0x40b57d
sub eax, ecx
mov edx, dword [ecx - 0xc]
add eax, esi
cmp eax, edi
jl 0x40b5a6
cmp eax, edx
jg 0x40b5a6
add eax, ecx
push 0x448500
push eax
call fcn.00423912
add esp, 8
cmp eax, edi
je 0x40b5a6
sub eax, dword [esp + 0x14]
mov esi, eax
jmp 0x40b5a9
or esi, 0xffffffff
mov edi, dword [esp + 0x3c]
add edi, 0xd1
mov ecx, edi
mov dword [esp + 0x44], edi
call fcn.00409d30
mov eax, dword [esp + 0x14]
push 0
push eax
push 0x453d11
call fcn.0040d890
cmp esi, 0xffffffff
je 0x40c933
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 5
call fcn.00409c90
mov byte [esp + 0x600], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b62b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._Compress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40b6f1
sub eax, ecx
jne 0x40b6f1
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 2
call fcn.004093c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 6
call fcn.00409c90
mov byte [esp + 0x600], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b6dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x448510
lea ecx, [esp + 0x28]
push ecx
call fcn.00409070
jmp 0x40c933
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._SimpleCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40b790
sub eax, ecx
jne 0x40b790
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 9
call fcn.004093c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 7
call fcn.00409c90
mov byte [esp + 0x600], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40b6d1
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._UDiskCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40b837
sub eax, ecx
jne 0x40b837
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 0xb
call fcn.004093c0
mov byte [esp + 0x600], 8
push eax
lea ecx, [esp + 0x28]
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea eax, [esp + 0x28]
push eax
call fcn.00409070
jmp 0x40c933
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._LdxCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40b8de
sub eax, ecx
jne 0x40b8de
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 7
call fcn.004093c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 9
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea edx, [esp + 0x28]
push edx
call fcn.00409070
jmp 0x40c933
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._UnCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40ba3d
sub eax, ecx
jne 0x40ba3d
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 1
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0xa
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0xb
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 5
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0xc
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea ecx, [esp + 0x28]
push ecx
call fcn.00409070
push 0x448510
lea edx, [esp + 0x1c]
push edx
call fcn.00409070
jmp 0x40c92f
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._UDiskUnCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40bbab
sub eax, ecx
jne 0x40bbab
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 0xc
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0xd
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0xe
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 5
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0xf
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea ecx, [esp + 0x28]
push ecx
call fcn.00409070
push 0x448510
lea edx, [esp + 0x1c]
push edx
call fcn.00409070
push 0x448500
lea eax, [esp + 0x1c]
push eax
call fcn.00409070
jmp 0x40c92f
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._LdxUnCompress
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40bd0a
sub eax, ecx
jne 0x40bd0a
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 8
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x10
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x11
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 5
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
mov byte [esp + 0x600], 0x12
push eax
lea ecx, [esp + 0x1c]
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
lea edx, [esp + 0x24]
push 0x448510
push edx
call fcn.00409070
push 0x448510
lea eax, [esp + 0x1c]
push eax
call fcn.00409070
jmp 0x40c92f
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._BackToDir
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40be30
sub eax, ecx
jne 0x40be30
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 6
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x13
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x14
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 5
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
mov byte [esp + 0x600], 0x15
jmp 0x40bccc
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._Update
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40bf56
sub eax, ecx
jne 0x40bf56
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 3
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x16
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x17
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 5
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
mov byte [esp + 0x600], 0x18
jmp 0x40bccc
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._SimpleUpdate
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40c169
sub eax, ecx
jne 0x40c169
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 0xa
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x19
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__To
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x1a
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea eax, [esp + 0x28]
push eax
call fcn.00409070
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 5
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x1b
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__Src
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40c937
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x1c
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 6
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x604], 0x1d
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea eax, [esp + 0x1c]
push eax
call fcn.00409070
push 0x448510
lea ecx, [esp + 0x38]
push ecx
call fcn.00409070
jmp 0x40c92f
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._Delete
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40c1e2
sub eax, ecx
jne 0x40c1e2
cmp dword [ecx - 0xc], eax
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 4
call fcn.004093c0
mov byte [esp + 0x600], 0x1e
jmp 0x40b808
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._Back
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40c3f1
sub eax, ecx
jne 0x40c3f1
push eax
push str.Find_Back
push 0x453d11
call fcn.0040d890
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push 0x448500
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, 0xffffffff
je 0x40c937
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 5
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x1f
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x40c364
push str.__To
push eax
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c364
sub eax, dword [esp + 0x14]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c364
push 0
push str.Find_To
push 0x453d11
call fcn.0040d890
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x20
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 5
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x21
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
push 0x448510
lea edx, [esp + 0x28]
push edx
call fcn.00409070
push 0x448510
lea eax, [esp + 0x1c]
push eax
call fcn.00409070
mov ebx, dword [esp + 0x18]
push str.__GUID
lea ecx, [esp + 0x30]
call fcn.00409b60
mov byte [esp + 0x600], 0x22
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40c3db
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jl 0x40c3db
push ecx
push eax
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c3db
mov edx, dword [esp + 0x14]
sub eax, edx
mov ecx, eax
cmp ecx, 0xffffffff
je 0x40c3db
mov eax, dword [edx - 0xc]
mov edx, dword [esp + 0x2c]
sub eax, dword [edx - 0xc]
sub eax, ecx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
mov ecx, edi
mov byte [esp + 0x604], 0x23
call fcn.00409d10
lea ecx, [esp + 0x1c]
call fcn.0040a070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x600], 4
call fcn.0040a070
jmp 0x40c933
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._ChangeStrategy
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x40c52f
sub eax, ecx
jne 0x40c52f
cmp dword [ecx - 0xc], eax
mov byte [esp + 0x23], 0xd
jge 0x40c42c
or eax, 0xffffffff
jmp 0x40c449
push 0x448500
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x40c447
or eax, 0xffffffff
jmp 0x40c449
sub eax, ecx
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x24
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__Src
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x25
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 6
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
mov byte [esp + 0x600], 0x26
push eax
lea ecx, [esp + 0x38]
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
lea edx, [esp + 0x34]
jmp 0x40bceb
cmp dword [ecx - 0xc], 0
jl 0x40c650
push str._SimpleChangeStrategy
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c650
mov ecx, dword [esp + 0x14]
sub eax, ecx
jne 0x40c650
cmp dword [ecx - 0xc], eax
mov byte [esp + 0x23], 0xe
jge 0x40c56a
or edx, 0xffffffff
jmp 0x40c589
push 0x448500
push ecx
call fcn.00423912
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x40c585
or edx, 0xffffffff
jmp 0x40c589
sub eax, ecx
mov edx, eax
mov eax, dword [ecx - 0xc]
sub eax, edx
dec eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x604], 0x27
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x40c937
push str.__Src
push ecx
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c933
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x40c937
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x28
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 6
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004093c0
mov byte [esp + 0x600], 0x29
jmp 0x40c50b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.00409780
mov bl, 0x2a
lea edi, [esp + 0x2c]
mov byte [esp + 0x600], bl
call fcn.00409360
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x40c7db
push str..LDX
push esi
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c7db
sub eax, esi
cmp eax, 0xffffffff
je 0x40c7db
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 1
call fcn.004093c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x2b
call fcn.00409c90
lea ecx, [esp + 0x38]
mov byte [esp + 0x600], bl
call fcn.0040a070
push 0x448510
lea ecx, [esp + 0x28]
push ecx
call fcn.00409070
push 0x104
lea edx, [esp + 0x70]
push 0
push edx
call fcn.00425400
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409fc0
push str._eis_ldx_
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push edx
call esi
push str.ldxtmp_
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov eax, dword [esp + 0x18]
push 0
push eax
call esi
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040a350
add esp, 4
push 0x208
lea edx, [esp + 0x1e0]
push 0
push edx
mov byte [esp + 0x60c], 0x2c
call fcn.00425400
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
lea eax, [esp + 0x1e0]
push esi
push eax
call fcn.00429fb0
mov ebx, dword [esi - 0xc]
add esp, 0xc
lea edi, [esp + 0x1dc]
lea esi, [esp + 0x38]
call fcn.0040e590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x2d
call fcn.0040d450
mov ecx, esi
call fcn.0040a070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], 0x2a
call fcn.0040a070
mov esi, dword [esp + 0x2c]
mov bl, 0x2a
cmp dword [esi - 0xc], 0
jl 0x40c91a
push str..LDM
push esi
call fcn.00423912
add esp, 8
test eax, eax
je 0x40c91a
sub eax, esi
cmp eax, 0xffffffff
je 0x40c91a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b], 1
call fcn.004093c0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x604], 0x2e
call fcn.00409c90
lea ecx, [esp + 0x38]
mov byte [esp + 0x600], bl
call fcn.0040a070
push 0x448510
lea eax, [esp + 0x28]
push eax
call fcn.00409070
push 0x104
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.00425400
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409fc0
push str._tiprayldx__
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov ecx, dword [esp + 0x18]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x1c]
push edx
call fcn.0040a350
add esp, 4
push 0x208
lea eax, [esp + 0x1e0]
push 0
push eax
mov byte [esp + 0x60c], 0x2f
call fcn.00425400
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
lea ecx, [esp + 0x1e0]
push esi
push ecx
call fcn.00429fb0
mov ebx, dword [esi - 0xc]
add esp, 0xc
lea edi, [esp + 0x1dc]
lea esi, [esp + 0x48]
call fcn.0040e590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x30
call fcn.0040d450
mov ecx, esi
call fcn.0040a070
lea ecx, [esp + 0x1c]
call fcn.0040a070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x23]
mov edx, dword [esp + 0x3c]
mov byte [edx + 0xb4], al
movzx eax, al
dec eax
cmp eax, 0xd
ja case.default.0x40c952
jmp dword [eax*4 + 0x40d408]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004011d0
push esi
push str.miCompress__s_
lea eax, [esp + 0x30]
push eax
call fcn.00409910
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0
push ecx
jmp 0x40d310
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00401bf0
push esi
lea edx, [esp + 0x2c]
push str.miSimpleCompress__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x34]
add esp, 0xc
push 0
push eax
jmp 0x40d310
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00402620
push eax
push esi
lea ecx, [esp + 0x30]
push str.miUDiskCompress__s___d_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x38]
add esp, 0x10
push 0
push edx
push 0x453d11
call fcn.0040d890
push 4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00401bf0
push esi
push str.miLdxCompress__s_
jmp 0x40c96a
mov edx, dword [esp + 0x24]
push 0x448410
push edx
call fcn.0042357d
add esp, 8
test eax, eax
sete al
test al, al
je 0x40caa0
push 0x104
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00425400
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409fc0
push str._tiprayldx__
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x3e4]
lea esi, [esp + 0x44]
call fcn.0040e590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x31
call fcn.0040d450
mov ecx, esi
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
lea ecx, [eax - 1]
lea eax, [esp + 0x18]
call fcn.0040af40
cmp al, 0x5c
jne 0x40caed
mov eax, dword [ebx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x32
call fcn.00409c90
lea ecx, [esp + 0x48]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, ebx
call fcn.0040f3b0
push ebx
mov edx, esi
push edx
lea eax, [esp + 0x30]
push str.miUnCompress__s_to__s_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
jmp 0x40d310
push 0x208
lea edx, [esp + 0x1e0]
push 0
push edx
call fcn.00425400
add esp, 0xc
lea eax, [esp + 0x1dc]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x2c]
call fcn.0040a090
lea ecx, [esp + 0x1dc]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x604], 0x33
call fcn.00409fc0
push str.Ldx_
lea ecx, [esp + 0x30]
call fcn.0040d580
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x3e4]
lea esi, [esp + 0x38]
call fcn.0040e590
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x604], 0x34
call fcn.0040d450
mov bl, 0x33
mov ecx, esi
mov byte [esp + 0x600], bl
call fcn.0040a070
mov edi, dword [esp + 0x2c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
lea ecx, [eax - 1]
lea eax, [esp + 0x18]
call fcn.0040af40
cmp al, 0x5c
jne 0x40cc14
mov eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x35
call fcn.00409c90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x600], bl
call fcn.0040a070
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
push esi
push edi
push ebx
lea ecx, [esp + 0x34]
push str.miUDiskUnCompress__s___s___s_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x3c]
add esp, 0x14
push 0
push edx
push 0x453d11
call fcn.0040d890
push 0x447978
push ebx
mov dword [esp + 0x44], 0
call fcn.0042292f
mov esi, eax
add esp, 8
test esi, esi
je 0x40d2a5
push 0x64
lea eax, [esp + 0x178]
push 0
push eax
call fcn.00425400
add esp, 0xc
push 0
push 0
push esi
call fcn.00423ebf
add esp, 0xc
push esi
push 0x19
lea ecx, [esp + 0x17c]
push 1
push ecx
call fcn.004233a6
add esp, 0x10
mov ecx, str.LeaderCab
lea eax, [esp + 0x174]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ccc0
test dl, dl
je 0x40ccbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ccc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cca0
xor eax, eax
jmp 0x40ccc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40ccd1
mov dword [esp + 0x3c], 1
push esi
call fcn.004229bd
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x40d2a5
mov edx, dword [esp + 0x18]
push edx
mov edx, edi
mov ecx, ebx
call fcn.0040fe80
add esp, 4
mov esi, eax
push esi
push ebx
lea eax, [esp + 0x30]
push str.miUDiskUnCompress__s___d_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
push 0x453d11
call fcn.0040d890
push edi
call fcn.0040a170
add esp, 4
test esi, esi
jne 0x40cd32
push 4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [esp + 0x24]
push 0x448410
push edx
call fcn.0042357d
add esp, 8
test eax, eax
sete al
test al, al
je 0x40cddf
push 0x104
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00425400
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409fc0
push str._tiprayldx__
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x3e4]
lea esi, [esp + 0x68]
call fcn.0040e590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x36
call fcn.0040d450
mov ecx, esi
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
lea ecx, [eax - 1]
lea eax, [esp + 0x18]
call fcn.0040af40
cmp al, 0x5c
jne 0x40ce2c
mov eax, dword [ebx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x37
call fcn.00409c90
lea ecx, [esp + 0x58]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, ebx
call fcn.0040f3b0
push ebx
mov edx, esi
push edx
lea eax, [esp + 0x30]
push str.miLdxUnCompress__s_to__s_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
jmp 0x40d310
mov edx, dword [esp + 0x24]
push 0x448410
push edx
call fcn.0042357d
add esp, 8
test eax, eax
sete al
test al, al
je 0x40cefe
push 0x104
lea eax, [esp + 0x70]
push 0
push eax
call fcn.00425400
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00409fc0
push str.Ldx_
lea ecx, [esp + 0x1c]
call fcn.0040d580
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x3e4]
lea esi, [esp + 0x54]
call fcn.0040e590
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x38
call fcn.0040d450
mov ecx, esi
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
lea ecx, [eax - 1]
lea eax, [esp + 0x18]
call fcn.0040af40
cmp al, 0x5c
jne 0x40cf4b
mov eax, dword [ebx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x20]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x39
call fcn.00409c90
lea ecx, [esp + 0x60]
mov byte [esp + 0x600], 4
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edi, ebx
call fcn.0040f3b0
push ebx
mov edx, esi
push edx
lea eax, [esp + 0x30]
push str.miBackToDir__s_to__s_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
jmp 0x40d310
mov edi, dword [esp + 0x24]
mov esi, ebx
call fcn.00405790
mov edx, edi
push edx
push ebx
lea eax, [esp + 0x30]
push str.miUpdate__s_to__s_
push eax
call fcn.00409910
mov ecx, dword [esp + 0x38]
add esp, 0x10
push 0
push ecx
jmp 0x40d310
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
call fcn.00405610
mov edx, ebx
push edx
mov eax, esi
push eax
mov ecx, edi
push ecx
lea edx, [esp + 0x34]
push str.miSimpleUpdate__s_to__s___s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x3c]
add esp, 0x14
push 0
push eax
push 0x453d11
call fcn.0040d890
mov ebx, esi
jmp 0x40d31a
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040a170
add esp, 4
push 0x104
lea edx, [esp + 0x70]
push 0
push edx
call fcn.00425400
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x2c]
call fcn.0040a090
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x604], 0x3a
call fcn.00409fc0
push str.Ldx_
lea ecx, [esp + 0x30]
call fcn.0040d580
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [edi]
push 0x448410
push eax
call fcn.0042357d
add esp, 8
test eax, eax
setne al
test al, al
je 0x40d084
push edi
lea ecx, [esp + 0x30]
call fcn.0040d450
jmp 0x40d0bd
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x3e4]
lea esi, [esp + 0x5c]
call fcn.0040e590
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x604], 0x3b
call fcn.0040d450
mov ecx, esi
mov byte [esp + 0x600], 0x3a
call fcn.0040a070
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x40d2b4
cmp eax, ecx
jg 0x40d2b4
cmp byte [eax + ebx], 0x5c
jne 0x40d119
dec ecx
push ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
call fcn.00409440
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x604], 0x3c
call fcn.00409c90
lea ecx, [esp + 0x64]
mov byte [esp + 0x600], 0x3a
call fcn.0040a070
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push ecx
push edi
push esi
lea edx, [esp + 0x34]
push str.miBack__s___s___s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x3c]
add esp, 0x14
push 0
push eax
push 0x453d11
call fcn.0040d890
push 0x447978
push esi
xor ebx, ebx
call fcn.0042292f
mov esi, eax
add esp, 8
test esi, esi
je 0x40d1ee
push 0x64
lea ecx, [esp + 0x178]
push ebx
push ecx
call fcn.00425400
add esp, 0xc
push ebx
push ebx
push ebx
push esi
call fcn.00422ad5
push esi
push 0x19
lea edx, [esp + 0x18c]
push 1
push edx
call fcn.004233a6
add esp, 0x20
mov ecx, str.LeaderCab
lea eax, [esp + 0x174]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d1c0
test dl, dl
je 0x40d1bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d1c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d1a0
xor eax, eax
jmp 0x40d1c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40d1cc
lea ebx, [eax + 1]
push esi
call fcn.004229bd
add esp, 4
test ebx, ebx
je 0x40d1ee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push eax
mov edx, edi
call fcn.0040f920
add esp, 4
jmp 0x40d200
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.004101a0
add esp, 8
cmp eax, 3
jne 0x40d20d
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x404
je 0x40d273
cmp eax, 0xc04
je 0x40d273
lea edx, [esp + 0x50]
push edx
mov edi, 7
call fcn.0040f260
add esp, 4
mov esi, eax
lea eax, [esp + 0x4c]
push eax
mov edi, 0x14
mov byte [esp + 0x604], 0x3d
call fcn.0040f260
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 4
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x4c]
call fcn.0040a070
lea ecx, [esp + 0x50]
jmp 0x40d2a0
lea ecx, [esp + 0x30]
push ecx
mov edi, 7
call fcn.0040f260
mov eax, dword [eax]
add esp, 4
push 0
push eax
push 0x44875c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x30]
call fcn.0040a070
lea ecx, [esp + 0x2c]
call fcn.0040a070
mov ebx, dword [esp + 0x18]
jmp 0x40d31a
push 0x80070057
call fcn.0040a000
mov esi, dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
call fcn.00408100
push esi
push ebx
lea edx, [esp + 0x30]
push str.miUpdateStrategy__cstrDstPath:__s___cstrTmpPath:__s_
push edx
call fcn.00409910
mov eax, dword [esp + 0x38]
add esp, 0x10
push 0
push eax
jmp 0x40d310
mov esi, dword [esp + 0x34]
mov edx, esi
mov ecx, ebx
call fcn.00408a30
push esi
push ebx
lea ecx, [esp + 0x30]
push str.miSimpleChangeStrategy__cstrDstPath:__s___cstrTmpPath:__s_
push ecx
call fcn.00409910
mov edx, dword [esp + 0x38]
add esp, 0x10
push 0
push edx
push 0x453d11
call fcn.0040d890
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov byte [esp + 0x600], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d342
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x600], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d36a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x600], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d38e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x600], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x600], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x5f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5e0]
xor ecx, esp
call fcn.00421f65
mov esp, ebp
pop ebp
ret