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

Disassembly:
push ebp
lea ebp, [esp - 0x9640]
mov eax, 0x9640
call fcn.004c1c40
push 0xffffffffffffffff
push 0x4d5d45
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4ec0b4]
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.004c2670
add esp, 0xc
cmp byte [0x533b59], 0
je 0x47390e
push 0x800
lea ecx, [ebp + 0x609c]
push ecx
mov ecx, 0x542618
call fcn.004153c0
jmp 0x4739e9
lea ecx, [ebp + 0x95a0]
call fcn.00480330
mov dword [ebp - 4], edi
push 1
lea edx, [ebp + 0x95a0]
push edx
mov ecx, 0x5404f0
call fcn.0044da00
mov eax, dword [ebp + 0x95b4]
cmp eax, edi
jne 0x473971
push 0x30
push 0x65
call fcn.00475cc0
push eax
push 0x14c
call fcn.00475cc0
push eax
mov eax, dword [0x535cac]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x95a0]
call fcn.00401b50
jmp 0x474a18
cmp eax, 1
jne 0x473992
push edi
push 0x800
lea ecx, [ebp + 0x609c]
push ecx
lea ecx, [ebp + 0x95a0]
call fcn.004803e0
test al, al
jne 0x4739d7
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x5404f0
call fcn.0044c5c0
lea eax, [ebp + 0x404c]
push eax
call fcn.00460c50
cmp word [eax], di
mov ecx, eax
jne 0x4739c0
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 0x4739c6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x95a0]
call fcn.00401b50
cmp byte [0x533b59], 0
mov eax, str.InterfaceReportArc
jne 0x4739fc
mov eax, str.InterfaceReportFile
push edi
push str.OutFormat
push eax
call fcn.0046cee0
test eax, eax
sete bl
mov dword [ebp + 0x70a0], edi
test bl, bl
mov eax, 0x4dc388
jne 0x473a21
mov eax, 0x4dc380
push eax
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00462140
xor esi, esi
lea edx, [ebp + 0x609c]
push edx
call fcn.0043d340
test al, al
je 0x473aa2
cmp esi, edi
je 0x473a51
push edi
lea eax, [ebp + 0x609c]
push eax
call fcn.00462140
push esi
push 0x4dc7c4
lea ecx, [ebp + 0x9628]
push ecx
mov edx, 0xa
call fcn.00407810
add esp, 0xc
lea edx, [ebp + 0x9628]
push edx
lea eax, [ebp + 0x609c]
push eax
call fcn.00462140
test bl, bl
mov eax, 0x4dc388
jne 0x473a8c
mov eax, 0x4dc380
push eax
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00462140
inc esi
cmp esi, 0x3e8
jl 0x473a30
lea edx, [ebp + 0x609c]
push edx
push 0x473180
mov eax, dword [0x535cac]
push eax
push str.REPORT
mov ecx, dword [0x51ff0c]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x474a18
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.0049fbc0
test al, al
je 0x474a18
push 0x800
lea eax, [ebp + 0x70b4]
push eax
call fcn.004607d0
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00460c50
cmp word [eax], di
jne 0x473b29
test bl, bl
mov eax, str.report.htm
jne 0x473b29
mov eax, str.report.txt
push 0x800
push eax
lea edx, [ebp + 0x70b4]
push edx
call fcn.0047fc20
push 0x4dc77c
lea eax, [ebp + 0x70b4]
push eax
call fcn.0043d170
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x473b6c
lea ecx, [ebp + 0x70b4]
push ecx
push edi
mov ecx, 0x51ff10
call fcn.00434330
jmp 0x474a18
push edi
push edi
push 0x4d89fc
push 0xa
call fcn.004a30d0
mov byte [ebp - 0x19], al
push 0x556
call fcn.00475cc0
push eax
call fcn.004a09e0
add esp, 4
mov ebx, 1
cmp dword [ebp + 0x70a0], ebx
jne 0x473bb6
push esi
push 0xff
call fcn.004c4882
push esi
push 0xfe
call fcn.004c4882
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 [0x533b59], al
jne 0x473be6
cmp byte [ebp + 0x70aa], al
mov byte [ebp - 0x34], al
jne 0x473be9
mov byte [ebp - 0x34], bl
lea ecx, [ebp - 0xd8]
call fcn.0044bfe0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x160]
call fcn.0044bfe0
mov byte [ebp - 4], 2
cmp byte [0x533b59], 0
je 0x473c4b
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x542618
call fcn.004153c0
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.00473740
mov byte [ebp - 0x11], al
jmp 0x473f23
lea ecx, [ebp + 0x95a0]
call fcn.00480330
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp + 0x95a0]
push ecx
mov ecx, 0x5404f0
call fcn.0044da00
push ebx
push edi
push 3
lea edx, [ebp + 0x95a0]
push edx
lea ecx, [ebp]
call fcn.004786e0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x6064]
call fcn.00482f00
lea ecx, [ebp + 0x606c]
call fcn.00482f00
lea ecx, [ebp + 0x6074]
call fcn.00482f00
mov ebx, 5
mov edi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [ebp + 0x5054]
push eax
lea ecx, [ebp]
call fcn.00478f80
test eax, eax
jne 0x473f00
cmp byte [0x535c28], al
jne 0x473f00
call fcn.00453df0
cmp byte [ebp + 0x70aa], 0
je 0x473e95
push 0x1050
push 0
lea ecx, [ebp + 0x812c]
push ecx
call fcn.004c2670
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 0x473d00
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 0x473da6
test dword [ebp + 0x605c], 0x800
je 0x473da6
call fcn.0044ba30
test eax, eax
je 0x473d9a
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp + 0x5054]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x473d77
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x473d9a
push 1
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004c2390
xor ecx, ecx
add eax, esi
mov dword [ebp + 0x9134], eax
adc edx, ecx
mov dword [ebp + 0x9138], edx
jmp 0x473da6
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 0x473e7d
mov edx, dword [ebp + 0x605c]
push edx
call fcn.0043cc00
test al, al
jne 0x473e7d
lea ecx, [ebp + 0x4028]
call fcn.0043ba40
mov byte [ebp - 4], bl
push 0
lea eax, [ebp + 0x5054]
push eax
lea ecx, [ebp + 0x4028]
call fcn.0043ba80
test al, al
je 0x473e6e
mov byte [ebp - 4], 6
push 0
push 0x7fffffff
push 0x7fffffff
mov ecx, dword [0x54e410]
push ecx
lea edx, [ebp + 0x9150]
push edx
push 0
lea eax, [ebp + 0x4028]
push eax
call fcn.0043dd30
mov dword [ebp - 4], ebx
mov dword [ebp + 0x914c], 2
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x4028]
call fcn.0043c140
lea ecx, [ebp + 0x812c]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.0044bc10
cmp byte [ebp - 0x54], 0
jne 0x473efc
cmp byte [0x535c28], 0
jne 0x473efc
cmp byte [ebp + 0x70a9], 0
je 0x473caf
cmp byte [ebp + 0x6060], 0
jne 0x473caf
push 2
push 0
lea edx, [ebp + 0x5054]
push edx
mov ecx, 0x542618
call fcn.00418a80
cmp eax, 1
jne 0x473caf
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.00473740
test al, al
jne 0x473caf
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00478950
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x95a0]
test eax, eax
je 0x473f23
push eax
call fcn.004c23c4
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x4749e4
lea ecx, [ebp - 0xd8]
call fcn.0044bf00
lea ecx, [ebp - 0x160]
call fcn.0044bf00
cmp dword [ebp + 0x70a4], 6
je 0x473f79
lea ecx, [ebp + 0x609c]
mov dword [0x562440], ecx
push 0x472e40
push 0x58
mov edx, dword [ebp - 0x6c]
push edx
push 0
lea ecx, [ebp - 0xd8]
call fcn.0044bfa0
push eax
call fcn.004c27c0
add esp, 0x10
mov bl, byte [ebp - 0x12]
test bl, bl
je 0x474049
lea ecx, [ebp - 0x24]
call fcn.00482f00
lea ecx, [ebp - 0x24]
call fcn.00482e50
lea eax, [ebp + 0x9618]
push eax
lea ecx, [ebp - 0x24]
call fcn.00482f10
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.00407810
add esp, 0x1c
lea ecx, [ebp + 0x9598]
push ecx
push 0x55b
call fcn.00475cc0
push eax
lea edx, [ebp + 0x80b4]
push edx
mov edx, 0x864
call fcn.00407810
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.00472fa0
add esp, 0x18
jmp 0x47404c
mov edi, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x6c], eax
jbe 0x474421
lea ecx, [ecx]
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp + 0x812c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0044bde0
cmp byte [ebp + 0x70ab], 0
je 0x47414c
mov eax, dword [ebp + 0x9178]
cmp eax, dword [ebp - 0x20]
je 0x47414c
mov dword [ebp - 0x20], eax
test bl, bl
je 0x4740af
push 0x4dc63c
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472fa0
add esp, 8
push 0x4dc634
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472fa0
add esp, 8
mov eax, dword [ebp + 0x9178]
test eax, eax
je 0x474100
dec eax
push eax
lea eax, [ebp + 0x504c]
push eax
lea ecx, [ebp - 0x160]
call fcn.0044bde0
push eax
push 0x28a
call fcn.00475cc0
push eax
mov ecx, dword [ebp + 0x70a0]
push ecx
call fcn.00472fa0
add esp, 0xc
jmp 0x47411c
push 0x558
call fcn.00475cc0
push eax
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472fa0
add esp, 8
test bl, bl
je 0x474136
push str.__b_
mov eax, dword [ebp + 0x70a0]
push eax
mov esi, edi
call fcn.00472fa0
add esp, 8
push 0x4d9194
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472fa0
add esp, 8
xor edx, edx
mov word [ebp + 0x1828], dx
mov eax, dword [ebp + 0x913c]
push eax
call fcn.0043cc00
mov bl, al
cmp byte [ebp + 0x70af], 0
je 0x4741fc
lea ecx, [ebp + 0x9634]
call fcn.00482f00
lea ecx, [ebp + 0x9140]
push ecx
lea ecx, [ebp + 0x9634]
call fcn.00482da0
lea edx, [ebp + 0x95d8]
push edx
lea ecx, [ebp + 0x9634]
call fcn.00482f10
lea eax, [ebp + 0x1828]
lea edx, [eax + 2]
jmp 0x4741b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4741b0
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 0x4dc5f4
lea edx, [ebp + eax*2 + 0x1828]
push edx
mov edx, 0x1400
call fcn.00407810
add esp, 0x1c
cmp byte [ebp + 0x70ad], 0
je 0x47429b
mov eax, dword [ebp + 0x912c]
cmp eax, 0x7fffffff
jne 0x474239
cmp dword [ebp + 0x9130], eax
jne 0x474239
xor eax, eax
movzx ecx, word [eax + 0x4dbcdc]
mov word [ebp + eax + 0x95c0], cx
add eax, 2
test cx, cx
jne 0x474220
jmp 0x474252
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp + 0x9130]
push edx
push eax
call fcn.004c5f9a
add esp, 0x10
test bl, bl
je 0x474262
push 0x573
call fcn.00475cc0
jmp 0x474268
lea eax, [ebp + 0x95c0]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x474271
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.00407810
add esp, 0xc
cmp byte [ebp + 0x70ae], 0
je 0x47433b
mov eax, dword [ebp + 0x9134]
cmp eax, 0x7fffffff
jne 0x4742d9
cmp dword [ebp + 0x9138], eax
jne 0x4742d9
xor eax, eax
nop
movzx ecx, word [eax + 0x4dbcdc]
mov word [ebp + eax + 0x95c0], cx
add eax, 2
test cx, cx
jne 0x4742c0
jmp 0x4742f2
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp + 0x9138]
push edx
push eax
call fcn.004c5f9a
add esp, 0x10
test bl, bl
je 0x474302
push 0x573
call fcn.00475cc0
jmp 0x474308
lea eax, [ebp + 0x95c0]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x474311
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.00407810
add esp, 0xc
cmp byte [ebp + 0x70b0], 0
je 0x4743d9
mov eax, dword [ebp + 0x914c]
cmp eax, 3
jne 0x47436e
push 0x41
lea ecx, [ebp + 0x957c]
push ecx
push 0
push 0x20
lea edx, [ebp + 0x9150]
push edx
call fcn.0047fa40
jmp 0x4743ab
cmp eax, 1
je 0x474383
cmp eax, 2
je 0x47438a
xor eax, eax
mov word [ebp + 0x957c], ax
jmp 0x4743ab
mov eax, str._04X
jmp 0x47438f
mov eax, str._08X
mov ecx, dword [ebp + 0x9150]
push ecx
push eax
lea edx, [ebp + 0x957c]
push edx
mov edx, 0x41
call fcn.00407810
add esp, 0xc
push 0x1400
lea eax, [ebp + 0x957c]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.0047fc20
push 0x1400
push 0x4dc5dc
lea edx, [ebp + 0x1828]
push edx
call fcn.0047fc20
push 0x1400
lea eax, [ebp + 0x812c]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.0047fc20
lea edx, [ebp + 0x1828]
push edx
push str._s_r_n
mov eax, dword [ebp + 0x70a0]
push eax
mov esi, edi
call fcn.00472fa0
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 0x474060
cmp byte [ebp + 0x70ac], 0
je 0x474802
push 0xa
lea ecx, [ebp + 0x95c0]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004c5f9a
push 0xa
lea ecx, [ebp + 0x9600]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.004c5f9a
add esp, 0x20
test bl, bl
je 0x474477
push 0x4dc63c
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472fa0
add esp, 8
push 0x4dc5c8
mov edx, dword [ebp + 0x70a0]
push edx
mov esi, edi
call fcn.00472fa0
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 0x474521
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4744b4
sub eax, edx
sar eax, 1
mov esi, eax
push 0x1aa
call fcn.00475cc0
push eax
push str.___14s
lea edx, [ebp + esi*2 + 0x937c]
push edx
mov edx, 0x100
call fcn.00407810
add esp, 0xc
lea eax, [ebp + 0x917c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4744f3
sub eax, edx
sar eax, 1
push 0x4d89fc
push str.___14s
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.00407810
add esp, 0xc
cmp byte [ebp + 0x70ad], 0
je 0x4745a3
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474537
sub eax, edx
sar eax, 1
mov esi, eax
push 0x6f
call fcn.00475cc0
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x937c]
push ecx
mov edx, 0x100
call fcn.00407810
add esp, 0xc
lea eax, [ebp + 0x917c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474573
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.00407810
add esp, 0xc
cmp byte [ebp + 0x70ae], 0
je 0x474630
lea eax, [ebp + 0x937c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4745c0
sub eax, edx
sar eax, 1
mov esi, eax
push 0x71
call fcn.00475cc0
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x937c]
push ecx
mov edx, 0x100
call fcn.00407810
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 0x474600
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.00407810
add esp, 0xc
cmp byte [ebp + 0x70b0], 0
je 0x4746c0
lea eax, [ebp + 0x937c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x474646
mov edx, dword [0x4dc59c]
mov dword [eax], edx
mov esi, dword [0x4dc5a0]
mov dword [eax + 4], esi
mov edi, dword [0x4dc5a4]
mov dword [eax + 8], edi
mov ebx, dword [0x4dc5a8]
mov dword [eax + 0xc], ebx
mov ecx, dword [0x4dc5ac]
mov dword [eax + 0x10], ecx
mov cx, word [0x4dc5b0]
mov word [eax + 0x14], cx
lea eax, [ebp + 0x917c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x474692
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [0x4dc5ac]
mov dword [eax + 0x10], edx
mov cx, word [0x4dc5b0]
mov word [eax + 0x14], cx
mov bl, byte [ebp - 0x12]
cmp word [ebp + 0x937c], 0
jne 0x474707
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4dc594]
mov word [ebp + eax + 0x937c], cx
add eax, 2
test cx, cx
jne 0x4746d0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4dc594]
mov word [ebp + eax + 0x917c], cx
add eax, 2
test cx, cx
jne 0x4746f0
push 0x559
call fcn.00475cc0
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474713
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 0x474730
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 0x474755
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x50]
push edx
push 0x4da4f8
lea eax, [ebp + eax*2 + 0x917c]
push eax
mov edx, 0x100
call fcn.00407810
add esp, 0xc
mov eax, 0x20
cmp word [ebp + 0x937c], ax
jne 0x4747a5
cmp word [ebp + 0x937e], ax
jne 0x4747a5
mov ecx, 0x23
mov word [ebp + 0x937c], cx
cmp word [ebp + 0x917c], ax
jne 0x4747c3
cmp word [ebp + 0x917e], ax
jne 0x4747c3
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.00472fa0
add esp, 0x10
test bl, bl
je 0x47481c
push str.__b_
mov eax, dword [ebp + 0x70a0]
push eax
call fcn.00472fa0
add esp, 8
mov edi, esi
test bl, bl
je 0x47481c
push str.__pre__r_n__body__r_n__html__r_n
mov ecx, dword [ebp + 0x70a0]
push ecx
mov esi, edi
call fcn.00472fa0
add esp, 8
cmp byte [ebp + 0x709d], 0
je 0x474914
mov esi, dword [ebp - 0x18]
push esi
call fcn.004c5ebf
push esi
call fcn.004cc119
push eax
call fcn.004d26e8
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x474914
mov bl, 9
mov byte [ebp - 4], bl
lea edx, [esi + 2]
push edx
lea ecx, [ebp + 0x962c]
call fcn.00402120
mov byte [ebp - 4], 0xa
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c59b1
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push esi
push 1
mov edi, dword [ebp + 0x962c]
push edi
call fcn.004c5285
add esp, 0x10
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebp + 0x70a0]
sub eax, 0
je 0x4748d3
sub eax, 1
je 0x4748cb
sub eax, 1
jne 0x474906
mov edx, dword [ebp + 0x9630]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040c530
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
push eax
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00487280
jmp 0x4748f4
push edi
call fcn.00453800
jmp 0x474906
mov ecx, dword [ebp + 0x9630]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040c530
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
push edx
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.004874e0
push esi
call fcn.00453800
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.0041ec70
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x962c]
call fcn.0041ec70
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c4622
add esp, 4
cmp word [ebp + 0x609c], 0
je 0x47495e
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 0x47495e
lea eax, [ebp + 0x609c]
push eax
push 0
mov ecx, 0x51ff10
call fcn.00434330
cmp byte [ebp + 0x709c], 0
je 0x4749ae
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 0x4749a5
lea edx, [ebp + 0x70b4]
push edx
push 0x557
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 8
cmp byte [ebp + 0x709c], 0
jne 0x4749ba
lea eax, [ebp + 0x70b4]
push eax
call fcn.00453e20
cmp byte [0x533b59], 0
jne 0x4749e4
cmp word [ebp + 0x609c], 0
je 0x4749e4
lea ecx, [ebp + 0x609c]
push ecx
call fcn.00460c50
push eax
mov ecx, 0x5404f0
call fcn.00450010
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00417bc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00417bc0
cmp byte [ebp - 0x19], 0
je 0x474a18
mov edx, dword [0x533b54]
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.004c1c22
add ebp, 0x9640
mov esp, ebp
pop ebp
ret