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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c512d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x63fc
call fcn.004b1040
mov eax, dword [0x4da8f0]
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.004b14b0
add esp, 0xc
cmp byte [0x51b789], 0
je 0x464d11
push 0x400
lea ecx, [ebp - 0x1530]
push ecx
mov ecx, 0x5229e0
call fcn.00413320
jmp 0x464de7
lea ecx, [ebp - 0x118]
call fcn.004710c0
mov dword [ebp - 4], edi
push edi
lea edx, [ebp - 0x118]
push edx
mov ecx, 0x5220b8
call fcn.004469d0
mov eax, dword [ebp - 0xf8]
cmp eax, edi
jne 0x464d73
push 0x30
push 0x65
call fcn.004671c0
push eax
push 0x14c
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401bb0
jmp 0x465e1c
cmp eax, 1
jne 0x464d95
push edi
push 0x400
lea ecx, [ebp - 0x1530]
push ecx
push edi
lea ecx, [ebp - 0x118]
call fcn.004712a0
test al, al
jne 0x464dd5
push 0x400
lea edx, [ebp - 0x1d30]
push edx
call fcn.0048cf70
lea eax, [ebp - 0x1d30]
push eax
call fcn.00456820
cmp word [eax], di
mov ecx, eax
jne 0x464dbe
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 0x464dc4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401bb0
cmp byte [0x51b789], 0
mov eax, str.InterfaceReportArc
jne 0x464dfa
mov eax, str.InterfaceReportFile
push edi
push str.OutFormat
push eax
call fcn.00460ee0
test eax, eax
sete bl
mov dword [ebp - 0xd2c], edi
test bl, bl
mov eax, 0x4cb060
jne 0x464e1f
mov eax, 0x4cb058
push eax
lea ecx, [ebp - 0x1530]
push ecx
call fcn.004587a0
xor esi, esi
mov edi, edi
lea edx, [ebp - 0x1530]
push edx
call fcn.00435ac0
test al, al
je 0x464e9c
cmp esi, edi
je 0x464e51
push edi
lea eax, [ebp - 0x1530]
push eax
call fcn.004587a0
push esi
push 0x4cb4d0
lea ecx, [ebp - 0x28]
push ecx
mov edx, 0xa
call fcn.00483770
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1530]
push eax
call fcn.004587a0
test bl, bl
mov eax, 0x4cb060
jne 0x464e86
mov eax, 0x4cb058
push eax
lea ecx, [ebp - 0x1530]
push ecx
call fcn.004587a0
inc esi
cmp esi, 0x3e8
jl 0x464e30
lea edx, [ebp - 0x1530]
push edx
push 0x464590
mov eax, dword [0x51c8dc]
push eax
push 0x4cb1e8
mov ecx, dword [0x508300]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x465e1c
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.0048c720
test al, al
je 0x465e1c
lea eax, [ebp - 0xd18]
push eax
call fcn.004561a0
lea ecx, [ebp - 0x1530]
push ecx
call fcn.00456820
cmp word [eax], di
jne 0x464f1c
test bl, bl
mov eax, str.report.htm
jne 0x464f1c
mov eax, 0x4cb490
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x464f20
sub eax, edx
lea edi, [ebp - 0xd18]
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x464f36
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 0x4cb48c
lea edx, [ebp - 0xd18]
push edx
call fcn.00436260
mov esi, eax
mov dword [ebp - 0x625c], esi
test esi, esi
jne 0x464f88
lea eax, [ebp - 0xd18]
push eax
push esi
mov ecx, 0x508304
call fcn.0042d4e0
jmp 0x465e1c
push 0
push 0
push 0x4c79a8
push 0xa
call fcn.0048f9f0
mov byte [ebp - 0x625d], al
push 0x556
call fcn.004671c0
push eax
call fcn.0048d380
cmp dword [ebp - 0xd2c], 1
jne 0x464fd0
push esi
push 0xff
call fcn.004b4ac3
push esi
push 0xfe
call fcn.004b4ac3
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 [0x51b789], al
jne 0x464fff
cmp byte [ebp - 0xd22], al
mov byte [ebp - 0x18], al
jne 0x465003
mov byte [ebp - 0x18], 1
lea ecx, [ebp - 0x6340]
call fcn.00445480
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x640c]
call fcn.00445480
mov byte [ebp - 4], 2
cmp byte [0x51b789], 0
je 0x465068
push 0x400
lea ecx, [ebp - 0x1d30]
push ecx
mov ecx, 0x5229e0
call fcn.00413320
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.00464b50
mov bl, al
jmp 0x46533c
lea ecx, [ebp - 0x118]
call fcn.004710c0
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x5220b8
call fcn.004469d0
push 1
push 0
push 3
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x6254]
call fcn.00469960
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25ec]
call fcn.004129c0
lea ecx, [ebp - 0x25c8]
call fcn.004129c0
lea ecx, [ebp - 0x25a4]
call fcn.004129c0
lea edx, [ebp - 0x3200]
push edx
lea ecx, [ebp - 0x6254]
call fcn.0046a4b0
test eax, eax
jne 0x46531e
mov edi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
call fcn.0044d040
cmp byte [ebp - 0xd22], 0
je 0x4652a9
push 0x830
push 0
lea eax, [ebp - 0x1d60]
push eax
call fcn.004b14b0
add esp, 0xc
xor eax, eax
jmp 0x465120
movzx ecx, word [ebp + eax - 0x2e00]
mov word [ebp + eax - 0x1d60], cx
add eax, 2
test cx, cx
jne 0x465120
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 0x4651cc
test dword [ebp - 0x25f8], 0x800
je 0x4651cc
call fcn.00444e60
test eax, eax
je 0x4651c0
lea ecx, [ebp - 0x6264]
push ecx
lea edx, [ebp - 0x2e00]
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x46519a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4651c0
push 1
push 0
push 0
mov eax, dword [ebp - 0x6264]
push eax
call fcn.004b1ad0
xor ecx, ecx
add eax, esi
mov dword [ebp - 0x1558], eax
adc edx, ecx
mov dword [ebp - 0x1554], edx
jmp 0x4651cc
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 0x46528e
mov edx, dword [ebp - 0x25f8]
push edx
call fcn.00435af0
test al, al
jne 0x46528e
lea ecx, [ebp - 0x3e28]
call fcn.00434590
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x2e00]
push eax
push 0
lea ecx, [ebp - 0x3e28]
call fcn.004349d0
test al, al
je 0x46527f
push 0
push 0x7fffffff
push 0x7fffffff
lea ecx, [ebp - 0x3e28]
push ecx
call fcn.00436a30
mov dword [ebp - 0x1540], eax
or dword [ebp - 0x1544], 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e28]
call fcn.004349a0
lea edx, [ebp - 0x1d60]
push edx
lea ecx, [ebp - 0x6340]
call fcn.00445090
cmp byte [ebp - 0x6278], 0
jne 0x46531c
cmp byte [0x51c858], 0
jne 0x46531c
cmp byte [ebp - 0xd23], 0
je 0x465300
cmp byte [ebp - 0x25f0], 0
jne 0x465300
push 2
push 0
lea eax, [ebp - 0x2e00]
push eax
mov ecx, 0x5229e0
call fcn.00416a50
cmp eax, 1
jne 0x465300
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.00464b50
test al, al
je 0x46531c
lea edx, [ebp - 0x3200]
push edx
lea ecx, [ebp - 0x6254]
call fcn.0046a4b0
test eax, eax
je 0x4650e7
jmp 0x46531e
xor bl, bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6254]
call fcn.00469c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00401bb0
test bl, bl
je 0x465de6
lea ecx, [ebp - 0x6340]
call fcn.00445300
lea ecx, [ebp - 0x640c]
call fcn.00445300
cmp dword [ebp - 0xd28], 6
je 0x465392
lea eax, [ebp - 0x1530]
mov dword [0x533284], eax
push 0x4642e0
push 0x38
mov ecx, dword [ebp - 0x628c]
push ecx
push 0
lea ecx, [ebp - 0x6340]
call fcn.00445420
push eax
call fcn.004b3590
add esp, 0x10
mov bl, byte [ebp - 0x6255]
test bl, bl
je 0x465421
lea ecx, [ebp - 0x58]
call fcn.004129c0
lea ecx, [ebp - 0x58]
call fcn.00473e70
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.00483770
add esp, 0x1c
lea edx, [ebp - 0xd4]
push edx
push 0x55b
call fcn.004671c0
push eax
lea eax, [ebp - 0x3ac8]
push eax
mov edx, 0x464
call fcn.00483770
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.004643c0
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x6264], eax
mov dword [ebp - 0x6268], eax
cmp dword [ebp - 0x628c], eax
jbe 0x46581a
jmp 0x465440
mov eax, dword [ebp - 0x6268]
push eax
lea ecx, [ebp - 0x1d60]
push ecx
lea ecx, [ebp - 0x6340]
call fcn.00445250
cmp byte [ebp - 0xd21], 0
je 0x465531
mov eax, dword [ebp - 0x1534]
cmp eax, dword [ebp - 0x6264]
je 0x465531
mov dword [ebp - 0x6264], eax
mov esi, dword [ebp - 0x625c]
test bl, bl
je 0x46549c
push 0x4cb34c
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.004643c0
add esp, 8
push 0x4cb344
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.004643c0
add esp, 8
mov eax, dword [ebp - 0x1534]
test eax, eax
je 0x4654eb
dec eax
push eax
lea ecx, [ebp - 0x3a30]
push ecx
lea ecx, [ebp - 0x640c]
call fcn.00445250
push eax
push 0x28a
call fcn.004671c0
push eax
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.004643c0
add esp, 0xc
jmp 0x465505
push 0x558
call fcn.004671c0
push eax
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.004643c0
add esp, 8
test bl, bl
je 0x46551d
push str.__b_
mov ecx, dword [ebp - 0xd2c]
push ecx
call fcn.004643c0
add esp, 8
push 0x4c8018
mov edx, dword [ebp - 0xd2c]
push edx
call fcn.004643c0
add esp, 8
xor eax, eax
mov word [ebp - 0x2d60], ax
mov ecx, dword [ebp - 0x1550]
push ecx
call fcn.00435af0
mov bl, al
cmp byte [ebp - 0xd1d], 0
je 0x4655ae
lea ecx, [ebp - 0x58]
call fcn.004129c0
lea edx, [ebp - 0x154c]
push edx
lea ecx, [ebp - 0x58]
call fcn.00473b80
lea eax, [ebp - 0x2d60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465571
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 0x4cb304
lea edx, [ebp + eax*2 - 0x2d60]
push edx
mov edx, 0x800
call fcn.00483770
add esp, 0x1c
cmp byte [ebp - 0xd1f], 0
je 0x46565a
mov eax, dword [ebp - 0x1560]
cmp eax, 0x7fffffff
jne 0x4655f6
cmp dword [ebp - 0x155c], eax
jne 0x4655f6
xor eax, eax
jmp 0x4655e0
movzx ecx, word [eax + 0x4ca964]
mov word [ebp + eax - 0x70], cx
add eax, 2
test cx, cx
jne 0x4655e0
jmp 0x46560c
push 0xa
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x155c]
push edx
push eax
call fcn.004b4a90
add esp, 0x10
test bl, bl
je 0x46561c
push 0x573
call fcn.004671c0
jmp 0x46561f
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x2d60]
lea esi, [ecx + 2]
jmp 0x465630
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x465630
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 - 0x2d60]
push eax
mov edx, 0x800
call fcn.00483770
add esp, 0xc
cmp byte [ebp - 0xd1e], 0
je 0x4656fa
mov eax, dword [ebp - 0x1558]
cmp eax, 0x7fffffff
jne 0x465696
cmp dword [ebp - 0x1554], eax
jne 0x465696
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x4ca964]
mov word [ebp + eax - 0x70], cx
add eax, 2
test cx, cx
jne 0x465680
jmp 0x4656ac
push 0xa
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x1554]
push edx
push eax
call fcn.004b4a90
add esp, 0x10
test bl, bl
je 0x4656bc
push 0x573
call fcn.004671c0
jmp 0x4656bf
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x2d60]
lea esi, [ecx + 2]
jmp 0x4656d0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4656d0
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 - 0x2d60]
push eax
mov edx, 0x800
call fcn.00483770
add esp, 0xc
cmp byte [ebp - 0xd1c], 0
je 0x46579c
test byte [ebp - 0x1544], 8
je 0x465752
lea eax, [ebp - 0x2d60]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465720
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x1540]
push ecx
push 0x4cb2e4
lea edx, [ebp + eax*2 - 0x2d60]
push edx
mov edx, 0x800
call fcn.00483770
add esp, 0xc
jmp 0x46579c
test bl, bl
mov eax, 0x4cb2cc
jne 0x465760
mov eax, 0x4cb2b4
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465762
sub eax, edx
lea edi, [ebp - 0x2d60]
add edi, 0xfffffffe
jmp 0x465780
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x465780
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 0x4657a4
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 0x4657c0
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.004643c0
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 0x465440
cmp byte [ebp - 0xd20], 0
je 0x465bf5
push 0xa
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b4a90
push 0xa
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004b4a90
add esp, 0x20
test bl, bl
je 0x465871
push 0x4cb34c
mov edx, dword [ebp - 0xd2c]
push edx
mov esi, dword [ebp - 0x625c]
call fcn.004643c0
add esp, 8
push 0x4cb2a0
mov eax, dword [ebp - 0xd2c]
push eax
mov esi, dword [ebp - 0x625c]
call fcn.004643c0
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 0x46591e
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4658b0
sub eax, edx
sar eax, 1
mov esi, eax
push 0x1aa
call fcn.004671c0
push eax
push str.___14s
lea eax, [ebp + esi*2 - 0x318]
push eax
mov edx, 0x100
call fcn.00483770
add esp, 0xc
lea eax, [ebp - 0x518]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4658f0
sub eax, edx
sar eax, 1
push 0x4c79a8
push str.___14s
lea ecx, [ebp + eax*2 - 0x518]
push ecx
mov edx, 0x100
call fcn.00483770
add esp, 0xc
cmp byte [ebp - 0xd1f], 0
je 0x46599d
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465930
sub eax, edx
sar eax, 1
mov esi, eax
push 0x6f
call fcn.004671c0
push eax
push str._12s
lea edx, [ebp + esi*2 - 0x318]
push edx
mov edx, 0x100
call fcn.00483770
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 0x465970
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.00483770
add esp, 0xc
cmp byte [ebp - 0xd1e], 0
je 0x465a20
lea eax, [ebp - 0x318]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4659b0
sub eax, edx
sar eax, 1
mov esi, eax
push 0x71
call fcn.004671c0
push eax
push str._12s
lea eax, [ebp + esi*2 - 0x318]
push eax
mov edx, 0x100
call fcn.00483770
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 0x4659f0
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.00483770
add esp, 0xc
cmp byte [ebp - 0xd1c], 0
je 0x465ab3
lea eax, [ebp - 0x318]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x465a36
mov edx, dword [0x4cb274]
mov dword [eax], edx
mov esi, dword [0x4cb278]
mov dword [eax + 4], esi
mov edi, dword [0x4cb27c]
mov dword [eax + 8], edi
mov ebx, dword [0x4cb280]
mov dword [eax + 0xc], ebx
mov ecx, dword [0x4cb284]
mov dword [eax + 0x10], ecx
mov cx, word [0x4cb288]
mov word [eax + 0x14], cx
lea eax, [ebp - 0x518]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x465a82
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [0x4cb284]
mov dword [eax + 0x10], edx
mov cx, word [0x4cb288]
mov word [eax + 0x14], cx
mov bl, byte [ebp - 0x6255]
cmp word [ebp - 0x318], 0
jne 0x465af7
xor eax, eax
nop
movzx ecx, word [eax + 0x4cb26c]
mov word [ebp + eax - 0x318], cx
add eax, 2
test cx, cx
jne 0x465ac0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4cb26c]
mov word [ebp + eax - 0x518], cx
add eax, 2
test cx, cx
jne 0x465ae0
push 0x559
call fcn.004671c0
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465b03
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 0x465b20
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 0x465b45
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x34]
push edx
push 0x4c9190
lea eax, [ebp + eax*2 - 0x518]
push eax
mov edx, 0x100
call fcn.00483770
add esp, 0xc
mov edi, 0x20
cmp word [ebp - 0x318], di
jne 0x465b95
cmp word [ebp - 0x316], di
jne 0x465b95
mov ecx, 0x23
mov word [ebp - 0x318], cx
cmp word [ebp - 0x518], di
jne 0x465bb3
cmp word [ebp - 0x516], di
jne 0x465bb3
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.004643c0
add esp, 0x10
test bl, bl
je 0x465c18
push str.__b_
mov eax, dword [ebp - 0xd2c]
push eax
call fcn.004643c0
add esp, 8
jmp 0x465bfa
mov edi, 0x20
test bl, bl
je 0x465c18
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.004643c0
add esp, 8
cmp byte [ebp - 0xd2f], 0
je 0x465d15
mov esi, dword [ebp - 0x625c]
push esi
call fcn.004b49b5
push esi
call fcn.004bc8cc
push eax
call fcn.004c272e
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x465d15
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.004b4611
push edi
push esi
push 1
mov edi, dword [ebp - 0x6274]
push edi
call fcn.004b3d1a
add esp, 0x1c
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebp - 0xd2c]
sub eax, 0
je 0x465ccf
sub eax, 1
je 0x465cc7
sub eax, 1
jne 0x465d01
mov eax, dword [ebp - 0x6270]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b9f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c]
push ecx
mov esi, dword [ebp - 0x20]
push esi
push edi
call fcn.00477f50
jmp 0x465cf0
push edi
call fcn.0044c8c0
jmp 0x465d01
mov edx, dword [ebp - 0x6270]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040b9f0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
push eax
mov esi, dword [ebp - 0x20]
push esi
push edi
call fcn.004780e0
push esi
call fcn.0044c8c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0042ff10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6274]
call fcn.0042ff10
mov edi, 0x20
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x625c]
push ecx
call fcn.004b3dae
add esp, 4
cmp word [ebp - 0x1530], 0
je 0x465d61
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 0x465d61
lea ecx, [ebp - 0x1530]
push ecx
push eax
mov ecx, 0x508304
call fcn.0042d4e0
cmp byte [ebp - 0xd30], 0
je 0x465db0
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 0x465da7
lea eax, [ebp - 0xd18]
push eax
push 0x557
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 8
cmp byte [ebp - 0xd30], 0
jne 0x465dbc
lea ecx, [ebp - 0xd18]
push ecx
call fcn.0044d070
cmp byte [0x51b789], 0
jne 0x465de6
cmp word [ebp - 0x1530], 0
je 0x465de6
lea edx, [ebp - 0x1530]
push edx
call fcn.00456820
push eax
mov ecx, 0x5220b8
call fcn.004492b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x640c]
call fcn.00415030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6340]
call fcn.00415030
cmp byte [ebp - 0x625d], 0
je 0x465e1c
mov eax, dword [0x51b784]
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.004b102c
mov esp, ebp
pop ebp
ret