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

Disassembly:
push ebp
lea ebp, [esp - 0x96f8]
mov eax, 0x96f8
call fcn.004df840
push 0xffffffffffffffff
push 0x4f7775
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x50fb70]
xor eax, ebp
mov dword [ebp + 0x96f4], 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 + 0x6134]
push eax
call fcn.004e0730
add esp, 0xc
cmp byte [0x533389], 0
je 0x4987de
push 0x800
lea ecx, [ebp + 0x6134]
push ecx
mov ecx, 0x541e38
call fcn.004785d0
jmp 0x4988b9
lea ecx, [ebp + 0x9658]
call fcn.00467090
mov dword [ebp - 4], edi
push 1
lea edx, [ebp + 0x9658]
push edx
mov ecx, 0x53fd10
call fcn.0048f960
mov eax, dword [ebp + 0x966c]
cmp eax, edi
jne 0x498841
push 0x30
push 0x65
call fcn.004612b0
push eax
push 0x14c
call fcn.004612b0
push eax
mov eax, dword [0x5354dc]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x9658]
call fcn.0041cbb0
jmp 0x4998e6
cmp eax, 1
jne 0x498862
push edi
push 0x800
lea ecx, [ebp + 0x6134]
push ecx
lea ecx, [ebp + 0x9658]
call fcn.00467140
test al, al
jne 0x4988a7
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x53fd10
call fcn.0048be70
lea eax, [ebp + 0x404c]
push eax
call fcn.00451140
cmp word [eax], di
mov ecx, eax
jne 0x498890
mov ecx, str.report.
lea edx, [ebp + 0x6134]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x498896
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x9658]
call fcn.0041cbb0
cmp byte [0x533389], 0
mov eax, str.InterfaceReportArc
jne 0x4988cc
mov eax, str.InterfaceReportFile
push edi
push str.OutFormat
push eax
call fcn.00496890
test eax, eax
sete bl
mov dword [ebp + 0x7138], edi
test bl, bl
mov eax, 0x4fdf80
jne 0x4988f1
mov eax, 0x4fdf78
push 0x800
push eax
lea ecx, [ebp + 0x6134]
push ecx
call fcn.00451dc0
xor esi, esi
jmp 0x498910
lea edx, [ebp + 0x6134]
push edx
call fcn.00443510
test al, al
je 0x498995
cmp esi, edi
je 0x498936
push 0x800
push edi
lea eax, [ebp + 0x6134]
push eax
call fcn.00451dc0
push esi
push 0x4fe3bc
lea ecx, [ebp + 0x96e0]
push ecx
mov edx, 0xa
call fcn.00460180
add esp, 0xc
push 0x800
lea edx, [ebp + 0x96e0]
push edx
lea eax, [ebp + 0x6134]
push eax
call fcn.00451dc0
test bl, bl
mov eax, 0x4fdf80
jne 0x498976
mov eax, 0x4fdf78
push 0x800
push eax
lea ecx, [ebp + 0x6134]
push ecx
call fcn.00451dc0
inc esi
cmp esi, 0x3e8
jl 0x498910
lea edx, [ebp + 0x6134]
push edx
push 0x497df0
mov eax, dword [0x5354dc]
push eax
push str.REPORT
mov ecx, dword [0x5275b4]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4998e6
cmp dword [ebp + 0x7138], edi
sete bl
mov byte [ebp - 0x12], bl
push edi
push 0x800
lea edx, [ebp + 0x714c]
push edx
push str.Rar_RP
call fcn.004adfe0
test al, al
je 0x4998e6
push 0x800
lea eax, [ebp + 0x714c]
push eax
call fcn.00450c80
lea ecx, [ebp + 0x6134]
push ecx
call fcn.00451140
cmp word [eax], di
jne 0x498a1c
test bl, bl
mov eax, str.report.htm
jne 0x498a1c
mov eax, str.report.txt
push 0x800
push eax
lea edx, [ebp + 0x714c]
push edx
call fcn.00466ba0
push 0x4fe374
lea eax, [ebp + 0x714c]
push eax
call fcn.00443340
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x498a5e
lea ecx, [ebp + 0x714c]
push ecx
mov ecx, 0x5275b8
call fcn.0043dbf0
jmp 0x4998e6
push edi
push edi
push 0x4f9a98
push 0xa
call fcn.004b1810
mov byte [ebp - 0x19], al
push 0x556
call fcn.004612b0
push eax
call fcn.004af110
add esp, 4
mov ebx, 1
cmp dword [ebp + 0x7138], ebx
jne 0x498aa8
push esi
push 0xff
call fcn.004e4590
push esi
push 0xfe
call fcn.004e4590
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 [0x533389], al
jne 0x498ad8
cmp byte [ebp + 0x7142], al
mov byte [ebp - 0x34], al
jne 0x498adb
mov byte [ebp - 0x34], bl
lea ecx, [ebp - 0xd8]
call fcn.0048b970
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x160]
call fcn.0048b970
mov byte [ebp - 4], 2
cmp byte [0x533389], 0
je 0x498b3d
push 0x800
lea edx, [ebp + 0x404c]
push edx
mov ecx, 0x541e38
call fcn.004785d0
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.00498530
mov byte [ebp - 0x11], al
jmp 0x498e18
lea ecx, [ebp + 0x9658]
call fcn.00467090
mov byte [ebp - 4], 3
push ebx
lea ecx, [ebp + 0x9658]
push ecx
mov ecx, 0x53fd10
call fcn.0048f960
push ebx
push edi
push 3
lea edx, [ebp + 0x9658]
push edx
lea ecx, [ebp]
call fcn.00463740
mov byte [ebp - 4], 4
mov dword [ebp + 0x91fc], edi
mov dword [ebp + 0x9200], edi
mov dword [ebp + 0x9204], edi
mov dword [ebp + 0x9208], edi
mov dword [ebp + 0x920c], edi
mov dword [ebp + 0x9210], edi
mov ebx, 5
mov edi, dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [ebp + 0x81ec]
push eax
lea ecx, [ebp]
call fcn.00463ff0
test eax, eax
jne 0x498df5
cmp byte [0x535458], al
jne 0x498df5
call fcn.004932d0
cmp byte [ebp + 0x7142], 0
je 0x498d8a
push 0x10e8
push 0
lea ecx, [ebp + 0x504c]
push ecx
call fcn.004e0730
add esp, 0xc
xor eax, eax
jmp 0x498c00
movzx ecx, word [ebp + eax + 0x81ec]
mov word [ebp + eax + 0x504c], cx
add eax, 2
test cx, cx
jne 0x498c00
mov eax, dword [ebp + 0x91ec]
mov dword [ebp + 0x60d4], eax
mov ecx, dword [ebp + 0x91f0]
mov dword [ebp + 0x60d8], ecx
mov dword [ebp + 0x60cc], eax
mov dword [ebp + 0x60d0], ecx
cmp byte [ebp + 0x7146], 0
je 0x498c99
test dword [ebp + 0x91f4], 0x800
je 0x498c99
call fcn.00445f80
test eax, eax
je 0x498c99
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp + 0x81ec]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x498c78
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x498c99
push 1
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004e07b0
xor ecx, ecx
add eax, esi
adc edx, ecx
mov dword [ebp + 0x60d4], eax
mov dword [ebp + 0x60d8], edx
mov edx, dword [ebp + 0x91f4]
mov dword [ebp + 0x60e4], edx
lea eax, [ebp + 0x9224]
push eax
lea ecx, [ebp + 0x60dc]
call fcn.00467f40
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x6128], eax
inc eax
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x50]
mov ecx, dword [ebp + 0x60cc]
add dword [ebp - 0x48], ecx
mov edx, dword [ebp + 0x60d0]
adc dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x60d4]
add dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0x60d8]
adc dword [ebp - 0x3c], ecx
cmp byte [ebp + 0x7148], 0
je 0x498d72
mov edx, dword [ebp + 0x60e4]
push edx
call fcn.00442f70
test al, al
jne 0x498d72
lea ecx, [ebp + 0x4028]
call fcn.00441f10
mov byte [ebp - 4], bl
push 0
lea eax, [ebp + 0x81ec]
push eax
lea ecx, [ebp + 0x4028]
call fcn.00441f90
test al, al
je 0x498d63
mov byte [ebp - 4], 6
push 0
push SysReAllocString
push SysReAllocString
mov ecx, dword [0x54db20]
push ecx
lea edx, [ebp + 0x60f4]
push edx
push 0
lea eax, [ebp + 0x4028]
push eax
call fcn.00443d70
mov dword [ebp - 4], ebx
mov dword [ebp + 0x60f0], 2
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x4028]
call fcn.00442640
lea ecx, [ebp + 0x504c]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.0048b730
cmp byte [ebp - 0x54], 0
jne 0x498df1
cmp byte [0x535458], 0
jne 0x498df1
cmp byte [ebp + 0x7141], 0
je 0x498ba4
cmp byte [ebp + 0x91f8], 0
jne 0x498ba4
push 2
push 0
lea edx, [ebp + 0x81ec]
push edx
mov ecx, 0x541e38
call fcn.00479a60
cmp eax, 1
jne 0x498ba4
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp + 0x81ec]
push eax
call fcn.00498530
test al, al
jne 0x498ba4
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.004638c0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x9658]
test eax, eax
je 0x498e18
push eax
call fcn.004df66f
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x4998b2
lea ecx, [ebp - 0xd8]
call fcn.0048b890
lea ecx, [ebp - 0x160]
call fcn.0048b890
cmp dword [ebp + 0x713c], 6
je 0x498e6e
lea ecx, [ebp + 0x6134]
mov dword [0x560b18], ecx
push 0x4983b0
push 0x60
mov edx, dword [ebp - 0x6c]
push edx
push 0
lea ecx, [ebp - 0xd8]
call fcn.0048b930
push eax
call fcn.004e2ed0
add esp, 0x10
mov bl, byte [ebp - 0x12]
test bl, bl
je 0x498f15
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
call fcn.00468000
lea eax, [ebp + 0x96d0]
push eax
lea ecx, [ebp - 0x24]
call fcn.004680a0
mov ecx, dword [ebp + 0x96e0]
push ecx
mov edx, dword [ebp + 0x96dc]
push edx
mov eax, dword [ebp + 0x96d8]
push eax
mov ecx, dword [ebp + 0x96d4]
push ecx
mov edx, dword [ebp + 0x96d0]
push edx
push str._u__02u__02u__02u:_02u
lea eax, [ebp + 0x9650]
push eax
mov edx, 0x32
call fcn.00460180
add esp, 0x1c
lea ecx, [ebp + 0x9650]
push ecx
push 0x55b
call fcn.004612b0
push eax
lea edx, [ebp + 0x816c]
push edx
mov edx, 0x864
call fcn.00460180
lea eax, [ebp + 0x816c]
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 + 0x7138]
push ecx
mov esi, dword [ebp - 0x18]
call fcn.00497cd0
add esp, 0x18
mov edi, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x6c], eax
jbe 0x499301
lea esp, [esp]
push eax
lea edx, [ebp + 0x504c]
push edx
lea ecx, [ebp - 0xd8]
call fcn.0048ba60
cmp byte [ebp + 0x7143], 0
je 0x49903e
mov eax, dword [ebp + 0x612c]
cmp eax, dword [ebp - 0x20]
je 0x49903e
mov dword [ebp - 0x20], eax
test bl, bl
je 0x498f7c
push 0x4fe234
mov eax, dword [ebp + 0x7138]
push eax
mov esi, edi
call fcn.00497cd0
add esp, 8
push 0x4fe22c
mov ecx, dword [ebp + 0x7138]
push ecx
mov esi, edi
call fcn.00497cd0
add esp, 8
mov eax, dword [ebp + 0x612c]
test eax, eax
je 0x498ff2
dec eax
push eax
lea edx, [ebp + 0x814c]
push edx
lea ecx, [ebp - 0x160]
call fcn.0048ba60
push eax
push 0x28a
call fcn.004612b0
push eax
mov eax, dword [ebp + 0x7138]
push eax
call fcn.00497cd0
add esp, 0xc
jmp 0x49900e
push 0x558
call fcn.004612b0
push eax
mov ecx, dword [ebp + 0x7138]
push ecx
mov esi, edi
call fcn.00497cd0
add esp, 8
test bl, bl
je 0x499028
push str.__b_
mov edx, dword [ebp + 0x7138]
push edx
mov esi, edi
call fcn.00497cd0
add esp, 8
push 0x4faef0
mov eax, dword [ebp + 0x7138]
push eax
mov esi, edi
call fcn.00497cd0
add esp, 8
xor ecx, ecx
mov word [ebp + 0x1828], cx
mov edx, dword [ebp + 0x60e4]
push edx
call fcn.00442f70
mov bl, al
cmp byte [ebp + 0x7147], 0
je 0x4990dd
mov eax, dword [ebp + 0x60dc]
mov dword [ebp + 0x96ec], eax
mov ecx, dword [ebp + 0x60e0]
mov dword [ebp + 0x96f0], ecx
lea edx, [ebp + 0x9690]
push edx
lea ecx, [ebp + 0x96ec]
call fcn.004680a0
lea eax, [ebp + 0x1828]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499091
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0x96a0]
push ecx
mov edx, dword [ebp + 0x969c]
push edx
mov ecx, dword [ebp + 0x9698]
push ecx
mov edx, dword [ebp + 0x9694]
push edx
mov ecx, dword [ebp + 0x9690]
push ecx
push 0x4fe1ec
lea edx, [ebp + eax*2 + 0x1828]
push edx
mov edx, 0x1400
call fcn.00460180
add esp, 0x1c
cmp byte [ebp + 0x7145], 0
je 0x49917c
mov eax, dword [ebp + 0x60cc]
cmp eax, 0x7fffffff
jne 0x49911a
cmp dword [ebp + 0x60d0], eax
jne 0x49911a
xor eax, eax
movzx ecx, word [eax + 0x4fdaf4]
mov word [ebp + eax + 0x9678], cx
add eax, 2
test cx, cx
jne 0x499101
jmp 0x499133
push 0xa
lea ecx, [ebp + 0x9678]
push ecx
mov edx, dword [ebp + 0x60d0]
push edx
push eax
call fcn.004e4acb
add esp, 0x10
test bl, bl
je 0x499143
push 0x573
call fcn.004612b0
jmp 0x499149
lea eax, [ebp + 0x9678]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x499152
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.00460180
add esp, 0xc
cmp byte [ebp + 0x7146], 0
je 0x49921b
mov eax, dword [ebp + 0x60d4]
cmp eax, 0x7fffffff
jne 0x4991b9
cmp dword [ebp + 0x60d8], eax
jne 0x4991b9
xor eax, eax
movzx ecx, word [eax + 0x4fdaf4]
mov word [ebp + eax + 0x9678], cx
add eax, 2
test cx, cx
jne 0x4991a0
jmp 0x4991d2
push 0xa
lea ecx, [ebp + 0x9678]
push ecx
mov edx, dword [ebp + 0x60d8]
push edx
push eax
call fcn.004e4acb
add esp, 0x10
test bl, bl
je 0x4991e2
push 0x573
call fcn.004612b0
jmp 0x4991e8
lea eax, [ebp + 0x9678]
lea ecx, [ebp + 0x1828]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4991f1
sub ecx, esi
sar ecx, 1
push eax
push str._12s
lea eax, [ebp + ecx*2 + 0x1828]
push eax
mov edx, 0x1400
call fcn.00460180
add esp, 0xc
cmp byte [ebp + 0x7148], 0
je 0x4992b9
mov eax, dword [ebp + 0x60f0]
cmp eax, 3
jne 0x49924e
push 0x41
lea ecx, [ebp + 0x9634]
push ecx
push 0
push 0x20
lea edx, [ebp + 0x60f4]
push edx
call fcn.00466980
jmp 0x49928b
cmp eax, 1
je 0x499263
cmp eax, 2
je 0x49926a
xor eax, eax
mov word [ebp + 0x9634], ax
jmp 0x49928b
mov eax, str._04X
jmp 0x49926f
mov eax, str._08X
mov ecx, dword [ebp + 0x60f4]
push ecx
push eax
lea edx, [ebp + 0x9634]
push edx
mov edx, 0x41
call fcn.00460180
add esp, 0xc
push 0x1400
lea eax, [ebp + 0x9634]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.00466ba0
push 0x1400
push 0x4fe1d4
lea edx, [ebp + 0x1828]
push edx
call fcn.00466ba0
push 0x1400
lea eax, [ebp + 0x504c]
push eax
lea ecx, [ebp + 0x1828]
push ecx
call fcn.00466ba0
lea edx, [ebp + 0x1828]
push edx
push str._s_r_n
mov eax, dword [ebp + 0x7138]
push eax
mov esi, edi
call fcn.00497cd0
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 0x498f30
cmp byte [ebp + 0x7144], 0
je 0x4996d2
push 0xa
lea ecx, [ebp + 0x9678]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004e4acb
push 0xa
lea ecx, [ebp + 0x96b8]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.004e4acb
add esp, 0x20
test bl, bl
je 0x499357
push 0x4fe234
mov ecx, dword [ebp + 0x7138]
push ecx
mov esi, edi
call fcn.00497cd0
add esp, 8
push 0x4fe1c0
mov edx, dword [ebp + 0x7138]
push edx
mov esi, edi
call fcn.00497cd0
add esp, 8
xor eax, eax
mov word [ebp + 0x9234], ax
xor ecx, ecx
mov word [ebp + 0x9434], cx
cmp byte [ebp + 0x7147], al
je 0x4993fe
lea eax, [ebp + 0x9434]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499390
sub eax, edx
sar eax, 1
mov esi, eax
push 0x1aa
call fcn.004612b0
push eax
push str.___14s
lea edx, [ebp + esi*2 + 0x9434]
push edx
mov edx, 0x100
call fcn.00460180
add esp, 0xc
lea eax, [ebp + 0x9234]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4993d0
sub eax, edx
sar eax, 1
push 0x4f9a98
push str.___14s
lea eax, [ebp + eax*2 + 0x9234]
push eax
mov edx, 0x100
call fcn.00460180
add esp, 0xc
cmp byte [ebp + 0x7145], 0
je 0x499480
lea eax, [ebp + 0x9434]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499410
sub eax, edx
sar eax, 1
mov esi, eax
push 0x6f
call fcn.004612b0
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x9434]
push ecx
mov edx, 0x100
call fcn.00460180
add esp, 0xc
lea eax, [ebp + 0x9234]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499450
sub eax, edx
sar eax, 1
lea edx, [ebp + 0x9678]
push edx
push str._12s
lea eax, [ebp + eax*2 + 0x9234]
push eax
mov edx, 0x100
call fcn.00460180
add esp, 0xc
cmp byte [ebp + 0x7146], 0
je 0x499500
lea eax, [ebp + 0x9434]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499492
sub eax, edx
sar eax, 1
mov esi, eax
push 0x71
call fcn.004612b0
push eax
push str._12s
lea ecx, [ebp + esi*2 + 0x9434]
push ecx
mov edx, 0x100
call fcn.00460180
add esp, 0xc
lea eax, [ebp + 0x9234]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4994d0
sub eax, edx
sar eax, 1
lea edx, [ebp + 0x96b8]
push edx
push str._12s
lea eax, [ebp + eax*2 + 0x9234]
push eax
mov edx, 0x100
call fcn.00460180
add esp, 0xc
cmp byte [ebp + 0x7148], 0
je 0x499590
lea eax, [ebp + 0x9434]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x499516
mov edx, dword [0x4fe194]
mov dword [eax], edx
mov esi, dword [0x4fe198]
mov dword [eax + 4], esi
mov edi, dword [0x4fe19c]
mov dword [eax + 8], edi
mov ebx, dword [0x4fe1a0]
mov dword [eax + 0xc], ebx
mov ecx, dword [0x4fe1a4]
mov dword [eax + 0x10], ecx
mov cx, word [0x4fe1a8]
mov word [eax + 0x14], cx
lea eax, [ebp + 0x9234]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x499562
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov edx, dword [0x4fe1a4]
mov dword [eax + 0x10], edx
mov cx, word [0x4fe1a8]
mov word [eax + 0x14], cx
mov bl, byte [ebp - 0x12]
cmp word [ebp + 0x9434], 0
jne 0x4995d7
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4fe18c]
mov word [ebp + eax + 0x9434], cx
add eax, 2
test cx, cx
jne 0x4995a0
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x4fe18c]
mov word [ebp + eax + 0x9234], cx
add eax, 2
test cx, cx
jne 0x4995c0
push 0x559
call fcn.004612b0
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4995e3
sub eax, edx
lea edi, [ebp + 0x9434]
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x499600
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 + 0x9234]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499625
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x50]
push edx
push 0x4fc564
lea eax, [ebp + eax*2 + 0x9234]
push eax
mov edx, 0x100
call fcn.00460180
add esp, 0xc
mov eax, 0x20
cmp word [ebp + 0x9434], ax
jne 0x499675
cmp word [ebp + 0x9436], ax
jne 0x499675
mov ecx, 0x23
mov word [ebp + 0x9434], cx
cmp word [ebp + 0x9234], ax
jne 0x499693
cmp word [ebp + 0x9236], ax
jne 0x499693
mov edx, 0x23
mov word [ebp + 0x9234], dx
lea eax, [ebp + 0x9234]
push eax
lea ecx, [ebp + 0x9434]
push ecx
push str._s_r_n_s_r_n
mov edx, dword [ebp + 0x7138]
push edx
mov esi, dword [ebp - 0x18]
call fcn.00497cd0
add esp, 0x10
test bl, bl
je 0x4996ec
push str.__b_
mov eax, dword [ebp + 0x7138]
push eax
call fcn.00497cd0
add esp, 8
mov edi, esi
test bl, bl
je 0x4996ec
push str.__pre__r_n__body__r_n__html__r_n
mov ecx, dword [ebp + 0x7138]
push ecx
mov esi, edi
call fcn.00497cd0
add esp, 8
cmp byte [ebp + 0x7135], 0
je 0x4997e4
mov esi, dword [ebp - 0x18]
push esi
call fcn.004e49f0
push esi
call fcn.004e8d31
push eax
call fcn.004f2ae8
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x4997e4
mov bl, 9
mov byte [ebp - 4], bl
lea edx, [esi + 2]
push edx
lea ecx, [ebp + 0x96e4]
call fcn.00401c80
mov byte [ebp - 4], 0xa
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e1268
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push esi
push 1
mov edi, dword [ebp + 0x96e4]
push edi
call fcn.004e11c1
add esp, 0x10
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
mov eax, dword [ebp + 0x7138]
sub eax, 0
je 0x4997a3
sub eax, 1
je 0x49979b
sub eax, 1
jne 0x4997d6
mov edx, dword [ebp + 0x96e8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00429d60
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
push eax
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00469b00
jmp 0x4997c4
push edi
call fcn.00492ce0
jmp 0x4997d6
mov ecx, dword [ebp + 0x96e8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00429d60
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x28]
push edx
mov esi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00469d60
push esi
call fcn.00492ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00401410
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x96e4]
call fcn.00401410
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e0da1
add esp, 4
cmp word [ebp + 0x6134], 0
je 0x49982c
push 0
lea ecx, [ebp + 0x6134]
push ecx
lea edx, [ebp + 0x714c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x49982c
lea eax, [ebp + 0x6134]
push eax
mov ecx, 0x5275b8
call fcn.0043dbf0
cmp byte [ebp + 0x7134], 0
je 0x49987c
push 8
push 0
push 0
lea ecx, [ebp + 0x714c]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta al
test al, al
jne 0x499873
lea edx, [ebp + 0x714c]
push edx
push 0x557
call fcn.004612b0
push eax
call fcn.004bc000
add esp, 8
cmp byte [ebp + 0x7134], 0
jne 0x499888
lea eax, [ebp + 0x714c]
push eax
call fcn.00493300
cmp byte [0x533389], 0
jne 0x4998b2
cmp word [ebp + 0x6134], 0
je 0x4998b2
lea ecx, [ebp + 0x6134]
push ecx
call fcn.00451140
push eax
mov ecx, 0x53fd10
call fcn.00490780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00478d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00478d20
cmp byte [ebp - 0x19], 0
je 0x4998e6
mov edx, dword [0x533384]
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 + 0x96f4]
xor ecx, ebp
call fcn.004df824
add ebp, 0x96f8
mov esp, ebp
pop ebp
ret