Function at 0x596bd4
Capabilities:
Delete file
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff4a4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb4c], ebx
mov dword [ebp - 0xb58], ebx
mov dword [ebp - 0xb50], ebx
mov dword [ebp - 0xb54], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
call fcn.00407b94
xor eax, eax
push ebp
push 0x597bea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 1
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.004163a4
test al, al
je 0x597bae
xor edx, edx
push ebp
push 0x597ba4
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x597ae4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43580c]
call fcn.00441bb8
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00441698
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
and eax, 0xffff
cmp eax, 0x4b53
je 0x596cb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
mov eax, dword [ebp - 0x18]
call fcn.005962d0
mov ebx, eax
test ebx, ebx
jge 0x596cd3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
lea edx, [ebp - 0xe4]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe0]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xde]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xdc]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xda]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd8]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd4]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xd0]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp word [ebp - 0xd0], 0
jbe 0x596d88
movzx edx, word [ebp - 0xd0]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0x14]
xor ecx, ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0x14]
mov byte [ebp - 0x29], 0
jmp 0x596f64
lea edx, [ebp - 0x114]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x110]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x10e]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x10c]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x10a]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x108]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x106]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x104]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x100]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xfc]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf8]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf6]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf4]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf2]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xf0]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xec]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xe8]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
movzx ecx, word [ebp - 0xf8]
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0xf8]
mov byte [ebp + eax - 0x238], 0
lea edx, [ebp - 0xb54]
lea eax, [ebp - 0x238]
call fcn.00417290
mov edx, dword [ebp - 0xb54]
lea eax, [ebp - 0xb50]
call fcn.00407dd8
mov eax, dword [ebp - 0xb50]
lea edx, [ebp - 0xb4c]
call fcn.00414bf8
mov eax, dword [ebp - 0xb4c]
push eax
lea edx, [ebp - 0xb58]
mov eax, dword [ebp - 0xc]
call fcn.00414bf8
mov edx, dword [ebp - 0xb58]
pop eax
call fcn.00408334
jne 0x596f64
mov byte [ebp - 0x29], 1
jmp 0x596f8c
mov eax, dword [ebp - 0x18]
call fcn.00441678
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x596f84
cmp eax, dword [esp]
pop edx
pop eax
ja 0x596da1
jmp 0x596f8c
pop edx
pop eax
jg 0x596da1
cmp byte [ebp - 0x29], 0
jne 0x596fa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
push 0xff20
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x43580c]
call fcn.00441bb8
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x134]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x130]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x12e]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x12c]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x12a]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x128]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x124]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x120]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x11c]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x118]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x116]
mov ecx, 2
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx edx, word [ebp - 0x118]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp word [ebp - 0x116], 0
jbe 0x5970cc
movzx edx, word [ebp - 0x116]
mov cx, 1
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test byte [ebp - 0x10c], 1
je 0x597429
cmp dword [ebp + 8], 0
jne 0x5970f5
mov byte [ebp - 0x11], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
mov dword [ebp - 0xbc], 0x12345678
mov dword [ebp - 0xc0], 0x23456789
mov dword [ebp - 0xc4], 0x34567890
mov dword [ebp - 0xb8], 0x8088405
lea edx, [ebp - 0x73c]
mov ecx, 0xc
mov eax, dword [ebp - 0x18]
call fcn.004418cc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x597162
mov eax, dword [ebp - 0xc8]
sub eax, 0xa
cmp word [eax], 2
je 0x597162
lea eax, [ebp + 8]
mov edx, dword [ebp + 8]
call fcn.00406bb4
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x597188
mov eax, dword [ebp - 0xcc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov edi, dword [ebp - 0xcc]
test edi, edi
jle 0x597229
mov ebx, 1
mov eax, dword [ebp + 8]
movzx eax, word [eax + ebx*2 - 2]
xor al, byte [ebp - 0xbc]
movzx eax, al
mov eax, dword [eax*4 + 0x8db4c0]
mov edx, dword [ebp - 0xbc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
and eax, 0xff
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
imul dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xc0], eax
movzx eax, byte [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
shr edx, 0x18
xor al, dl
movzx eax, al
mov eax, dword [eax*4 + 0x8db4c0]
mov edx, dword [ebp - 0xc4]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc4], eax
inc ebx
dec edi
jne 0x59719b
mov ebx, 0xc
lea edi, [ebp - 0x73c]
lea esi, [ebp - 0x748]
mov eax, dword [ebp - 0xc4]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
movzx eax, byte [ebp - 0xbc]
xor al, byte [esi]
movzx eax, al
mov eax, dword [eax*4 + 0x8db4c0]
mov edx, dword [ebp - 0xbc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
and eax, 0xff
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
imul dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xc0], eax
movzx eax, byte [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
shr edx, 0x18
xor al, dl
movzx eax, al
mov eax, dword [eax*4 + 0x8db4c0]
mov edx, dword [ebp - 0xc4]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc4], eax
inc esi
inc edi
dec ebx
jne 0x59723a
movzx eax, word [ebp - 0x10c]
and ax, 8
cmp ax, 8
jne 0x597301
movzx eax, word [ebp - 0x108]
shl eax, 0x10
mov dword [ebp - 4], eax
jmp 0x59730a
mov eax, dword [ebp - 0x104]
mov dword [ebp - 4], eax
movzx eax, byte [ebp - 1]
cmp al, byte [ebp - 0x73d]
je 0x59732c
mov byte [ebp - 0x11], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
mov dl, 1
mov eax, dword [0x435c38]
call fcn.00405600
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xb48]
xor ecx, ecx
mov edx, 0x400
call fcn.00404e04
lea edx, [ebp - 0xb48]
mov ecx, 0x400
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x400
jne 0x5973d5
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0xb48]
mov edx, 0x400
call fcn.0059664c
lea edx, [ebp - 0xb48]
mov ecx, 0x400
mov eax, dword [ebp - 0x20]
call fcn.00441904
lea edx, [ebp - 0xb48]
mov ecx, 0x400
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x400
je 0x597372
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0xb48]
mov edx, dword [ebp - 0xac]
call fcn.0059664c
lea edx, [ebp - 0xb48]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00441698
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jmp 0x59742f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, 0x4000
call fcn.00404340
mov dword [ebp - 0x30], eax
mov eax, 0x10102
call fcn.00404340
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
add eax, 0x10000
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
jne 0x5974a4
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
cmp eax, 4
jge 0x597491
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x24]
call fcn.005963bc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x38], 4
mov dword [ebp - 0x48], 0x20
mov eax, dword [ebp - 0x44]
and al, 1
mov byte [ebp - 0x2a], al
shr dword [ebp - 0x44], 1
dec dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 2
call fcn.005965f4
test eax, eax
jne 0x597689
mov ecx, dword [ebp - 0x48]
and ecx, 0x80000007
jns 0x5974de
dec ecx
or ecx, 0xfffffff8
inc ecx
shr dword [ebp - 0x44], cl
mov eax, dword [ebp - 0x48]
and eax, 0x80000007
jns 0x5974f0
dec eax
or eax, 0xfffffff8
inc eax
sub dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0xa8]
mov ecx, 4
mov eax, dword [ebp - 0x24]
call fcn.00596474
movzx eax, word [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov eax, 0x4000
call fcn.00404340
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xac], 0
je 0x597679
cmp dword [ebp - 0xac], 0x4000
jle 0x59755c
mov dword [ebp - 0xb0], 0x4000
jmp 0x597568
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x24]
call fcn.00596474
mov esi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jb 0x5975da
mov edx, dword [ebp - 0x34]
mov ecx, 0x8000
mov eax, dword [ebp - 0x1c]
call fcn.00441904
mov eax, dword [ebp - 0x34]
add eax, 0x8000
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x9c]
call fcn.00404530
sub dword [ebp - 0x4c], 0x8000
mov edi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0x50]
sub ebx, dword [ebp - 0x4c]
cmp esi, ebx
jge 0x5975ec
mov ebx, esi
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov ecx, ebx
call fcn.00404530
add dword [ebp - 0x4c], ebx
sub esi, ebx
test esi, esi
jle 0x597660
add edi, ebx
mov edx, dword [ebp - 0x34]
mov ecx, 0x8000
mov eax, dword [ebp - 0x1c]
call fcn.00441904
mov eax, dword [ebp - 0x34]
add eax, 0x8000
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x9c]
call fcn.00404530
sub dword [ebp - 0x4c], 0x8000
mov ebx, dword [ebp - 0x50]
sub ebx, dword [ebp - 0x4c]
cmp esi, ebx
jge 0x59764b
mov ebx, esi
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov ecx, ebx
call fcn.00404530
add dword [ebp - 0x4c], ebx
sub esi, ebx
test esi, esi
jg 0x597601
mov eax, dword [ebp - 0xb0]
sub dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x597544
mov eax, dword [ebp - 0xb4]
call fcn.0040435c
jmp 0x597ab3
cmp eax, 2
jne 0x597a34
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 5
call fcn.005965f4
add eax, 0x101
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 5
call fcn.005965f4
inc eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 4
call fcn.005965f4
add eax, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0x11e
jg 0x5976ef
cmp dword [ebp - 0x58], 0x1e
jle 0x597701
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004062b8
jmp 0x597bae
lea eax, [ebp - 0x730]
xor ecx, ecx
mov edx, 0x4c
call fcn.00404e04
mov edi, dword [ebp - 0x5c]
dec edi
test edi, edi
jl 0x597743
inc edi
mov esi, 0x8db3b0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, 3
call fcn.005965f4
movzx edx, byte [esi]
mov dword [ebp + edx*4 - 0x730], eax
inc esi
dec edi
jne 0x597721
mov ecx, 7
mov dl, 1
mov eax, dword [0x596320]
call fcn.00597da4
mov dword [ebp - 0x60], eax
push 0
push 0x13
mov byte [ebp - 0xb5c], 0
lea eax, [ebp - 0xb5c]
push eax
push 0
push 0xffff
lea edx, [ebp - 0x730]
mov ecx, 0x13d
mov eax, dword [ebp - 0x60]
call fcn.00597c00
lea eax, [ebp - 0x730]
xor ecx, ecx
mov edx, 0x4f8
call fcn.00404e04
xor esi, esi
jmp 0x597924
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0xc]
add eax, 7
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x24]
call fcn.0059654c
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0xc]
mov eax, dword [eax*4 + 0x8db330]
and eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
call fcn.00597dc8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
and eax, 0xffff
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x80], 0xf
jg 0x597831
mov eax, dword [ebp - 0x80]
mov dword [ebp + esi*4 - 0x730], eax
inc esi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x84]
call fcn.005965c0
jmp 0x597924
cmp dword [ebp - 0x80], 0x10
jne 0x5978a0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
shr eax, cl
and eax, 3
add eax, 3
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + esi*4 - 0x734]
mov dword [ebp - 0x80], eax
mov edi, dword [ebp - 0x88]
dec edi
test edi, edi
jl 0x597877
inc edi
xor ebx, ebx
lea eax, [ebx + esi]
mov edx, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x730], edx
inc ebx
dec edi
jne 0x597866
add esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
add eax, 2
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x70]
call fcn.005965c0
jmp 0x597924
cmp dword [ebp - 0x80], 0x11
jne 0x5978e3
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
shr eax, cl
and eax, 7
add eax, 3
mov dword [ebp - 0x88], eax
add esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
add eax, 3
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x70]
call fcn.005965c0
jmp 0x597924
cmp dword [ebp - 0x80], 0x12
jne 0x597924
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
shr eax, cl
and eax, 0x7f
add eax, 0xb
mov dword [ebp - 0x88], eax
add esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
add eax, 7
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x70]
call fcn.005965c0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
cmp esi, eax
jl 0x59779c
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x596320]
call fcn.00597da4
mov dword [ebp - 0x64], eax
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x8db404
push 0x1e
push 0x101
lea edx, [ebp - 0x730]
mov ecx, 0x13d
mov eax, dword [ebp - 0x64]
call fcn.00597c00
mov ecx, 0xf
mov dl, 1
mov eax, dword [0x596320]
call fcn.00597da4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
push 0x8db424
push 0x1f
push 0
lea edx, [ebp - 0x730]
mov ecx, 0x13d
mov eax, dword [ebp - 0x68]
call fcn.00597c00
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
call fcn.005967ec
mov eax, dword [ebp - 0x60]
call fcn.00405630
mov eax, dword [ebp - 0x64]
call fcn.00405630
mov eax, dword [ebp - 0x68]
call fcn.00405630
jmp 0x597ab3
dec eax
jne 0x597ab3
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x8db8c4]
mov eax, dword [0x8db8c0]
call fcn.005967ec
cmp byte [ebp - 0x2a], 0
je 0x59746e
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x4c]
je 0x597ad6
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
call fcn.00441904
mov byte [ebp - 0x11], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x597af2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597bae
cmp dword [ebp - 0x20], 0
je 0x597b0d
mov eax, dword [ebp - 0x20]
call fcn.00405630
cmp dword [ebp - 0x1c], 0
je 0x597b59
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x597b30
cmp eax, 0
jne 0x597b30
cmp byte [ebp - 0x11], 0
jne 0x597b30
mov byte [ebp - 0x11], 1
jmp 0x597b51
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0xfc]
cdq
cmp edx, dword [esp + 4]
jne 0x597b49
cmp eax, dword [esp]
pop edx
pop eax
je 0x597b51
mov byte [ebp - 0x11], 2
mov eax, dword [ebp - 0x1c]
call fcn.00405630
cmp dword [ebp - 0x18], 0
je 0x597b67
mov eax, dword [ebp - 0x18]
call fcn.00405630
cmp dword [ebp - 0x30], 0
je 0x597b75
mov eax, dword [ebp - 0x30]
call fcn.0040435c
cmp dword [ebp - 0x34], 0
je 0x597b83
mov eax, dword [ebp - 0x34]
call fcn.0040435c
cmp byte [ebp - 0x11], 0
je 0x597ba3
mov eax, dword [ebp - 0x10]
call fcn.004163a4
test al, al
je 0x597ba3
mov eax, dword [ebp - 0x10]
call fcn.00407c38
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x597bf1
lea eax, [ebp - 0xb58]
call fcn.00407b9c
lea eax, [ebp - 0xb54]
call fcn.004069c8
lea eax, [ebp - 0xb50]
mov edx, 2
call fcn.00407ba4
lea eax, [ebp + 8]
call fcn.00407b9c
ret