Function at 0x473150
Capabilities:
Copy file
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x9640]
mov eax, 0x9640
call fcn.004c1320
push 0xffffffffffffffff
push 0x4d5455
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4eb0b4]
xor eax, ebp
mov dword [ebp + 0x963c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x1018
xor edi, edi
push edi
lea eax, [ebp + 0x609c]
push eax
call fcn.004c1d50
add esp, 0xc
cmp byte [0x532b51], 0
je 0x4731ce
push 0x800
lea ecx, [ebp + 0x609c]
push ecx
mov ecx, 0x541610
call fcn.00415320
jmp 0x4732a9
lea ecx, [ebp + 0x95a0]
call fcn.0047fbd0
mov dword [ebp - 4], edi
push 1
lea edx, [ebp + 0x95a0]
push edx
mov ecx, 0x53f4e8
call fcn.0044d400
mov eax, dword [ebp + 0x95b4]
cmp eax, edi
jne 0x473231
push 0x30
push 0x65
call fcn.00475570
push eax
push 0x14c
call fcn.00475570
push eax
mov eax, dword [0x534ca4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x95a0]
call fcn.00401b10
jmp 0x4742d8
cmp eax, 1
jne 0x473252
push edi
push 0x800
lea ecx, [ebp + 0x609c]
push ecx
lea ecx, [ebp + 0x95a0]
call fcn.0047fc80
test al, al
jne 0x473297
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x53f4e8
call fcn.0044bfc0
lea eax, [ebp + 0x404c]
push eax
call fcn.00460620
cmp word [eax], di
mov ecx, eax
jne 0x473280
mov ecx, str.report.
lea edx, [ebp + 0x609c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x473286
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x95a0]
call fcn.00401b10
cmp byte [0x532b51], 0
mov eax, str.InterfaceReportArc
jne 0x4732bc
mov eax, str.InterfaceReportFile
push edi
push str.OutFormat
push eax
call fcn.0046c8f0
test eax, eax
sete bl
mov dword [ebp + 0x70a0], edi
test bl, bl
mov eax, 0x4db388
jne 0x4732e1
mov eax, 0x4db380
push eax
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00461af0
xor esi, esi
lea edx, [ebp + 0x609c]
push edx
call fcn.0043ccc0
test al, al
je 0x473362
cmp esi, edi
je 0x473311
push edi
lea eax, [ebp + 0x609c]
push eax
call fcn.00461af0
push esi
push 0x4db7c4
lea ecx, [ebp + 0x9628]
push ecx
mov edx, 0xa
call fcn.0041cb70
add esp, 0xc
lea edx, [ebp + 0x9628]
push edx
lea eax, [ebp + 0x609c]
push eax
call fcn.00461af0
test bl, bl
mov eax, 0x4db388
jne 0x47334c
mov eax, 0x4db380
push eax
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00461af0
inc esi
cmp esi, 0x3e8
jl 0x4732f0
lea edx, [ebp + 0x609c]
push edx
push 0x472a40
mov eax, dword [0x534ca4]
push eax
push str.REPORT
mov ecx, dword [0x51ef04]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4742d8
cmp dword [ebp + 0x70a0], edi
sete bl
mov byte [ebp - 0x12], bl
push edi
push 0x800
lea edx, [ebp + 0x70b4]
push edx
push str.Rar_RP
call fcn.0049f2e0
test al, al
je 0x4742d8
push 0x800
lea eax, [ebp + 0x70b4]
push eax
call fcn.004601c0
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00460620
cmp word [eax], di
jne 0x4733e9
test bl, bl
mov eax, str.report.htm
jne 0x4733e9
mov eax, str.report.txt
push 0x800
push eax
lea edx, [ebp + 0x70b4]
push edx
call fcn.0047f4c0
push 0x4db77c
lea eax, [ebp + 0x70b4]
push eax
call fcn.0043caf0
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x47342c
lea ecx, [ebp + 0x70b4]
push ecx
push edi
mov ecx, 0x51ef08
call fcn.00433e50
jmp 0x4742d8
push edi
push edi
push 0x4d79fc
push 0xa
call fcn.004a27f0
mov byte [ebp - 0x19], al
push 0x556
call fcn.00475570
push eax
call fcn.004a00f0
add esp, 4
mov ebx, 1
cmp dword [ebp + 0x70a0], ebx
jne 0x473476
push esi
push 0xff
call fcn.004c3f62
push esi
push 0xfe
call fcn.004c3f62
add esp, 0x10
mov byte [ebp - 0x11], bl
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
cmp byte [0x532b51], al
jne 0x4734a6
cmp byte [ebp + 0x70aa], al
mov byte [ebp - 0x34], al
jne 0x4734a9
mov byte [ebp - 0x34], bl
lea ecx, [ebp - 0xd8]
call fcn.0044b9e0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x160]
call fcn.0044b9e0
mov byte [ebp - 4], 2
cmp byte [0x532b51], 0
je 0x47350b
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x541610
call fcn.00415320
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp + 0x404c]
push eax
call fcn.00473000
mov byte [ebp - 0x11], al
jmp 0x4737e3
lea ecx, [ebp + 0x95a0]
call fcn.0047fbd0
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp + 0x95a0]
push ecx
mov ecx, 0x53f4e8
call fcn.0044d400
push ebx
push edi
push 3
lea edx, [ebp + 0x95a0]
push edx
lea ecx, [ebp]
call fcn.00477f90
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x6064]
call fcn.004072b0
lea ecx, [ebp + 0x606c]
call fcn.004072b0
lea ecx, [ebp + 0x6074]
call fcn.004072b0
mov ebx, 5
mov edi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [ebp + 0x5054]
push eax
lea ecx, [ebp]
call fcn.00478830
test eax, eax
jne 0x4737c0
cmp byte [0x534c20], al
jne 0x4737c0
call fcn.00453710
cmp byte [ebp + 0x70aa], 0
je 0x473755
push 0x1050
push 0
lea ecx, [ebp + 0x812c]
push ecx
call fcn.004c1d50
add esp, 0xc
xor eax, eax
lea esp, [esp]
movzx ecx, word [ebp + eax + 0x5054]
mov word [ebp + eax + 0x812c], cx
add eax, 2
test cx, cx
jne 0x4735c0
mov eax, dword [ebp + 0x6054]
mov dword [ebp + 0x9134], eax
mov edx, dword [ebp + 0x6058]
mov dword [ebp + 0x9138], edx
mov dword [ebp + 0x912c], eax
mov dword [ebp + 0x9130], edx
cmp byte [ebp + 0x70ae], cl
je 0x473666
test dword [ebp + 0x605c], 0x800
je 0x473666
call fcn.0044b3b0
test eax, eax
je 0x47365a
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp + 0x5054]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x473637
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47365a
push 1
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004c1a70
xor ecx, ecx
add eax, esi
mov dword [ebp + 0x9134], eax
adc edx, ecx
mov dword [ebp + 0x9138], edx
jmp 0x473666
mov eax, dword [ebp + 0x9134]
mov edx, dword [ebp + 0x9138]
mov ecx, dword [ebp + 0x605c]
mov dword [ebp + 0x913c], ecx
mov ecx, dword [ebp + 0x608c]
mov dword [ebp + 0x9140], ecx
mov ecx, dword [ebp + 0x6090]
mov dword [ebp + 0x9144], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp + 0x9170], ecx
inc ecx
mov dword [ebp - 0x38], ecx
inc dword [ebp - 0x50]
mov ecx, dword [ebp + 0x912c]
add dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x9130]
adc dword [ebp - 0x44], ecx
add dword [ebp - 0x40], eax
adc dword [ebp - 0x3c], edx
cmp byte [ebp + 0x70b0], 0
je 0x47373d
mov edx, dword [ebp + 0x605c]
push edx
call fcn.0043c570
test al, al
jne 0x47373d
lea ecx, [ebp + 0x4028]
call fcn.0043b3a0
mov byte [ebp - 4], bl
push 0
lea eax, [ebp + 0x5054]
push eax
lea ecx, [ebp + 0x4028]
call fcn.0043b3e0
test al, al
je 0x47372e
mov byte [ebp - 4], 6
push 0
push 0x7fffffff
push 0x7fffffff
mov ecx, dword [0x54d408]
push ecx
lea edx, [ebp + 0x9150]
push edx
push 0
lea eax, [ebp + 0x4028]
push eax
call fcn.0043d6b0
mov dword [ebp - 4], ebx
mov dword [ebp + 0x914c], 2
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x4028]
call fcn.0043bab0
lea ecx, [ebp + 0x812c]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.0044b610
cmp byte [ebp - 0x54], 0
jne 0x4737bc
cmp byte [0x534c20], 0
jne 0x4737bc
cmp byte [ebp + 0x70a9], 0
je 0x47356f
cmp byte [ebp + 0x6060], 0
jne 0x47356f
push 2
push 0
lea edx, [ebp + 0x5054]
push edx
mov ecx, 0x541610
call fcn.00418940
cmp eax, 1
jne 0x47356f
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp + 0x5054]
push eax
call fcn.00473000
test al, al
jne 0x47356f
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00478200
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x95a0]
test eax, eax
je 0x4737e3
push eax
call fcn.004c1aa4
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x4742a4
lea ecx, [ebp - 0xd8]
call fcn.0044b900
lea ecx, [ebp - 0x160]
call fcn.0044b900
cmp dword [ebp + 0x70a4], 6
je 0x473839
lea ecx, [ebp + 0x609c]
mov dword [0x561438], ecx
push 0x472700
push 0x58
mov edx, dword [ebp - 0x6c]
push edx
push 0
lea ecx, [ebp - 0xd8]
call fcn.0044b9a0
push eax
call fcn.004c1ea0
add esp, 0x10
mov bl, byte [ebp - 0x12]
test bl, bl
je 0x473909
lea ecx, [ebp - 0x24]
call fcn.004072b0
lea ecx, [ebp - 0x24]
call fcn.00482790
lea eax, [ebp + 0x9618]
push eax
lea ecx, [ebp - 0x24]
call fcn.00482840
mov ecx, dword [ebp + 0x9628]
push ecx
mov edx, dword [ebp + 0x9624]
push edx
mov eax, dword [ebp + 0x9620]
push eax
mov ecx, dword [ebp + 0x961c]
push ecx
mov edx, dword [ebp + 0x9618]
push edx
push str._u__02u__02u__02u:_02u
lea eax, [ebp + 0x9598]
push eax
mov edx, 0x32
call fcn.0041cb70
add esp, 0x1c
lea ecx, [ebp + 0x9598]
push ecx
push 0x55b
call fcn.00475570
push eax
lea edx, [ebp + 0x80b4]
push edx
mov edx, 0x864
call fcn.0041cb70
lea eax, [ebp + 0x80b4]
push eax
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 ecx, dword [ebp + 0x70a0]
push ecx
mov edi, dword [ebp - 0x18]
mov esi, edi
call fcn.00472860
add esp, 0x18
jmp 0x47390c
mov edi, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x6c], eax
jbe 0x473ce1
lea ecx, [ecx]
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp + 0x812c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0044b7e0
cmp byte [ebp + 0x70ab], 0
je 0x473a0c
mov eax, dword [ebp + 0x9178]
cmp eax, dword [ebp - 0x20]
je 0x473a0c
mov dword [ebp - 0x20], eax
test bl, bl
je 0x47396f
push 0x4db63c
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472860
add esp, 8
push 0x4db634
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472860
add esp, 8
mov eax, dword [ebp + 0x9178]
test eax, eax
je 0x4739c0
dec eax
push eax
lea eax, [ebp + 0x504c]
push eax
lea ecx, [ebp - 0x160]
call fcn.0044b7e0
push eax
push 0x28a
call fcn.00475570
push eax
mov ecx, dword [ebp + 0x70a0]
push ecx
call fcn.00472860
add esp, 0xc
jmp 0x4739dc
push 0x558
call fcn.00475570
push eax
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472860
add esp, 8
test bl, bl
je 0x4739f6
push str.__b_
mov eax, dword [ebp + 0x70a0]
push eax
mov esi, edi
call fcn.00472860
add esp, 8
push 0x4d8194
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472860
add esp, 8
xor edx, edx
mov word [ebp + 0x1828], dx
mov eax, dword [ebp + 0x913c]
push eax
call fcn.0043c570
mov bl, al
cmp byte [ebp + 0x70af], 0
je 0x473abc
lea ecx, [ebp + 0x9634]
call fcn.004072b0
lea ecx, [ebp + 0x9140]
push ecx
lea ecx, [ebp + 0x9634]
call fcn.004826e0
lea edx, [ebp + 0x95d8]
push edx
lea ecx, [ebp + 0x9634]
call fcn.00482840
lea eax, [ebp + 0x1828]
lea edx, [eax + 2]
jmp 0x473a70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473a70
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0x95e8]
push ecx
mov edx, dword [ebp + 0x95e4]
push edx
mov ecx, dword [ebp + 0x95e0]
push ecx
mov edx, dword [ebp + 0x95dc]
push edx
mov ecx, dword [ebp + 0x95d8]
push ecx
push 0x4db5f4
lea edx, [ebp + eax*2 + 0x1828]
push edx
mov edx, 0x1400
call fcn.0041cb70
add esp, 0x1c
cmp byte [ebp + 0x70ad], 0
je 0x473b5b
mov eax, dword [ebp + 0x912c]
cmp eax, 0x7fffffff
jne 0x473af9
cmp dword [ebp + 0x9130], eax
jne 0x473af9
xor eax, eax
movzx ecx, word [eax + 0x4dacdc]
mov word [ebp + eax + 0x95c0], cx
add eax, 2
test cx, cx
jne 0x473ae0
jmp 0x473b12
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp + 0x9130]
push edx
push eax
call fcn.004c567a
add esp, 0x10
test bl, bl
je 0x473b22
push 0x573
call fcn.00475570
jmp 0x473b28
lea eax, [ebp + 0x95c0]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x473b31
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.0041cb70
add esp, 0xc
cmp byte [ebp + 0x70ae], 0
je 0x473bfb
mov eax, dword [ebp + 0x9134]
cmp eax, 0x7fffffff
jne 0x473b99
cmp dword [ebp + 0x9138], eax
jne 0x473b99
xor eax, eax
nop
movzx ecx, word [eax + 0x4dacdc]
mov word [ebp + eax + 0x95c0], cx
add eax, 2
test cx, cx
jne 0x473b80
jmp 0x473bb2
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp + 0x9138]
push edx
push eax
call fcn.004c567a
add esp, 0x10
test bl, bl
je 0x473bc2
push 0x573
call fcn.00475570
jmp 0x473bc8
lea eax, [ebp + 0x95c0]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x473bd1
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.0041cb70
add esp, 0xc
cmp byte [ebp + 0x70b0], 0
je 0x473c99
mov eax, dword [ebp + 0x914c]
cmp eax, 3
jne 0x473c2e
push 0x41
lea ecx, [ebp + 0x957c]
push ecx
push 0
push 0x20
lea edx, [ebp + 0x9150]
push edx
call fcn.0047f2e0
jmp 0x473c6b
cmp eax, 1
je 0x473c43
cmp eax, 2
je 0x473c4a
xor eax, eax
mov word [ebp + 0x957c], ax
jmp 0x473c6b
mov eax, str._04X
jmp 0x473c4f
mov eax, str._08X
mov ecx, dword [ebp + 0x9150]
push ecx
push eax
lea edx, [ebp + 0x957c]
push edx
mov edx, 0x41
call fcn.0041cb70
add esp, 0xc
push 0x1400
lea eax, [ebp + 0x957c]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.0047f4c0
push 0x1400
push 0x4db5dc
lea edx, [ebp + 0x1828]
push edx
call fcn.0047f4c0
push 0x1400
lea eax, [ebp + 0x812c]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.0047f4c0
lea edx, [ebp + 0x1828]
push edx
push str._s_r_n
mov eax, dword [ebp + 0x70a0]
push eax
mov esi, edi
call fcn.00472860
add esp, 0xc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov bl, byte [ebp - 0x12]
cmp eax, dword [ebp - 0x6c]
jb 0x473920
cmp byte [ebp + 0x70ac], 0
je 0x4740c2
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004c567a
push 0xa
lea ecx, [ebp + 0x9600]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.004c567a
add esp, 0x20
test bl, bl
je 0x473d37
push 0x4db63c
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472860
add esp, 8
push 0x4db5c8
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472860
add esp, 8
xor eax, eax
mov word [ebp + 0x917c], ax
xor ecx, ecx
mov word [ebp + 0x937c], cx
cmp byte [ebp + 0x70af], al
je 0x473de1
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473d74
sub eax, edx
sar eax, 1
mov esi, eax
push 0x1aa
call fcn.00475570
push eax
push str.___14s
lea edx, [ebp + esi*2 + 0x937c]
push edx
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
lea eax, [ebp + 0x917c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473db3
sub eax, edx
sar eax, 1
push 0x4d79fc
push str.___14s
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
cmp byte [ebp + 0x70ad], 0
je 0x473e63
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473df7
sub eax, edx
sar eax, 1
mov esi, eax
push 0x6f
call fcn.00475570
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x937c]
push ecx
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
lea eax, [ebp + 0x917c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473e33
sub eax, edx
sar eax, 1
lea edx, [ebp + 0x95c0]
push edx
push str._12s
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
cmp byte [ebp + 0x70ae], 0
je 0x473ef0
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473e80
sub eax, edx
sar eax, 1
mov esi, eax
push 0x71
call fcn.00475570
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x937c]
push ecx
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
lea eax, [ebp + 0x917c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473ec0
sub eax, edx
sar eax, 1
lea edx, [ebp + 0x9600]
push edx
push str._12s
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
cmp byte [ebp + 0x70b0], 0
je 0x473f80
lea eax, [ebp + 0x937c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x473f06
mov edx, dword [0x4db59c]
mov dword [eax], edx
mov esi, dword [0x4db5a0]
mov dword [eax + 4], esi
mov edi, dword [0x4db5a4]
mov dword [eax + 8], edi
mov ebx, dword [0x4db5a8]
mov dword [eax + 0xc], ebx
mov ecx, dword [0x4db5ac]
mov dword [eax + 0x10], ecx
mov cx, word [0x4db5b0]
mov word [eax + 0x14], cx
lea eax, [ebp + 0x917c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x473f52
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [0x4db5ac]
mov dword [eax + 0x10], edx
mov cx, word [0x4db5b0]
mov word [eax + 0x14], cx
mov bl, byte [ebp - 0x12]
cmp word [ebp + 0x937c], 0
jne 0x473fc7
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4db594]
mov word [ebp + eax + 0x937c], cx
add eax, 2
test cx, cx
jne 0x473f90
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4db594]
mov word [ebp + eax + 0x917c], cx
add eax, 2
test cx, cx
jne 0x473fb0
push 0x559
call fcn.00475570
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473fd3
sub eax, edx
lea edi, [ebp + 0x937c]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x473ff0
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 + 0x917c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474015
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x50]
push edx
push 0x4d94f8
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.0041cb70
add esp, 0xc
mov eax, 0x20
cmp word [ebp + 0x937c], ax
jne 0x474065
cmp word [ebp + 0x937e], ax
jne 0x474065
mov ecx, 0x23
mov word [ebp + 0x937c], cx
cmp word [ebp + 0x917c], ax
jne 0x474083
cmp word [ebp + 0x917e], ax
jne 0x474083
mov edx, 0x23
mov word [ebp + 0x917c], dx
lea eax, [ebp + 0x917c]
push eax
lea ecx, [ebp + 0x937c]
push ecx
push str._s_r_n_s_r_n
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, dword [ebp - 0x18]
call fcn.00472860
add esp, 0x10
test bl, bl
je 0x4740dc
push str.__b_
mov eax, dword [ebp + 0x70a0]
push eax
call fcn.00472860
add esp, 8
mov edi, esi
test bl, bl
je 0x4740dc
push str.__pre__r_n__body__r_n__html__r_n
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472860
add esp, 8
cmp byte [ebp + 0x709d], 0
je 0x4741d4
mov esi, dword [ebp - 0x18]
push esi
call fcn.004c559f
push esi
call fcn.004cb806
push eax
call fcn.004d1dd8
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x4741d4
mov bl, 9
mov byte [ebp - 4], bl
lea edx, [esi + 2]
push edx
lea ecx, [ebp + 0x962c]
call fcn.0040c560
mov byte [ebp - 4], 0xa
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c5091
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push esi
push 1
mov edi, dword [ebp + 0x962c]
push edi
call fcn.004c4965
add esp, 0x10
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebp + 0x70a0]
sub eax, 0
je 0x474193
sub eax, 1
je 0x47418b
sub eax, 1
jne 0x4741c6
mov edx, dword [ebp + 0x9630]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040c520
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
push eax
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00486bc0
jmp 0x4741b4
push edi
call fcn.00453120
jmp 0x4741c6
mov ecx, dword [ebp + 0x9630]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040c520
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
push edx
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00486e20
push esi
call fcn.00453120
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.0046df70
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x962c]
call fcn.0046df70
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c3d02
add esp, 4
cmp word [ebp + 0x609c], 0
je 0x47421e
push 0
lea ecx, [ebp + 0x609c]
push ecx
lea edx, [ebp + 0x70b4]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x47421e
lea eax, [ebp + 0x609c]
push eax
push 0
mov ecx, 0x51ef08
call fcn.00433e50
cmp byte [ebp + 0x709c], 0
je 0x47426e
push 8
push 0
push 0
lea ecx, [ebp + 0x70b4]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
test al, al
jne 0x474265
lea edx, [ebp + 0x70b4]
push edx
push 0x557
call fcn.00475570
push eax
call fcn.004ad030
add esp, 8
cmp byte [ebp + 0x709c], 0
jne 0x47427a
lea eax, [ebp + 0x70b4]
push eax
call fcn.00453740
cmp byte [0x532b51], 0
jne 0x4742a4
cmp word [ebp + 0x609c], 0
je 0x4742a4
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00460620
push eax
mov ecx, 0x53f4e8
call fcn.0044f9e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00417a80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00417a80
cmp byte [ebp - 0x19], 0
je 0x4742d8
mov edx, dword [0x532b4c]
push edx
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 + 0x963c]
xor ecx, ebp
call fcn.004c1302
add ebp, 0x9640
mov esp, ebp
pop ebp
ret