Function at 0x464350
Capabilities:
Copy file
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3f3d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x63fc
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x818
xor edi, edi
push edi
lea eax, [ebp - 0x1530]
push eax
call fcn.004b0470
add esp, 0xc
cmp byte [0x51a779], 0
je 0x4643c1
push 0x400
lea ecx, [ebp - 0x1530]
push ecx
mov ecx, 0x5219d0
call fcn.00413210
jmp 0x464497
lea ecx, [ebp - 0x118]
call fcn.00470340
mov dword [ebp - 4], edi
push edi
lea edx, [ebp - 0x118]
push edx
mov ecx, 0x5210a8
call fcn.00446320
mov eax, dword [ebp - 0xf8]
cmp eax, edi
jne 0x464423
push 0x30
push 0x65
call fcn.00466860
push eax
push 0x14c
call fcn.00466860
push eax
mov eax, dword [0x51b8cc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401e20
jmp 0x4654cc
cmp eax, 1
jne 0x464445
push edi
push 0x400
lea ecx, [ebp - 0x1530]
push ecx
push edi
lea ecx, [ebp - 0x118]
call fcn.00470520
test al, al
jne 0x464485
push 0x400
lea edx, [ebp - 0x1d30]
push edx
call fcn.0048c140
lea eax, [ebp - 0x1d30]
push eax
call fcn.00455e90
cmp word [eax], di
mov ecx, eax
jne 0x46446e
mov ecx, str.report.
lea edx, [ebp - 0x1530]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x464474
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401e20
cmp byte [0x51a779], 0
mov eax, str.InterfaceReportArc
jne 0x4644aa
mov eax, str.InterfaceReportFile
push edi
push str.OutFormat
push eax
call fcn.004604a0
test eax, eax
sete bl
mov dword [ebp - 0xd2c], edi
test bl, bl
mov eax, 0x4ca030
jne 0x4644cf
mov eax, 0x4ca028
push eax
lea ecx, [ebp - 0x1530]
push ecx
call fcn.00457e10
xor esi, esi
mov edi, edi
lea edx, [ebp - 0x1530]
push edx
call fcn.00435620
test al, al
je 0x46454c
cmp esi, edi
je 0x464501
push edi
lea eax, [ebp - 0x1530]
push eax
call fcn.00457e10
push esi
push 0x4ca4a0
lea ecx, [ebp - 0x28]
push ecx
mov edx, 0xa
call fcn.00407130
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1530]
push eax
call fcn.00457e10
test bl, bl
mov eax, 0x4ca030
jne 0x464536
mov eax, 0x4ca028
push eax
lea ecx, [ebp - 0x1530]
push ecx
call fcn.00457e10
inc esi
cmp esi, 0x3e8
jl 0x4644e0
lea edx, [ebp - 0x1530]
push edx
push 0x463c40
mov eax, dword [0x51b8cc]
push eax
push 0x4ca1b8
mov ecx, dword [0x5072f0]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4654cc
cmp dword [ebp - 0xd2c], edi
sete bl
mov byte [ebp - 0x6255], bl
push edi
lea edx, [ebp - 0xd18]
push edx
push str.Rar_RP
call fcn.0048b8f0
test al, al
je 0x4654cc
lea eax, [ebp - 0xd18]
push eax
call fcn.00455810
lea ecx, [ebp - 0x1530]
push ecx
call fcn.00455e90
cmp word [eax], di
jne 0x4645cc
test bl, bl
mov eax, str.report.htm
jne 0x4645cc
mov eax, 0x4ca460
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4645d0
sub eax, edx
lea edi, [ebp - 0xd18]
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4645e6
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x4ca45c
lea edx, [ebp - 0xd18]
push edx
call fcn.00435dd0
mov esi, eax
mov dword [ebp - 0x625c], esi
test esi, esi
jne 0x464638
lea eax, [ebp - 0xd18]
push eax
push esi
mov ecx, 0x5072f4
call fcn.0042d2a0
jmp 0x4654cc
push 0
push 0
push 0x4c6d80
push 0xa
call fcn.0048ebc0
mov byte [ebp - 0x625d], al
push 0x556
call fcn.00466860
push eax
call fcn.0048c550
cmp dword [ebp - 0xd2c], 1
jne 0x464680
push esi
push 0xff
call fcn.004b3a83
push esi
push 0xfe
call fcn.004b3a83
add esp, 0x10
mov bl, 1
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp byte [0x51a779], al
jne 0x4646af
cmp byte [ebp - 0xd22], al
mov byte [ebp - 0x18], al
jne 0x4646b3
mov byte [ebp - 0x18], 1
lea ecx, [ebp - 0x6340]
call fcn.00444e80
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x640c]
call fcn.00444e80
mov byte [ebp - 4], 2
cmp byte [0x51a779], 0
je 0x464718
push 0x400
lea ecx, [ebp - 0x1d30]
push ecx
mov ecx, 0x5219d0
call fcn.00413210
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x640c]
push eax
lea ecx, [ebp - 0x6340]
push ecx
lea edx, [ebp - 0x1d30]
push edx
call fcn.00464200
mov bl, al
jmp 0x4649ec
lea ecx, [ebp - 0x118]
call fcn.00470340
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x5210a8
call fcn.00446320
push 1
push 0
push 3
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x6254]
call fcn.00469000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25ec]
call fcn.004128b0
lea ecx, [ebp - 0x25c8]
call fcn.004128b0
lea ecx, [ebp - 0x25a4]
call fcn.004128b0
lea edx, [ebp - 0x3200]
push edx
lea ecx, [ebp - 0x6254]
call fcn.00469b50
test eax, eax
jne 0x4649ce
mov edi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
call fcn.0044c9d0
cmp byte [ebp - 0xd22], 0
je 0x464959
push 0x830
push 0
lea eax, [ebp - 0x1d60]
push eax
call fcn.004b0470
add esp, 0xc
xor eax, eax
jmp 0x4647d0
movzx ecx, word [ebp + eax - 0x2e00]
mov word [ebp + eax - 0x1d60], cx
add eax, 2
test cx, cx
jne 0x4647d0
mov eax, dword [ebp - 0x2600]
mov dword [ebp - 0x1558], eax
mov edx, dword [ebp - 0x25fc]
mov dword [ebp - 0x1554], edx
mov dword [ebp - 0x1560], eax
mov dword [ebp - 0x155c], edx
cmp byte [ebp - 0xd1e], cl
je 0x46487c
test dword [ebp - 0x25f8], 0x800
je 0x46487c
call fcn.00444860
test eax, eax
je 0x464870
lea ecx, [ebp - 0x6264]
push ecx
lea edx, [ebp - 0x2e00]
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x46484a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464870
push 1
push 0
push 0
mov eax, dword [ebp - 0x6264]
push eax
call fcn.004b0a90
xor ecx, ecx
add eax, esi
mov dword [ebp - 0x1558], eax
adc edx, ecx
mov dword [ebp - 0x1554], edx
jmp 0x46487c
mov eax, dword [ebp - 0x1558]
mov edx, dword [ebp - 0x1554]
mov ecx, dword [ebp - 0x25f8]
mov dword [ebp - 0x1550], ecx
mov ecx, dword [ebp - 0x1d70]
mov dword [ebp - 0x154c], ecx
mov ecx, dword [ebp - 0x1d6c]
mov dword [ebp - 0x1548], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x153c], ecx
inc ecx
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1560]
add dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x155c]
adc dword [ebp - 0x28], ecx
add dword [ebp - 0x24], eax
adc dword [ebp - 0x20], edx
cmp byte [ebp - 0xd1c], 0
je 0x46493e
mov edx, dword [ebp - 0x25f8]
push edx
call fcn.00435650
test al, al
jne 0x46493e
lea ecx, [ebp - 0x3e28]
call fcn.004340f0
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x2e00]
push eax
push 0
lea ecx, [ebp - 0x3e28]
call fcn.00434530
test al, al
je 0x46492f
push 0
push 0x7fffffff
push 0x7fffffff
lea ecx, [ebp - 0x3e28]
push ecx
call fcn.004365a0
mov dword [ebp - 0x1540], eax
or dword [ebp - 0x1544], 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e28]
call fcn.00434500
lea edx, [ebp - 0x1d60]
push edx
lea ecx, [ebp - 0x6340]
call fcn.00444a90
cmp byte [ebp - 0x6278], 0
jne 0x4649cc
cmp byte [0x51b848], 0
jne 0x4649cc
cmp byte [ebp - 0xd23], 0
je 0x4649b0
cmp byte [ebp - 0x25f0], 0
jne 0x4649b0
push 2
push 0
lea eax, [ebp - 0x2e00]
push eax
mov ecx, 0x5219d0
call fcn.004169e0
cmp eax, 1
jne 0x4649b0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x640c]
push edx
lea eax, [ebp - 0x6340]
push eax
lea ecx, [ebp - 0x2e00]
push ecx
call fcn.00464200
test al, al
je 0x4649cc
lea edx, [ebp - 0x3200]
push edx
lea ecx, [ebp - 0x6254]
call fcn.00469b50
test eax, eax
je 0x464797
jmp 0x4649ce
xor bl, bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6254]
call fcn.004692a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00401e20
test bl, bl
je 0x465496
lea ecx, [ebp - 0x6340]
call fcn.00444d00
lea ecx, [ebp - 0x640c]
call fcn.00444d00
cmp dword [ebp - 0xd28], 6
je 0x464a42
lea eax, [ebp - 0x1530]
mov dword [0x53226c], eax
push 0x463980
push 0x38
mov ecx, dword [ebp - 0x628c]
push ecx
push 0
lea ecx, [ebp - 0x6340]
call fcn.00444e20
push eax
call fcn.004b2550
add esp, 0x10
mov bl, byte [ebp - 0x6255]
test bl, bl
je 0x464ad1
lea ecx, [ebp - 0x58]
call fcn.004128b0
lea ecx, [ebp - 0x58]
call fcn.00473090
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
push str._u__02u__02u__02u:_02u
lea ecx, [ebp - 0xd4]
push ecx
mov edx, 0x32
call fcn.00407130
add esp, 0x1c
lea edx, [ebp - 0xd4]
push edx
push 0x55b
call fcn.00466860
push eax
lea eax, [ebp - 0x3ac8]
push eax
mov edx, 0x464
call fcn.00407130
lea ecx, [ebp - 0x3ac8]
push ecx
push str._html__r_n_head__r_n_meta_http_equiv_Content_Type__content_text_html__charsetUTF_8____r_n_title__s__title__r_n__head__r_n_body__r_n_pre__r_n
mov edx, dword [ebp - 0xd2c]
push edx
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x6264], eax
mov dword [ebp - 0x6268], eax
cmp dword [ebp - 0x628c], eax
jbe 0x464eca
jmp 0x464af0
mov eax, dword [ebp - 0x6268]
push eax
lea ecx, [ebp - 0x1d60]
push ecx
lea ecx, [ebp - 0x6340]
call fcn.00444c50
cmp byte [ebp - 0xd21], 0
je 0x464be1
mov eax, dword [ebp - 0x1534]
cmp eax, dword [ebp - 0x6264]
je 0x464be1
mov dword [ebp - 0x6264], eax
mov esi, dword [ebp - 0x625c]
test bl, bl
je 0x464b4c
push 0x4ca31c
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.00463a60
add esp, 8
push 0x4ca314
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.00463a60
add esp, 8
mov eax, dword [ebp - 0x1534]
test eax, eax
je 0x464b9b
dec eax
push eax
lea ecx, [ebp - 0x3a30]
push ecx
lea ecx, [ebp - 0x640c]
call fcn.00444c50
push eax
push 0x28a
call fcn.00466860
push eax
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.00463a60
add esp, 0xc
jmp 0x464bb5
push 0x558
call fcn.00466860
push eax
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.00463a60
add esp, 8
test bl, bl
je 0x464bcd
push str.__b_
mov ecx, dword [ebp - 0xd2c]
push ecx
call fcn.00463a60
add esp, 8
push 0x4c7018
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.00463a60
add esp, 8
xor eax, eax
mov word [ebp - 0x2d60], ax
mov ecx, dword [ebp - 0x1550]
push ecx
call fcn.00435650
mov bl, al
cmp byte [ebp - 0xd1d], 0
je 0x464c5e
lea ecx, [ebp - 0x58]
call fcn.004128b0
lea edx, [ebp - 0x154c]
push edx
lea ecx, [ebp - 0x58]
call fcn.00472da0
lea eax, [ebp - 0x2d60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464c21
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x58]
push ecx
push 0x4ca2d4
lea edx, [ebp + eax*2 - 0x2d60]
push edx
mov edx, 0x800
call fcn.00407130
add esp, 0x1c
cmp byte [ebp - 0xd1f], 0
je 0x464d0a
mov eax, dword [ebp - 0x1560]
cmp eax, 0x7fffffff
jne 0x464ca6
cmp dword [ebp - 0x155c], eax
jne 0x464ca6
xor eax, eax
jmp 0x464c90
movzx ecx, word [eax + 0x4c9938]
mov word [ebp + eax - 0x70], cx
add eax, 2
test cx, cx
jne 0x464c90
jmp 0x464cbc
push 0xa
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x155c]
push edx
push eax
call fcn.004b3a50
add esp, 0x10
test bl, bl
je 0x464ccc
push 0x573
call fcn.00466860
jmp 0x464ccf
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x2d60]
lea esi, [ecx + 2]
jmp 0x464ce0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x464ce0
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 - 0x2d60]
push eax
mov edx, 0x800
call fcn.00407130
add esp, 0xc
cmp byte [ebp - 0xd1e], 0
je 0x464daa
mov eax, dword [ebp - 0x1558]
cmp eax, 0x7fffffff
jne 0x464d46
cmp dword [ebp - 0x1554], eax
jne 0x464d46
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x4c9938]
mov word [ebp + eax - 0x70], cx
add eax, 2
test cx, cx
jne 0x464d30
jmp 0x464d5c
push 0xa
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x1554]
push edx
push eax
call fcn.004b3a50
add esp, 0x10
test bl, bl
je 0x464d6c
push 0x573
call fcn.00466860
jmp 0x464d6f
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x2d60]
lea esi, [ecx + 2]
jmp 0x464d80
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x464d80
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 - 0x2d60]
push eax
mov edx, 0x800
call fcn.00407130
add esp, 0xc
cmp byte [ebp - 0xd1c], 0
je 0x464e4c
test byte [ebp - 0x1544], 8
je 0x464e02
lea eax, [ebp - 0x2d60]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464dd0
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x1540]
push ecx
push 0x4ca2b4
lea edx, [ebp + eax*2 - 0x2d60]
push edx
mov edx, 0x800
call fcn.00407130
add esp, 0xc
jmp 0x464e4c
test bl, bl
mov eax, 0x4ca29c
jne 0x464e10
mov eax, 0x4ca284
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464e12
sub eax, edx
lea edi, [ebp - 0x2d60]
add edi, 0xfffffffe
jmp 0x464e30
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x464e30
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1d60]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464e54
sub eax, esi
lea edi, [ebp - 0x2d60]
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x464e70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x2d60]
push eax
push str._s_r_n
mov ecx, dword [ebp - 0xd2c]
push ecx
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 0xc
mov eax, dword [ebp - 0x6268]
inc eax
mov dword [ebp - 0x6268], eax
mov bl, byte [ebp - 0x6255]
cmp eax, dword [ebp - 0x628c]
jb 0x464af0
cmp byte [ebp - 0xd20], 0
je 0x4652a5
push 0xa
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b3a50
push 0xa
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004b3a50
add esp, 0x20
test bl, bl
je 0x464f21
push 0x4ca31c
mov edx, dword [ebp - 0xd2c]
push edx
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 8
push 0x4ca270
mov eax, dword [ebp - 0xd2c]
push eax
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 8
xor ecx, ecx
mov word [ebp - 0x518], cx
xor edx, edx
mov word [ebp - 0x318], dx
cmp byte [ebp - 0xd1d], cl
je 0x464fce
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464f60
sub eax, edx
sar eax, 1
mov esi, eax
push 0x1aa
call fcn.00466860
push eax
push str.___14s
lea eax, [ebp + esi*2 - 0x318]
push eax
mov edx, 0x100
call fcn.00407130
add esp, 0xc
lea eax, [ebp - 0x518]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464fa0
sub eax, edx
sar eax, 1
push 0x4c6d80
push str.___14s
lea ecx, [ebp + eax*2 - 0x518]
push ecx
mov edx, 0x100
call fcn.00407130
add esp, 0xc
cmp byte [ebp - 0xd1f], 0
je 0x46504d
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464fe0
sub eax, edx
sar eax, 1
mov esi, eax
push 0x6f
call fcn.00466860
push eax
push str._12s
lea edx, [ebp + esi*2 - 0x318]
push edx
mov edx, 0x100
call fcn.00407130
add esp, 0xc
lea eax, [ebp - 0x518]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465020
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x70]
push ecx
push str._12s
lea edx, [ebp + eax*2 - 0x518]
push edx
mov edx, 0x100
call fcn.00407130
add esp, 0xc
cmp byte [ebp - 0xd1e], 0
je 0x4650d0
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465060
sub eax, edx
sar eax, 1
mov esi, eax
push 0x71
call fcn.00466860
push eax
push str._12s
lea eax, [ebp + esi*2 - 0x318]
push eax
mov edx, 0x100
call fcn.00407130
add esp, 0xc
lea eax, [ebp - 0x518]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4650a0
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0xac]
push ecx
push str._12s
lea edx, [ebp + eax*2 - 0x518]
push edx
mov edx, 0x100
call fcn.00407130
add esp, 0xc
cmp byte [ebp - 0xd1c], 0
je 0x465163
lea eax, [ebp - 0x318]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4650e6
mov edx, dword [0x4ca244]
mov dword [eax], edx
mov esi, dword [0x4ca248]
mov dword [eax + 4], esi
mov edi, dword [0x4ca24c]
mov dword [eax + 8], edi
mov ebx, dword [0x4ca250]
mov dword [eax + 0xc], ebx
mov ecx, dword [0x4ca254]
mov dword [eax + 0x10], ecx
mov cx, word [0x4ca258]
mov word [eax + 0x14], cx
lea eax, [ebp - 0x518]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x465132
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [0x4ca254]
mov dword [eax + 0x10], edx
mov cx, word [0x4ca258]
mov word [eax + 0x14], cx
mov bl, byte [ebp - 0x6255]
cmp word [ebp - 0x318], 0
jne 0x4651a7
xor eax, eax
nop
movzx ecx, word [eax + 0x4ca23c]
mov word [ebp + eax - 0x318], cx
add eax, 2
test cx, cx
jne 0x465170
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4ca23c]
mov word [ebp + eax - 0x518], cx
add eax, 2
test cx, cx
jne 0x465190
push 0x559
call fcn.00466860
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4651b3
sub eax, edx
lea edi, [ebp - 0x318]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4651d0
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x518]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4651f5
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x34]
push edx
push 0x4c8190
lea eax, [ebp + eax*2 - 0x518]
push eax
mov edx, 0x100
call fcn.00407130
add esp, 0xc
mov edi, 0x20
cmp word [ebp - 0x318], di
jne 0x465245
cmp word [ebp - 0x316], di
jne 0x465245
mov ecx, 0x23
mov word [ebp - 0x318], cx
cmp word [ebp - 0x518], di
jne 0x465263
cmp word [ebp - 0x516], di
jne 0x465263
mov edx, 0x23
mov word [ebp - 0x518], dx
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x318]
push ecx
push str._s_r_n_s_r_n
mov edx, dword [ebp - 0xd2c]
push edx
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 0x10
test bl, bl
je 0x4652c8
push str.__b_
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.00463a60
add esp, 8
jmp 0x4652aa
mov edi, 0x20
test bl, bl
je 0x4652c8
push str.__pre__r_n__body__r_n__html__r_n
mov ecx, dword [ebp - 0xd2c]
push ecx
mov esi, dword [ebp - 0x625c]
call fcn.00463a60
add esp, 8
cmp byte [ebp - 0xd2f], 0
je 0x4653c5
mov esi, dword [ebp - 0x625c]
push esi
call fcn.004b3975
push esi
call fcn.004bb6fc
push eax
call fcn.004c16ee
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x4653c5
mov byte [ebp - 4], 6
lea edx, [esi + 2]
push edx
lea ecx, [ebp - 0x6274]
call fcn.0040ba30
mov bl, 7
mov byte [ebp - 4], bl
push 0
push 0
mov edi, dword [ebp - 0x625c]
push edi
call fcn.004b35d1
push edi
push esi
push 1
mov edi, dword [ebp - 0x6274]
push edi
call fcn.004b2cda
add esp, 0x1c
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebp - 0xd2c]
sub eax, 0
je 0x46537f
sub eax, 1
je 0x465377
sub eax, 1
jne 0x4653b1
mov eax, dword [ebp - 0x6270]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b9a0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
push ecx
mov esi, dword [ebp - 0x20]
push esi
push edi
call fcn.004770e0
jmp 0x4653a0
push edi
call fcn.0044c250
jmp 0x4653b1
mov edx, dword [ebp - 0x6270]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040b9a0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
push eax
mov esi, dword [ebp - 0x20]
push esi
push edi
call fcn.00477270
push esi
call fcn.0044c250
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0041aed0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6274]
call fcn.0041aed0
mov edi, 0x20
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x625c]
push ecx
call fcn.004b2d6e
add esp, 4
cmp word [ebp - 0x1530], 0
je 0x465411
push 0
lea edx, [ebp - 0x1530]
push edx
lea eax, [ebp - 0xd18]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x465411
lea ecx, [ebp - 0x1530]
push ecx
push eax
mov ecx, 0x5072f4
call fcn.0042d2a0
cmp byte [ebp - 0xd30], 0
je 0x465460
push 8
push 0
push 0
lea edx, [ebp - 0xd18]
push edx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, edi
seta al
test al, al
jne 0x465457
lea eax, [ebp - 0xd18]
push eax
push 0x557
call fcn.00466860
push eax
call fcn.00499800
add esp, 8
cmp byte [ebp - 0xd30], 0
jne 0x46546c
lea ecx, [ebp - 0xd18]
push ecx
call fcn.0044ca00
cmp byte [0x51a779], 0
jne 0x465496
cmp word [ebp - 0x1530], 0
je 0x465496
lea edx, [ebp - 0x1530]
push edx
call fcn.00455e90
push eax
mov ecx, 0x5210a8
call fcn.00448c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x640c]
call fcn.00414f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6340]
call fcn.00414f50
cmp byte [ebp - 0x625d], 0
je 0x4654cc
mov eax, dword [0x51a774]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004affec
mov esp, ebp
pop ebp
ret